Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 92.23 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.831/1.831, allocations: 292.7 MB / 0.5499 GB, free: 14.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005619/0.0005622, allocations: 13.16 kB / 0.6738 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2909, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002578/0.2935, allocations: 1.247 MB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.2953, allocations: 0.7493 MB / 0.7893 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.134e-05/0.2954, allocations: 4 kB / 0.7893 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.2954, allocations: 7.938 kB / 0.7894 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.2956, allocations: 11.86 kB / 0.7894 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006627/0.2963, allocations: 99.77 kB / 0.7895 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000189/0.2965, allocations: 91.62 kB / 0.7896 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2966, allocations: 11.98 kB / 0.7896 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.2967, allocations: 39.86 kB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.938e-05/0.2968, allocations: 51.75 kB / 0.7896 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.2968, allocations: 4 kB / 0.7897 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.2971, allocations: 79.91 kB / 0.7897 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.492e-05/0.2971, allocations: 19.92 kB / 0.7897 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.2972, allocations: 41.64 kB / 0.7898 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.2974, allocations: 112 kB / 0.7899 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2975, allocations: 0 / 0.7899 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.205e-06/0.2975, allocations: 4 kB / 0.7899 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.2975, allocations: 3.938 kB / 0.7899 GB, free: 9.223 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009427/0.2984, allocations: 496.1 kB / 0.7904 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.2985, allocations: 12.03 kB / 0.7904 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.606e-05/0.2986, allocations: 34.56 kB / 0.7904 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/0.2986, allocations: 7.906 kB / 0.7904 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.2989, allocations: 182.9 kB / 0.7906 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.2989, allocations: 15.94 kB / 0.7906 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.2989, allocations: 4 kB / 0.7906 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.2992, allocations: 77.64 kB / 0.7907 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2992, allocations: 0 / 0.7907 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.2992, allocations: 0 / 0.7907 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2993, allocations: 3.938 kB / 0.7907 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.2994, allocations: 59.91 kB / 0.7908 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007719/0.3002, allocations: 344.6 kB / 0.7911 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.3005, allocations: 82.66 kB / 0.7912 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.575e-05/0.3006, allocations: 40.84 kB / 0.7912 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3006, allocations: 4 kB / 0.7912 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/0.3009, allocations: 99.39 kB / 0.7913 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.3009, allocations: 0 / 0.7913 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004634/0.3014, allocations: 193.3 kB / 0.7915 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.3015, allocations: 51.41 kB / 0.7915 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.3016, allocations: 140.6 kB / 0.7917 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.3016, allocations: 29.7 kB / 0.7917 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3017, allocations: 104 kB / 0.7918 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.3018, allocations: 23.7 kB / 0.7918 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-06/0.3018, allocations: 0 / 0.7918 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3019, allocations: 326.8 kB / 0.7921 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.308e-05/0.302, allocations: 39.91 kB / 0.7922 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.3022, allocations: 68.03 kB / 0.7922 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.3023, allocations: 43.97 kB / 0.7923 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.3023, allocations: 4 kB / 0.7923 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002651/0.3026, allocations: 137.4 kB / 0.7924 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.3026, allocations: 7.953 kB / 0.7924 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3026, allocations: 0 / 0.7924 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3026, allocations: 4 kB / 0.7924 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3027, allocations: 24.02 kB / 0.7924 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3028, allocations: 11.92 kB / 0.7925 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.953e-05/0.3029, allocations: 11.91 kB / 0.7925 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.3029, allocations: 15.98 kB / 0.7925 GB, free: 6.316 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.913e-05/0.303, allocations: 114.5 kB / 0.7926 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.303, allocations: 11.84 kB / 0.7926 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003599/0.3034, allocations: 182.3 kB / 0.7928 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3034, allocations: 0 / 0.7928 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3034, allocations: 0 / 0.7928 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3034, allocations: 0 / 0.7928 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007498/0.3042, allocations: 482.2 kB / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3042, allocations: 0 / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.05e-05/0.3043, allocations: 15.98 kB / 0.7933 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3043, allocations: 0 / 0.7933 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.3043, allocations: 4 kB / 0.7933 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.3043, allocations: 7.938 kB / 0.7933 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3043, allocations: 0 / 0.7933 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.3047, allocations: 258.5 kB / 0.7935 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.3047, allocations: 92.88 kB / 0.7936 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.3048, allocations: 0 / 0.7936 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3049, allocations: 11.98 kB / 0.7936 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.3049, allocations: 15.98 kB / 0.7936 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.305, allocations: 4 kB / 0.7936 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.145e-05/0.3051, allocations: 111.2 kB / 0.7937 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3051, allocations: 0 / 0.7937 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003329/0.3054, allocations: 40 kB / 0.7938 GB, free: 4.887 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009656/0.3064, allocations: 0.8597 MB / 0.7946 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.3067, allocations: 95.89 kB / 0.7947 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3067, allocations: 0 / 0.7947 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3068, allocations: 56.11 kB / 0.7948 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.3072, allocations: 16.42 kB / 0.7948 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.3087, allocations: 0.7617 MB / 0.7955 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.3091, allocations: 0.7002 MB / 0.7962 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.753e-05/0.3092, allocations: 8.547 kB / 0.7962 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.729e-05/0.3093, allocations: 39.42 kB / 0.7962 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.3093, allocations: 0 / 0.7962 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.3254, allocations: 3.065 MB / 0.7992 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.3256, allocations: 239 kB / 0.7995 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.243, allocations: 3.797 kB / 0.7995 GB, free: 15.11 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) Environment - environmentSimulation: