Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009318/0.0009318, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.00533/0.00533, allocations: 169.9 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.023/3.023, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.000511, allocations: 12.28 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3596, allocations: 162.2 MB / 1.074 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001748/0.3614, allocations: 1.231 MB / 1.075 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.3628, allocations: 0.7324 MB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.3628, allocations: 3.938 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.3629, allocations: 0 / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.896e-05/0.363, allocations: 19.84 kB / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.3635, allocations: 111.7 kB / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.3637, allocations: 83.77 kB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.649e-05/0.3638, allocations: 15.98 kB / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.3639, allocations: 39.83 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.728e-05/0.364, allocations: 35.84 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.364, allocations: 4 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.3642, allocations: 99.84 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.3642, allocations: 23.89 kB / 1.076 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.457e-05/0.3643, allocations: 61.56 kB / 1.077 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.3646, allocations: 143.9 kB / 1.077 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3646, allocations: 0 / 1.077 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.266e-06/0.3646, allocations: 0 / 1.077 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3646, allocations: 3.938 kB / 1.077 GB, free: 4.98 MB / 0.8262 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.0007025/0.3653, allocations: 446.7 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.3654, allocations: 8.031 kB / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.794e-05/0.3654, allocations: 12.84 kB / 1.077 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.3656, allocations: 180.2 kB / 1.077 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.3657, allocations: 8.375 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.3657, allocations: 4.375 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.366, allocations: 93.94 kB / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.366, allocations: 0 / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.366, allocations: 0 / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3661, allocations: 4 kB / 1.077 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.3663, allocations: 51.97 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007012/0.367, allocations: 328.5 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.3672, allocations: 70.55 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.3673, allocations: 48.83 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.3673, allocations: 0 / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/0.3676, allocations: 103.4 kB / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 2.495e-06/0.3676, allocations: 0 / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005616/0.3682, allocations: 197.4 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.3683, allocations: 55.56 kB / 1.078 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.3684, allocations: 129.8 kB / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3684, allocations: 25.7 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.248e-05/0.3685, allocations: 96.36 kB / 1.078 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.3686, allocations: 23.7 kB / 1.078 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.3686, allocations: 17.72 kB / 1.078 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3688, allocations: 326.8 kB / 1.079 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/0.3689, allocations: 31.92 kB / 1.079 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.3692, allocations: 77.98 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.3694, allocations: 121.8 kB / 1.079 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3694, allocations: 3.938 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003072/0.3697, allocations: 145.5 kB / 1.079 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.3698, allocations: 9.875 kB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3698, allocations: 0 / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3698, allocations: 4 kB / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.944e-05/0.3699, allocations: 15.94 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.3699, allocations: 7.984 kB / 1.079 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.157e-05/0.37, allocations: 7.906 kB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.3701, allocations: 8.125 kB / 1.079 GB, free: 2.09 MB / 0.8262 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 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.3702, allocations: 129.7 kB / 1.079 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.3702, allocations: 4 kB / 1.079 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.3703, allocations: 12.36 kB / 1.079 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.3703, allocations: 4 kB / 1.079 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.3703, allocations: 0 / 1.079 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3703, allocations: 0 / 1.079 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006206/0.3709, allocations: 442.2 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3709, allocations: 0 / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.371, allocations: 8.453 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.371, allocations: 4 kB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.371, allocations: 8 kB / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.371, allocations: 0 / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.371, allocations: 3.938 kB / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.3714, allocations: 259.3 kB / 1.08 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.3715, allocations: 85.02 kB / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.3715, allocations: 3.984 kB / 1.08 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.832e-05/0.3716, allocations: 8 kB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.3717, allocations: 15.92 kB / 1.08 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.3717, allocations: 4 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.594e-05/0.3717, allocations: 94.14 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.793e-06/0.3717, allocations: 0 / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003348/0.3721, allocations: 47.92 kB / 1.08 GB, free: 0.8828 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003692/0.3725, allocations: 165.2 kB / 1.08 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002748/0.3728, allocations: 91.89 kB / 1.081 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3728, allocations: 96 / 1.081 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.3729, allocations: 59.84 kB / 1.081 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.3732, allocations: 20.23 kB / 1.081 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.3737, allocations: 219.1 kB / 1.081 GB, free: 320 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.3739, allocations: 0.7004 MB / 1.082 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.295e-05/0.374, allocations: 7.984 kB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.374, allocations: 11.44 kB / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.374, allocations: 0 / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.004523/0.3786, allocations: 1.579 MB / 1.083 GB, free: 14 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)