Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001569/0.001569, allocations: 192 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 222 MB, free: 4.77 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.652/1.652, allocations: 251.7 MB / 0.5088 GB, free: 3.359 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.00143/0.00143, allocations: 56.39 kB / 0.6216 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4423, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.00287/0.4452, allocations: 1.569 MB / 0.7253 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.4466, allocations: 0.803 MB / 0.7261 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.4467, allocations: 0 / 0.7261 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/0.4468, allocations: 3.938 kB / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.029e-05/0.4468, allocations: 19.86 kB / 0.7261 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005164/0.4474, allocations: 103.8 kB / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.4475, allocations: 83.81 kB / 0.7263 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.4476, allocations: 12 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.95e-05/0.4477, allocations: 43.78 kB / 0.7264 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.4478, allocations: 43.83 kB / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.4478, allocations: 4 kB / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.448, allocations: 91.91 kB / 0.7265 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.448, allocations: 15.92 kB / 0.7265 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.356e-05/0.4481, allocations: 43.83 kB / 0.7266 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.4483, allocations: 149.6 kB / 0.7267 GB, free: 10.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4483, allocations: 3.938 kB / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.41e-07/0.4484, allocations: 0 / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.4484, allocations: 0 / 0.7267 GB, free: 10.15 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.0006481/0.449, allocations: 462.6 kB / 0.7271 GB, free: 9.641 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.4491, allocations: 12.03 kB / 0.7272 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.4491, allocations: 8.844 kB / 0.7272 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.4493, allocations: 176.2 kB / 0.7273 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.4493, allocations: 4.375 kB / 0.7273 GB, free: 9.406 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.4493, allocations: 8.375 kB / 0.7273 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.4496, allocations: 93.81 kB / 0.7274 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.4496, allocations: 0 / 0.7274 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.4496, allocations: 8 kB / 0.7274 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4496, allocations: 4 kB / 0.7274 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.4498, allocations: 43.97 kB / 0.7275 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/0.4503, allocations: 320.6 kB / 0.7278 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.4505, allocations: 70.55 kB / 0.7279 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.4506, allocations: 44.83 kB / 0.7279 GB, free: 8.758 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.4507, allocations: 7.984 kB / 0.7279 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002409/0.4509, allocations: 87.45 kB / 0.728 GB, free: 8.652 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.502e-06/0.4509, allocations: 3.938 kB / 0.728 GB, free: 8.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0004918/0.4514, allocations: 189.5 kB / 0.7282 GB, free: 8.457 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.4515, allocations: 59.34 kB / 0.7282 GB, free: 8.387 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.541e-05/0.4516, allocations: 128.3 kB / 0.7284 GB, free: 8.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.4516, allocations: 29.7 kB / 0.7284 GB, free: 8.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.4517, allocations: 96.31 kB / 0.7285 GB, free: 8.121 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.4517, allocations: 19.7 kB / 0.7285 GB, free: 8.102 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.4517, allocations: 29.72 kB / 0.7285 GB, free: 8.066 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4518, allocations: 326.8 kB / 0.7288 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.129e-05/0.4519, allocations: 31.98 kB / 0.7289 GB, free: 7.707 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.4521, allocations: 77.02 kB / 0.7289 GB, free: 7.613 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.4522, allocations: 113.9 kB / 0.7291 GB, free: 7.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4523, allocations: 0 / 0.7291 GB, free: 7.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002438/0.4525, allocations: 133.9 kB / 0.7292 GB, free: 7.344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4525, allocations: 8.031 kB / 0.7292 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.4525, allocations: 4 kB / 0.7292 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4526, allocations: 0 / 0.7292 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.708e-05/0.4527, allocations: 23.88 kB / 0.7292 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.4527, allocations: 7.984 kB / 0.7292 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.207e-05/0.4528, allocations: 11.84 kB / 0.7292 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.4528, allocations: 4 kB / 0.7292 GB, free: 7.285 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 (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.0001781/0.453, allocations: 132.8 kB / 0.7294 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.453, allocations: 4 kB / 0.7294 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.453, allocations: 12.36 kB / 0.7294 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.453, allocations: 4 kB / 0.7294 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.453, allocations: 3.938 kB / 0.7294 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.453, allocations: 0 / 0.7294 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.4536, allocations: 438.4 kB / 0.7298 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.4536, allocations: 0 / 0.7298 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.4537, allocations: 8 kB / 0.7298 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.4537, allocations: 3.984 kB / 0.7298 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.4537, allocations: 4 kB / 0.7298 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4537, allocations: 0 / 0.7298 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4537, allocations: 7.938 kB / 0.7298 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.4541, allocations: 243.3 kB / 0.7301 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.4542, allocations: 85.02 kB / 0.7301 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.4542, allocations: 8 kB / 0.7301 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.4543, allocations: 7.984 kB / 0.7302 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.4544, allocations: 8.031 kB / 0.7302 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.4544, allocations: 3.984 kB / 0.7302 GB, free: 6.234 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.839e-05/0.4544, allocations: 99.27 kB / 0.7303 GB, free: 6.137 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4544, allocations: 0 / 0.7303 GB, free: 6.137 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003208/0.4548, allocations: 43.98 kB / 0.7303 GB, free: 6.094 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 (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.0004192/0.4552, allocations: 168.5 kB / 0.7305 GB, free: 5.938 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002612/0.4555, allocations: 95.83 kB / 0.7306 GB, free: 5.844 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4555, allocations: 0 / 0.7306 GB, free: 5.844 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.4556, allocations: 47.92 kB / 0.7306 GB, free: 5.797 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.4559, allocations: 16.3 kB / 0.7306 GB, free: 5.781 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.4564, allocations: 218 kB / 0.7308 GB, free: 5.543 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.4568, allocations: 0.6926 MB / 0.7315 GB, free: 4.824 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.847e-05/0.4568, allocations: 7.984 kB / 0.7315 GB, free: 4.816 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.4568, allocations: 11.44 kB / 0.7315 GB, free: 4.805 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4568, allocations: 0 / 0.7315 GB, free: 4.805 MB / 0.545 GB Notification: Performance of Templates: time 0.004128/0.461, allocations: 1.622 MB / 0.7331 GB, free: 3.219 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)