Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.52/1.52, allocations: 289.9 MB / 297.4 MB, free: 6.395 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 180.9 kB / 366.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007741/0.000774, allocations: 94.5 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.664e-05/1.657e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5789/0.579, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1728/0.7518, allocations: 140.3 MB / 1.11 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.7521, allocations: 83.94 kB / 1.11 GB, free: 9.805 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.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.009136/0.7612, allocations: 3.041 MB / 1.113 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7613, allocations: 0 / 1.113 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.7613, allocations: 4 kB / 1.113 GB, free: 6.793 MB / 0.7136 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.0005491/0.7618, allocations: 444.5 kB / 1.114 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.461e-05/0.7619, allocations: 12.03 kB / 1.114 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.762, allocations: 7.906 kB / 1.114 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.7621, allocations: 182.8 kB / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.7622, allocations: 2.312 kB / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.7622, allocations: 8 kB / 1.114 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.293e-05/0.7623, allocations: 28 kB / 1.114 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.7625, allocations: 81.58 kB / 1.114 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.7625, allocations: 0 / 1.114 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.7625, allocations: 0 / 1.114 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.7625, allocations: 0.6875 kB / 1.114 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.763, allocations: 292.1 kB / 1.114 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.7631, allocations: 61.75 kB / 1.114 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.625e-05/0.7632, allocations: 34.05 kB / 1.114 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.7632, allocations: 4.031 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.7634, allocations: 85.97 kB / 1.115 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.7634, allocations: 0 / 1.115 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003147/0.7637, allocations: 129.5 kB / 1.115 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.7638, allocations: 59.39 kB / 1.115 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/0.7639, allocations: 109.6 kB / 1.115 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.7639, allocations: 35.25 kB / 1.115 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.764, allocations: 92.28 kB / 1.115 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.764, allocations: 19.75 kB / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.764, allocations: 0 / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7642, allocations: 327.5 kB / 1.115 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.087e-05/0.7642, allocations: 20 kB / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.315e-05/0.7643, allocations: 67.12 kB / 1.115 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.834e-05/0.7644, allocations: 31.86 kB / 1.115 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7644, allocations: 4 kB / 1.115 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001774/0.7646, allocations: 105.5 kB / 1.115 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.7646, allocations: 4 kB / 1.115 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7646, allocations: 4 kB / 1.115 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.7646, allocations: 6.062 kB / 1.115 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.7647, allocations: 16.08 kB / 1.115 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.7647, allocations: 0 / 1.115 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.7648, allocations: 16.06 kB / 1.116 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.7649, allocations: 12.81 kB / 1.116 GB, free: 4.32 MB / 0.7136 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 () * 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 8.359e-05/0.765, allocations: 120.8 kB / 1.116 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.765, allocations: 7.906 kB / 1.116 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.765, allocations: 4.625 kB / 1.116 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.765, allocations: 4 kB / 1.116 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.765, allocations: 0 / 1.116 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.765, allocations: 0 / 1.116 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.7655, allocations: 392.8 kB / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7655, allocations: 0 / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.7655, allocations: 11.98 kB / 1.116 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.7655, allocations: 0 / 1.116 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.7656, allocations: 0 / 1.116 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.7656, allocations: 4 kB / 1.116 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7656, allocations: 3.875 kB / 1.116 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.7659, allocations: 235.3 kB / 1.116 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.7659, allocations: 84.39 kB / 1.116 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.766, allocations: 4 kB / 1.116 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.7661, allocations: 7.984 kB / 1.116 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.7661, allocations: 4 kB / 1.116 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.7662, allocations: 7.984 kB / 1.116 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.615e-05/0.7662, allocations: 92.53 kB / 1.116 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7662, allocations: 3.938 kB / 1.116 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003087/0.7665, allocations: 51.92 kB / 1.117 GB, free: 3.223 MB / 0.7136 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) * 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.0003497/0.7669, allocations: 170.9 kB / 1.117 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.7671, allocations: 67.92 kB / 1.117 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7671, allocations: 4.312 kB / 1.117 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/0.7671, allocations: 43.92 kB / 1.117 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.7674, allocations: 14.77 kB / 1.117 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.7677, allocations: 117.8 kB / 1.117 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.7679, allocations: 0.6924 MB / 1.118 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.181e-05/0.768, allocations: 11.98 kB / 1.118 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.768, allocations: 11.44 kB / 1.118 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.768, allocations: 0 / 1.118 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of Templates: time 0.004073/0.7721, allocations: 1.71 MB / 1.119 GB, free: 408 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)