Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.158/5.158, allocations: 0.5623 GB / 0.5775 GB, free: 3.301 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002481/0.002481, allocations: 366 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.255/4.255, allocations: 410.7 MB / 1.113 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001825/0.001824, allocations: 171 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007731/0.0007733, allocations: 12.22 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7486/0.7494, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2054/0.9549, allocations: 139.8 MB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.9552, allocations: 92.88 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.01244/0.9677, allocations: 2.888 MB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.816e-06/0.9677, allocations: 4 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.9677, allocations: 0 / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005624/0.9683, allocations: 456 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.9683, allocations: 11.62 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.9684, allocations: 4.688 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.9685, allocations: 174.9 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.9686, allocations: 6.75 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.9686, allocations: 4 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.9688, allocations: 73.59 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.9689, allocations: 0 / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.9689, allocations: 0 / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.9689, allocations: 1.219 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.9691, allocations: 49.94 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.9697, allocations: 303.5 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.9699, allocations: 56.22 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.9701, allocations: 32.97 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.9701, allocations: 0.5 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.9704, allocations: 76.94 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.595e-06/0.9704, allocations: 0.5 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005995/0.971, allocations: 156 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.9711, allocations: 55.36 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.9712, allocations: 120.7 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.9712, allocations: 29.7 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.9713, allocations: 97.31 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.9713, allocations: 15.88 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.9713, allocations: 4.656 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.9714, allocations: 321.5 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.9715, allocations: 23.98 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.9717, allocations: 70.17 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.9718, allocations: 32.14 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.9718, allocations: 4 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000337/0.9722, allocations: 115.5 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.9722, allocations: 5.438 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.9722, allocations: 3.938 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.9723, allocations: 4 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.9724, allocations: 16.48 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.9724, allocations: 4.453 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.9725, allocations: 8.688 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.9726, allocations: 11.98 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.000102/0.9727, allocations: 131.9 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.9727, allocations: 7.906 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.9728, allocations: 8.375 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.9728, allocations: 0 / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9728, allocations: 0 / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.9728, allocations: 3.953 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006191/0.9734, allocations: 377.4 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.9735, allocations: 4 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.685e-05/0.9736, allocations: 15.92 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.9736, allocations: 1.062 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.9736, allocations: 0 / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.9736, allocations: 4.922 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9736, allocations: 0 / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.974, allocations: 213.4 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.9741, allocations: 83.52 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.9741, allocations: 4 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.9743, allocations: 7.984 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.9743, allocations: 5.5 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.9744, allocations: 7.984 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.345e-05/0.9744, allocations: 93.39 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9744, allocations: 0.5938 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004444/0.9749, allocations: 51.98 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004587/0.9754, allocations: 173.3 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003557/0.9757, allocations: 78.05 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9757, allocations: 0.5625 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.9759, allocations: 32.86 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.9763, allocations: 18.77 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.9768, allocations: 212 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.977, allocations: 0.6931 MB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.047e-05/0.9771, allocations: 8.125 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.9771, allocations: 8.375 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of SimCode: time 2.164e-06/0.9771, allocations: 0 / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.005517/0.9826, allocations: 1.526 MB / 1.607 GB, free: 135.2 MB / 0.8542 GB