Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.751/1.751, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 182.8 kB / 393.1 MB, free: 4.082 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.7 MB / 0.6743 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008382/0.0008385, allocations: 95.33 kB / 0.7935 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 8.688 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5653/0.5657, allocations: 121.3 MB / 1.041 GB, free: 58.86 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.0017/0.5674, allocations: 1.207 MB / 1.042 GB, free: 58.07 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.5689, allocations: 0.9881 MB / 1.043 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.5689, allocations: 3.25 kB / 1.043 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.165e-05/0.569, allocations: 3.938 kB / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.481e-05/0.5691, allocations: 10.14 kB / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.5696, allocations: 104.9 kB / 1.043 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.5697, allocations: 68.69 kB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.5699, allocations: 11.47 kB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.005e-05/0.57, allocations: 28.94 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.57, allocations: 25.34 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.5701, allocations: 6.812 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.5703, allocations: 86.83 kB / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.976e-05/0.5703, allocations: 15.91 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.5704, allocations: 49.33 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.5706, allocations: 135.3 kB / 1.044 GB, free: 57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5706, allocations: 1.031 kB / 1.044 GB, free: 57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5707, allocations: 0 / 1.044 GB, free: 57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.5707, allocations: 0.5 kB / 1.044 GB, free: 57 MB / 0.698 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.0005671/0.5712, allocations: 439.2 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.5713, allocations: 11.16 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.5713, allocations: 10 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.5715, allocations: 179.8 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.5715, allocations: 3.375 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.5715, allocations: 7.281 kB / 1.044 GB, free: 56.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.5718, allocations: 73.11 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5718, allocations: 0 / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.5718, allocations: 1.344 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.5718, allocations: 4.141 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.572, allocations: 41.14 kB / 1.044 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/0.5725, allocations: 303.8 kB / 1.045 GB, free: 55.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.5726, allocations: 55.36 kB / 1.045 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.604e-05/0.5727, allocations: 32.89 kB / 1.045 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.5728, allocations: 3.719 kB / 1.045 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.573, allocations: 77.39 kB / 1.045 GB, free: 55.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.573, allocations: 1.438 kB / 1.045 GB, free: 55.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004259/0.5734, allocations: 156.8 kB / 1.045 GB, free: 55.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.5734, allocations: 53.34 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.5735, allocations: 122 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.5736, allocations: 29.7 kB / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.5736, allocations: 93.73 kB / 1.045 GB, free: 55.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.5736, allocations: 18.75 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-06/0.5736, allocations: 0 / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.5737, allocations: 321.4 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.5738, allocations: 27.84 kB / 1.046 GB, free: 55.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.555e-05/0.5739, allocations: 65.62 kB / 1.046 GB, free: 55.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.5741, allocations: 101.4 kB / 1.046 GB, free: 55.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5741, allocations: 6.656 kB / 1.046 GB, free: 55.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002202/0.5743, allocations: 115.7 kB / 1.046 GB, free: 54.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.5744, allocations: 11.62 kB / 1.046 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5744, allocations: 0 / 1.046 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.5744, allocations: 3.906 kB / 1.046 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.5745, allocations: 18.72 kB / 1.046 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.5745, allocations: 0 / 1.046 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/0.5746, allocations: 10.38 kB / 1.046 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.5746, allocations: 3.844 kB / 1.046 GB, free: 54.98 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.843e-05/0.5747, allocations: 129.6 kB / 1.046 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.5747, allocations: 10.84 kB / 1.046 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.5747, allocations: 14.25 kB / 1.046 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.5747, allocations: 1.312 kB / 1.046 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5747, allocations: 4 kB / 1.046 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5748, allocations: 0 / 1.046 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.5751, allocations: 382 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.5752, allocations: 1.031 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.5752, allocations: 6.578 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5752, allocations: 3.469 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.5752, allocations: 4 kB / 1.046 GB, free: 54.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5752, allocations: 0 / 1.046 GB, free: 54.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5752, allocations: 4.5 kB / 1.046 GB, free: 54.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.5755, allocations: 208.6 kB / 1.047 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.5755, allocations: 87.83 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.5755, allocations: 8.75 kB / 1.047 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.354e-05/0.5756, allocations: 8.359 kB / 1.047 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.5757, allocations: 12.38 kB / 1.047 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.5757, allocations: 1.125 kB / 1.047 GB, free: 54.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.024e-05/0.5757, allocations: 92.38 kB / 1.047 GB, free: 54.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5758, allocations: 9.188 kB / 1.047 GB, free: 54.13 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002684/0.576, allocations: 40.59 kB / 1.047 GB, free: 54.12 MB / 0.698 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 (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.0003387/0.5764, allocations: 174.3 kB / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.5766, allocations: 75.2 kB / 1.047 GB, free: 54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5766, allocations: 320 / 1.047 GB, free: 54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.5767, allocations: 40.22 kB / 1.047 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.577, allocations: 10.12 kB / 1.047 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.5774, allocations: 219.2 kB / 1.047 GB, free: 53.81 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.5775, allocations: 0.6936 MB / 1.048 GB, free: 53.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.5776, allocations: 0 / 1.048 GB, free: 53.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.5776, allocations: 11.56 kB / 1.048 GB, free: 53.11 MB / 0.698 GB Notification: Performance of SimCode: time 3.3e-07/0.5776, allocations: 2 kB / 1.048 GB, free: 53.11 MB / 0.698 GB Notification: Performance of Templates: time 0.003769/0.5814, allocations: 1.357 MB / 1.049 GB, free: 52.97 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)