Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.166/2.166, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 178.7 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.794/1.794, allocations: 223.2 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009846/0.0009843, allocations: 94.84 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003833, allocations: 6.906 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3583, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.5584, allocations: 151.3 MB / 1.371 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.5587, allocations: 87.94 kB / 1.371 GB, free: 10.67 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009839/0.5686, allocations: 3.111 MB / 1.374 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5686, allocations: 0 / 1.374 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.946e-06/0.5686, allocations: 4 kB / 1.374 GB, free: 7.551 MB / 0.8698 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.0005629/0.5692, allocations: 454.4 kB / 1.374 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.5693, allocations: 11.97 kB / 1.374 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.5693, allocations: 15.84 kB / 1.374 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.5695, allocations: 178.9 kB / 1.374 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.5695, allocations: 8 kB / 1.374 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.5696, allocations: 4 kB / 1.374 GB, free: 6.793 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.5698, allocations: 93.56 kB / 1.374 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.5698, allocations: 0 / 1.374 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.5698, allocations: 0 / 1.374 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5698, allocations: 3.938 kB / 1.374 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.57, allocations: 59.95 kB / 1.375 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.5706, allocations: 324.8 kB / 1.375 GB, free: 6.266 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.5708, allocations: 74.59 kB / 1.375 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.5708, allocations: 3.984 kB / 1.375 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.571, allocations: 95.36 kB / 1.375 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.571, allocations: 0 / 1.375 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.0005196/0.5716, allocations: 197.4 kB / 1.375 GB, free: 5.875 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.5716, allocations: 59.39 kB / 1.375 GB, free: 5.805 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.5718, allocations: 120.6 kB / 1.375 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.5718, allocations: 29.7 kB / 1.375 GB, free: 5.648 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.5719, allocations: 92.36 kB / 1.375 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.5719, allocations: 23.89 kB / 1.376 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-06/0.5719, allocations: 8 kB / 1.376 GB, free: 5.52 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5721, allocations: 322.8 kB / 1.376 GB, free: 5.195 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.652e-05/0.5722, allocations: 23.98 kB / 1.376 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.5723, allocations: 85.92 kB / 1.376 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.268e-05/0.5724, allocations: 31.98 kB / 1.376 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5724, allocations: 0 / 1.376 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002544/0.5727, allocations: 141.4 kB / 1.376 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.5727, allocations: 8 kB / 1.376 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.5727, allocations: 0 / 1.376 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.5727, allocations: 11.92 kB / 1.376 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.5728, allocations: 12.38 kB / 1.376 GB, free: 4.859 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.5729, allocations: 3.953 kB / 1.376 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.329e-05/0.5729, allocations: 20.05 kB / 1.376 GB, free: 4.836 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.573, allocations: 8 kB / 1.376 GB, free: 4.828 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,bli.occ,$whenCondition1,bli.sampleTrigger) * 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.638e-05/0.5731, allocations: 128 kB / 1.376 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.5731, allocations: 7.906 kB / 1.376 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.5731, allocations: 16.3 kB / 1.376 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5731, allocations: 4 kB / 1.376 GB, free: 4.668 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.5731, allocations: 0 / 1.376 GB, free: 4.668 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.5732, allocations: 3.953 kB / 1.376 GB, free: 4.664 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/0.5737, allocations: 438.4 kB / 1.377 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5737, allocations: 0 / 1.377 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.5738, allocations: 4 kB / 1.377 GB, free: 4.176 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.5738, allocations: 0 / 1.377 GB, free: 4.176 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.5738, allocations: 3.984 kB / 1.377 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.5738, allocations: 7.953 kB / 1.377 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5738, allocations: 4 kB / 1.377 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.5742, allocations: 247.3 kB / 1.377 GB, free: 3.902 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.5742, allocations: 89.02 kB / 1.377 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.5742, allocations: 0 / 1.377 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.5744, allocations: 15.98 kB / 1.377 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.5744, allocations: 3.953 kB / 1.377 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.5744, allocations: 11.92 kB / 1.377 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.5745, allocations: 99.27 kB / 1.377 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5745, allocations: 0 / 1.377 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003275/0.5748, allocations: 51.94 kB / 1.377 GB, free: 3.617 MB / 0.8698 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 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003879/0.5752, allocations: 188.7 kB / 1.377 GB, free: 3.438 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000263/0.5755, allocations: 87.89 kB / 1.377 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5755, allocations: 3.938 kB / 1.378 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.5756, allocations: 60.23 kB / 1.378 GB, free: 3.289 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.5758, allocations: 13.23 kB / 1.378 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.5763, allocations: 229 kB / 1.378 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.5766, allocations: 0.6926 MB / 1.378 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.35e-05/0.5766, allocations: 7.984 kB / 1.378 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.5767, allocations: 11.44 kB / 1.378 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/0.5767, allocations: 0 / 1.378 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of Templates: time 0.004479/0.5812, allocations: 1.754 MB / 1.38 GB, free: 0.5391 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.pUp,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.ADown,bli.AUp,bli.BDown,bli.BUp,bli.H,bli.blindState,bli.occ,bli.pUp,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,time