Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 297.4 MB / 312.6 MB, free: 2.941 MB / 234.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.0009907/0.0009907, allocations: 178 kB / 382.3 MB, free: 14.84 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.356/1.356, allocations: 225.7 MB / 0.6617 GB, free: 7.219 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007656/0.0007655, allocations: 94.98 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003863, allocations: 8 kB / 0.9058 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6637/0.6641, allocations: 119.2 MB / 1.022 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001749/0.6659, allocations: 1.202 MB / 1.023 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.6673, allocations: 0.9962 MB / 1.024 GB, free: 56.31 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.6673, allocations: 0.8438 kB / 1.024 GB, free: 56.31 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.6673, allocations: 5.062 kB / 1.024 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.358e-05/0.6674, allocations: 9.328 kB / 1.024 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.6681, allocations: 107.5 kB / 1.025 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.6682, allocations: 67.48 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.6683, allocations: 10.05 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.6684, allocations: 32.39 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.915e-05/0.6685, allocations: 25.5 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.6685, allocations: 4.156 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.6687, allocations: 89.06 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.6687, allocations: 12.48 kB / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.806e-05/0.6688, allocations: 51.59 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.669, allocations: 128.6 kB / 1.025 GB, free: 56.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.669, allocations: 0 / 1.025 GB, free: 56.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6691, allocations: 0.5938 kB / 1.025 GB, free: 56.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.6691, allocations: 2.906 kB / 1.025 GB, free: 56.1 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.0005684/0.6696, allocations: 438.2 kB / 1.025 GB, free: 55.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.6697, allocations: 14.62 kB / 1.025 GB, free: 55.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.6697, allocations: 8.812 kB / 1.025 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.952e-05/0.6698, allocations: 181.4 kB / 1.026 GB, free: 55.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.6699, allocations: 4.812 kB / 1.026 GB, free: 55.44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.6699, allocations: 8.5 kB / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.6701, allocations: 73.38 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.6702, allocations: 2.25 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.6702, allocations: 0.6094 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.6702, allocations: 1.375 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.6703, allocations: 42.77 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.6708, allocations: 305.3 kB / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.671, allocations: 48.3 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.056e-05/0.6711, allocations: 38.03 kB / 1.026 GB, free: 55.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.6711, allocations: 1.344 kB / 1.026 GB, free: 55.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.6713, allocations: 77.2 kB / 1.026 GB, free: 54.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.435e-06/0.6713, allocations: 2.125 kB / 1.026 GB, free: 54.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004233/0.6717, allocations: 155.5 kB / 1.026 GB, free: 54.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.6718, allocations: 53.62 kB / 1.026 GB, free: 54.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/0.6719, allocations: 119.6 kB / 1.026 GB, free: 54.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.6719, allocations: 27.64 kB / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.6719, allocations: 96.16 kB / 1.027 GB, free: 54.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.672, allocations: 7.516 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.672, allocations: 9.781 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.6721, allocations: 323.6 kB / 1.027 GB, free: 54.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-05/0.6721, allocations: 26.53 kB / 1.027 GB, free: 54.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.946e-05/0.6722, allocations: 65.66 kB / 1.027 GB, free: 54.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.6724, allocations: 100.1 kB / 1.027 GB, free: 54.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6724, allocations: 3.469 kB / 1.027 GB, free: 54.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002215/0.6727, allocations: 119.5 kB / 1.027 GB, free: 54.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.6727, allocations: 10.11 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.6727, allocations: 2.25 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.6727, allocations: 3.469 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.006e-05/0.6728, allocations: 12.38 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.6728, allocations: 5.469 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.6729, allocations: 15.17 kB / 1.027 GB, free: 54.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.6729, allocations: 5.922 kB / 1.027 GB, free: 54.08 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.963e-05/0.673, allocations: 129.7 kB / 1.027 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.673, allocations: 4.406 kB / 1.027 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.673, allocations: 5.375 kB / 1.027 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.6731, allocations: 4.172 kB / 1.027 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6731, allocations: 4.938 kB / 1.027 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6731, allocations: 0.75 kB / 1.027 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.6735, allocations: 390.5 kB / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6735, allocations: 0 / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.6736, allocations: 7.062 kB / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.6736, allocations: 0 / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.6736, allocations: 8.312 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6736, allocations: 0 / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6736, allocations: 4.547 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.6738, allocations: 211.8 kB / 1.028 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/0.6739, allocations: 84.62 kB / 1.028 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.6739, allocations: 3.531 kB / 1.028 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.684e-05/0.674, allocations: 11.98 kB / 1.028 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.6741, allocations: 8.688 kB / 1.028 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.6741, allocations: 8.469 kB / 1.028 GB, free: 53.33 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.704e-05/0.6742, allocations: 92.86 kB / 1.028 GB, free: 53.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.172e-06/0.6742, allocations: 0 / 1.028 GB, free: 53.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002817/0.6745, allocations: 42.45 kB / 1.028 GB, free: 53.24 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.000343/0.6748, allocations: 176.3 kB / 1.028 GB, free: 53.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.6751, allocations: 72.27 kB / 1.028 GB, free: 53.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6751, allocations: 0 / 1.028 GB, free: 53.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.6752, allocations: 45.41 kB / 1.028 GB, free: 53.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.6754, allocations: 10.28 kB / 1.029 GB, free: 53.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.6759, allocations: 216.1 kB / 1.029 GB, free: 52.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.676, allocations: 0.6902 MB / 1.029 GB, free: 52.24 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.137e-05/0.6761, allocations: 6.703 kB / 1.029 GB, free: 52.24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.6761, allocations: 10.84 kB / 1.029 GB, free: 52.23 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.6761, allocations: 0 / 1.029 GB, free: 52.23 MB / 0.698 GB Notification: Performance of Templates: time 0.004001/0.6801, allocations: 1.352 MB / 1.031 GB, free: 52.12 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)