Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 95.86 kB / 15.05 MB, free: 1.113 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.001434/0.001434, allocations: 181.3 kB / 15.95 MB, free: 220 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.737/1.737, allocations: 205.4 MB / 222.1 MB, free: 5.371 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.616/1.616, allocations: 251.9 MB / 0.51 GB, free: 4.859 MB / 414.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.0005869/0.000587, allocations: 19.28 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.6632, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001791/0.6651, allocations: 1.203 MB / 0.7292 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.6664, allocations: 0.7373 MB / 0.7299 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.447e-05/0.6664, allocations: 4 kB / 0.7299 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.06e-05/0.6664, allocations: 0 / 0.7299 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.165e-05/0.6665, allocations: 19.91 kB / 0.7299 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.6669, allocations: 95.69 kB / 0.73 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.048e-05/0.667, allocations: 59.86 kB / 0.73 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.431e-05/0.6671, allocations: 8 kB / 0.7301 GB, free: 9.289 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.301e-05/0.6671, allocations: 35.91 kB / 0.7301 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.492e-05/0.6672, allocations: 39.83 kB / 0.7301 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.6672, allocations: 8 kB / 0.7301 GB, free: 9.207 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.6674, allocations: 67.92 kB / 0.7302 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.6674, allocations: 19.92 kB / 0.7302 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.6675, allocations: 45.58 kB / 0.7303 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.6676, allocations: 109.8 kB / 0.7304 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.6676, allocations: 0 / 0.7304 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6676, allocations: 0 / 0.7304 GB, free: 8.965 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.615e-06/0.6676, allocations: 0 / 0.7304 GB, free: 8.965 MB / 0.545 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.0004717/0.6681, allocations: 450.4 kB / 0.7308 GB, free: 8.465 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.183e-05/0.6682, allocations: 8.031 kB / 0.7308 GB, free: 8.457 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.6682, allocations: 7.906 kB / 0.7308 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.6683, allocations: 175 kB / 0.731 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.6684, allocations: 8 kB / 0.731 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.6684, allocations: 4 kB / 0.731 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.6686, allocations: 97.5 kB / 0.7311 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.519e-06/0.6687, allocations: 4 kB / 0.7311 GB, free: 8.121 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.6687, allocations: 4 kB / 0.7311 GB, free: 8.117 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-06/0.6687, allocations: 0 / 0.7311 GB, free: 8.117 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.6688, allocations: 47.97 kB / 0.7311 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.6693, allocations: 324.7 kB / 0.7314 GB, free: 7.703 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.6695, allocations: 74.58 kB / 0.7315 GB, free: 7.621 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.6695, allocations: 0 / 0.7315 GB, free: 7.621 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.6697, allocations: 95.36 kB / 0.7316 GB, free: 7.516 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.6697, allocations: 4 kB / 0.7316 GB, free: 7.512 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0004273/0.6702, allocations: 193.5 kB / 0.7318 GB, free: 7.316 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.6702, allocations: 63.3 kB / 0.7319 GB, free: 7.242 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.6703, allocations: 121.8 kB / 0.732 GB, free: 7.113 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.6703, allocations: 37.7 kB / 0.732 GB, free: 7.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.6704, allocations: 92.3 kB / 0.7321 GB, free: 6.977 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.6704, allocations: 23.66 kB / 0.7321 GB, free: 6.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.6704, allocations: 4 kB / 0.7321 GB, free: 6.949 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6706, allocations: 322.8 kB / 0.7324 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.284e-05/0.6706, allocations: 35.98 kB / 0.7325 GB, free: 6.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.6708, allocations: 77.22 kB / 0.7325 GB, free: 6.496 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.669e-05/0.6709, allocations: 35.98 kB / 0.7326 GB, free: 6.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6709, allocations: 4 kB / 0.7326 GB, free: 6.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002579/0.6711, allocations: 149.4 kB / 0.7327 GB, free: 6.305 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.6712, allocations: 4 kB / 0.7327 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.6712, allocations: 0 / 0.7327 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.6712, allocations: 4.375 kB / 0.7327 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.017e-05/0.6713, allocations: 20.14 kB / 0.7327 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.6713, allocations: 7.953 kB / 0.7328 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.833e-05/0.6714, allocations: 19.83 kB / 0.7328 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.6714, allocations: 11.94 kB / 0.7328 GB, free: 6.238 MB / 0.545 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,occ.y,$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 8.525e-05/0.6715, allocations: 117.8 kB / 0.7329 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.6715, allocations: 4 kB / 0.7329 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.6715, allocations: 16.38 kB / 0.7329 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6715, allocations: 0 / 0.7329 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.6715, allocations: 3.984 kB / 0.7329 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6716, allocations: 3.953 kB / 0.7329 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.6721, allocations: 438.5 kB / 0.7333 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.6721, allocations: 0 / 0.7333 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.6721, allocations: 12 kB / 0.7334 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6721, allocations: 0 / 0.7334 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.6722, allocations: 3.984 kB / 0.7334 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.6722, allocations: 7.891 kB / 0.7334 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6722, allocations: 0 / 0.7334 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.6725, allocations: 251.3 kB / 0.7336 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.6726, allocations: 92.95 kB / 0.7337 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.6726, allocations: 4 kB / 0.7337 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/0.6727, allocations: 7.984 kB / 0.7337 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.6728, allocations: 11.89 kB / 0.7337 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.6728, allocations: 7.984 kB / 0.7337 GB, free: 5.176 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.704e-05/0.6728, allocations: 98.77 kB / 0.7338 GB, free: 5.082 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6729, allocations: 0 / 0.7338 GB, free: 5.082 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003659/0.6732, allocations: 40 kB / 0.7339 GB, free: 5.043 MB / 0.545 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,occ.y,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.0004056/0.6736, allocations: 166.6 kB / 0.734 GB, free: 4.887 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003323/0.674, allocations: 100.1 kB / 0.7341 GB, free: 4.789 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.674, allocations: 0 / 0.7341 GB, free: 4.789 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.6741, allocations: 47.98 kB / 0.7342 GB, free: 4.742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.6743, allocations: 15.92 kB / 0.7342 GB, free: 4.727 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.6747, allocations: 219.1 kB / 0.7344 GB, free: 4.484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.675, allocations: 0.6926 MB / 0.7351 GB, free: 3.766 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.473e-05/0.6751, allocations: 7.984 kB / 0.7351 GB, free: 3.758 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.6751, allocations: 11.44 kB / 0.7351 GB, free: 3.746 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6751, allocations: 0 / 0.7351 GB, free: 3.746 MB / 0.545 GB Notification: Performance of Templates: time 0.003946/0.6791, allocations: 1.557 MB / 0.7366 GB, free: 2.207 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) Environment - environmentSimulation: