Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008325/0.0008328, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0008638/0.0008638, allocations: 168.7 kB / 15.95 MB, free: 204 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.575/1.575, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.631/1.631, allocations: 252 MB / 0.5102 GB, free: 4.801 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.0006352/0.0006353, allocations: 12 kB / 0.6243 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6438/0.6444, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001981/0.6465, allocations: 1.192 MB / 0.7293 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.6478, allocations: 0.7333 MB / 0.73 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/0.6479, allocations: 4 kB / 0.73 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.6479, allocations: 3.938 kB / 0.73 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.578e-05/0.648, allocations: 3.938 kB / 0.73 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.6485, allocations: 91.77 kB / 0.7301 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.6487, allocations: 63.72 kB / 0.7302 GB, free: 9.324 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.6488, allocations: 23.97 kB / 0.7302 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.827e-05/0.6489, allocations: 23.92 kB / 0.7302 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.6491, allocations: 23.91 kB / 0.7302 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.6491, allocations: 4 kB / 0.7302 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.6493, allocations: 87.84 kB / 0.7303 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.6493, allocations: 11.98 kB / 0.7303 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.6494, allocations: 37.64 kB / 0.7304 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.6495, allocations: 93.8 kB / 0.7305 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6495, allocations: 0 / 0.7305 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6496, allocations: 4 kB / 0.7305 GB, free: 9.016 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.6496, allocations: 0 / 0.7305 GB, free: 9.016 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000584/0.6502, allocations: 434.4 kB / 0.7309 GB, free: 8.531 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.6502, allocations: 8.031 kB / 0.7309 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.6503, allocations: 11.86 kB / 0.7309 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.6504, allocations: 170.9 kB / 0.7311 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.6504, allocations: 8 kB / 0.7311 GB, free: 8.297 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.6505, allocations: 11.98 kB / 0.7311 GB, free: 8.285 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.6506, allocations: 73.58 kB / 0.7312 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.6507, allocations: 0 / 0.7312 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.6507, allocations: 4 kB / 0.7312 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.6507, allocations: 4 kB / 0.7312 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.6508, allocations: 39.97 kB / 0.7312 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.6513, allocations: 292.8 kB / 0.7315 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.6515, allocations: 58.48 kB / 0.7315 GB, free: 7.758 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.6516, allocations: 36.97 kB / 0.7316 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.6516, allocations: 0 / 0.7316 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.6518, allocations: 79.38 kB / 0.7316 GB, free: 7.629 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.6518, allocations: 0 / 0.7316 GB, free: 7.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004111/0.6522, allocations: 157.5 kB / 0.7318 GB, free: 7.469 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.6523, allocations: 51.41 kB / 0.7318 GB, free: 7.406 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.6524, allocations: 121.8 kB / 0.732 GB, free: 7.277 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.6524, allocations: 29.7 kB / 0.732 GB, free: 7.242 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.6525, allocations: 88.33 kB / 0.7321 GB, free: 7.152 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.6525, allocations: 19.73 kB / 0.7321 GB, free: 7.133 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.6525, allocations: 7.938 kB / 0.7321 GB, free: 7.125 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.6527, allocations: 318.8 kB / 0.7324 GB, free: 6.805 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.438e-05/0.6527, allocations: 27.92 kB / 0.7324 GB, free: 6.777 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.929e-05/0.6528, allocations: 65.12 kB / 0.7325 GB, free: 6.695 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.132e-05/0.6529, allocations: 31.98 kB / 0.7325 GB, free: 6.664 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.653, allocations: 0 / 0.7325 GB, free: 6.664 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00024/0.6532, allocations: 129.5 kB / 0.7326 GB, free: 6.531 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6532, allocations: 7.938 kB / 0.7327 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.6532, allocations: 0 / 0.7327 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6533, allocations: 4 kB / 0.7327 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.6534, allocations: 19.94 kB / 0.7327 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.6534, allocations: 320 / 0.7327 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.6534, allocations: 11.91 kB / 0.7327 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.6535, allocations: 4 kB / 0.7327 GB, free: 6.484 MB / 0.545 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,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 (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 9.883e-05/0.6536, allocations: 125.8 kB / 0.7328 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.6536, allocations: 4 kB / 0.7328 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.6536, allocations: 12.36 kB / 0.7328 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.6536, allocations: 0 / 0.7328 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.6536, allocations: 3.953 kB / 0.7328 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6536, allocations: 0 / 0.7328 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.6541, allocations: 390.4 kB / 0.7332 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6541, allocations: 4 kB / 0.7332 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.6542, allocations: 7.938 kB / 0.7332 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.6542, allocations: 0 / 0.7332 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.6542, allocations: 7.938 kB / 0.7332 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.6542, allocations: 0 / 0.7332 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6542, allocations: 0 / 0.7332 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.6545, allocations: 219.4 kB / 0.7334 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.6546, allocations: 81.05 kB / 0.7335 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.6546, allocations: 4 kB / 0.7335 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.6547, allocations: 11.89 kB / 0.7335 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.6548, allocations: 3.984 kB / 0.7335 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.6548, allocations: 4 kB / 0.7335 GB, free: 5.523 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.595e-05/0.6548, allocations: 99.27 kB / 0.7336 GB, free: 5.426 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6548, allocations: 0 / 0.7336 GB, free: 5.426 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003009/0.6552, allocations: 39.98 kB / 0.7337 GB, free: 5.387 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,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.0003323/0.6555, allocations: 159.1 kB / 0.7338 GB, free: 5.238 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.6557, allocations: 79.94 kB / 0.7339 GB, free: 5.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6557, allocations: 0 / 0.7339 GB, free: 5.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.6559, allocations: 39.97 kB / 0.7339 GB, free: 5.121 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.6561, allocations: 8.297 kB / 0.7339 GB, free: 5.113 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.6565, allocations: 223 kB / 0.7342 GB, free: 4.867 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.6568, allocations: 0.6874 MB / 0.7348 GB, free: 4.156 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.945e-05/0.6568, allocations: 8.188 kB / 0.7348 GB, free: 4.148 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.6569, allocations: 11.44 kB / 0.7348 GB, free: 4.141 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.6569, allocations: 3.938 kB / 0.7348 GB, free: 4.137 MB / 0.545 GB Notification: Performance of Templates: time 0.004434/0.6613, allocations: 1.331 MB / 0.7361 GB, free: 2.812 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) Environment - environmentSimulation: