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.001482/0.001482, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002103/0.002103, allocations: 193.1 kB / 16.13 MB, free: 6.656 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.528/1.528, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 59 kB / 0.9113 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3432, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002622/0.3459, allocations: 1.564 MB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.3471, allocations: 0.7634 MB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.245e-05/0.3472, allocations: 0 / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.513e-05/0.3472, allocations: 3.938 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.708e-05/0.3473, allocations: 15.91 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.3477, allocations: 103.8 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.3478, allocations: 87.77 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.025e-05/0.3479, allocations: 15.98 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.932e-05/0.348, allocations: 39.84 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.696e-05/0.3481, allocations: 43.83 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3481, allocations: 4 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.3483, allocations: 91.84 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.3483, allocations: 19.91 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.3484, allocations: 39.84 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.3486, allocations: 147.9 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3486, allocations: 11.94 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3486, allocations: 0 / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.3487, allocations: 0 / 1.07 GB, free: 7.973 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.0006726/0.3493, allocations: 458.6 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3494, allocations: 8.031 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.3494, allocations: 8.844 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.3495, allocations: 180.2 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.3496, allocations: 4.375 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.3496, allocations: 8.375 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.3498, allocations: 93.94 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3499, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3499, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3499, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.3501, allocations: 47.91 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/0.3508, allocations: 324.7 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.3509, allocations: 70.53 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.3511, allocations: 48.86 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.3511, allocations: 0 / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.3513, allocations: 103.3 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.3513, allocations: 0 / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0004967/0.3518, allocations: 185.5 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.3519, allocations: 55.41 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.352, allocations: 129.7 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.352, allocations: 29.7 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.3521, allocations: 88.53 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.3521, allocations: 23.78 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3522, allocations: 41.64 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3524, allocations: 322.8 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.68e-05/0.3524, allocations: 27.97 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3526, allocations: 77.88 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.3528, allocations: 109.9 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3528, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002615/0.3531, allocations: 137.4 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3531, allocations: 8 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3531, allocations: 0 / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3531, allocations: 4 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.3532, allocations: 15.98 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3532, allocations: 0 / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.05e-05/0.3533, allocations: 15.91 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.3533, allocations: 4.156 kB / 1.073 GB, free: 5.113 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.0001046/0.3534, allocations: 136.5 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.3535, allocations: 11.91 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.3535, allocations: 8.375 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3535, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3535, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3535, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/0.3541, allocations: 438.7 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3541, allocations: 0 / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.3541, allocations: 7.984 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3542, allocations: 0 / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3542, allocations: 4 kB / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3542, allocations: 3.938 kB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3542, allocations: 3.938 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.3546, allocations: 247.4 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.3546, allocations: 88.95 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.3547, allocations: 4.078 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3548, allocations: 4 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.3548, allocations: 15.91 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.3548, allocations: 4 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.351e-05/0.3549, allocations: 98.77 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3549, allocations: 0 / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003051/0.3552, allocations: 43.98 kB / 1.074 GB, free: 3.922 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.0003573/0.3556, allocations: 167.8 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.3559, allocations: 87.83 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3559, allocations: 4.312 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.356, allocations: 51.97 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.3563, allocations: 14.61 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.3568, allocations: 219.1 kB / 1.074 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.3571, allocations: 0.6926 MB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.738e-05/0.3571, allocations: 4 kB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.3571, allocations: 11.44 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.3571, allocations: 0 / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of Templates: time 0.004101/0.3613, allocations: 1.613 MB / 1.077 GB, free: 1.035 MB / 0.8262 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)