Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.74/1.74, allocations: 291.7 MB / 306.8 MB, free: 7.699 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.0009466/0.0009466, allocations: 185.3 kB / 375.4 MB, free: 5.109 MB / 298.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.373/1.373, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.0009179/0.0009179, allocations: 103.5 kB / 0.7699 GB, free: 50.2 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.000395, allocations: 12.72 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6554/0.6558, allocations: 118.1 MB / 1.011 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001852/0.6577, allocations: 1.208 MB / 1.012 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.6588, allocations: 0.6726 MB / 1.013 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.6589, allocations: 2.75 kB / 1.013 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.6589, allocations: 7.875 kB / 1.013 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-05/0.659, allocations: 5.422 kB / 1.013 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.6594, allocations: 99.59 kB / 1.013 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.146e-05/0.6595, allocations: 60.64 kB / 1.013 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.6596, allocations: 14.31 kB / 1.013 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.6598, allocations: 29.11 kB / 1.013 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.906e-05/0.6599, allocations: 34.81 kB / 1.013 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.6599, allocations: 6.375 kB / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.6601, allocations: 87.73 kB / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.6601, allocations: 16.42 kB / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.6601, allocations: 31.42 kB / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.6603, allocations: 97.25 kB / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6603, allocations: 0 / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.325e-06/0.6603, allocations: 0.5312 kB / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.6603, allocations: 2 kB / 1.013 GB, free: 57.32 MB / 0.7136 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.0005215/0.6609, allocations: 410.2 kB / 1.014 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.6609, allocations: 9.656 kB / 1.014 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.6609, allocations: 11 kB / 1.014 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.381e-05/0.661, allocations: 178.3 kB / 1.014 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.6611, allocations: 7.156 kB / 1.014 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.6611, allocations: 3.5 kB / 1.014 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.6613, allocations: 73.31 kB / 1.014 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.6613, allocations: 0 / 1.014 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.6613, allocations: 7.031 kB / 1.014 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.6613, allocations: 2.25 kB / 1.014 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.6614, allocations: 39.92 kB / 1.014 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.662, allocations: 328.7 kB / 1.014 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.6621, allocations: 50.25 kB / 1.014 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.425e-05/0.6622, allocations: 38.19 kB / 1.014 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.6623, allocations: 1.844 kB / 1.014 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.6624, allocations: 80.14 kB / 1.014 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.6625, allocations: 1.062 kB / 1.014 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003785/0.6628, allocations: 153 kB / 1.015 GB, free: 56.28 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.6629, allocations: 54 kB / 1.015 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.283e-05/0.663, allocations: 117.8 kB / 1.015 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.663, allocations: 33.03 kB / 1.015 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.663, allocations: 92.53 kB / 1.015 GB, free: 56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.663, allocations: 14.06 kB / 1.015 GB, free: 56 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.6631, allocations: 2.594 kB / 1.015 GB, free: 56 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.58e-05/0.6631, allocations: 321.7 kB / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.903e-05/0.6632, allocations: 34.36 kB / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.081e-05/0.6633, allocations: 51.55 kB / 1.015 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.6634, allocations: 84.42 kB / 1.015 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.6635, allocations: 0 / 1.015 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002499/0.6637, allocations: 118.1 kB / 1.015 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.6637, allocations: 4.719 kB / 1.015 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.6637, allocations: 2.594 kB / 1.015 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.6638, allocations: 4.375 kB / 1.015 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.336e-05/0.6639, allocations: 13.45 kB / 1.015 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.6639, allocations: 6.453 kB / 1.015 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.626e-05/0.664, allocations: 20.5 kB / 1.015 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.664, allocations: 3.031 kB / 1.015 GB, free: 55.57 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.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 7.419e-05/0.6641, allocations: 122.1 kB / 1.016 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.6641, allocations: 2.938 kB / 1.016 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.6641, allocations: 12.44 kB / 1.016 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.6641, allocations: 0 / 1.016 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6641, allocations: 3.125 kB / 1.016 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6641, allocations: 0 / 1.016 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.6645, allocations: 392.6 kB / 1.016 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6645, allocations: 0 / 1.016 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.6646, allocations: 10.16 kB / 1.016 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.6646, allocations: 0 / 1.016 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.6646, allocations: 2.812 kB / 1.016 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6646, allocations: 1.719 kB / 1.016 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6646, allocations: 3.938 kB / 1.016 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.6648, allocations: 217.3 kB / 1.016 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.6649, allocations: 87.2 kB / 1.016 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.6649, allocations: 0 / 1.016 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/0.665, allocations: 7.688 kB / 1.016 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.665, allocations: 10.19 kB / 1.016 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.6651, allocations: 6.938 kB / 1.016 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.6651, allocations: 96.91 kB / 1.016 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6651, allocations: 1.719 kB / 1.016 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000269/0.6654, allocations: 37 kB / 1.016 GB, free: 54.83 MB / 0.7136 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 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.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.0003586/0.6657, allocations: 171.8 kB / 1.017 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002743/0.666, allocations: 79.23 kB / 1.017 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.666, allocations: 0 / 1.017 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.883e-05/0.6661, allocations: 39.09 kB / 1.017 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.6664, allocations: 11.31 kB / 1.017 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/0.6669, allocations: 206.7 kB / 1.017 GB, free: 54.58 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.667, allocations: 0.6895 MB / 1.018 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.436e-05/0.6671, allocations: 9.219 kB / 1.018 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.6671, allocations: 7.438 kB / 1.018 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.6671, allocations: 3.969 kB / 1.018 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of Templates: time 0.004031/0.6712, allocations: 1.342 MB / 1.019 GB, free: 53.8 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)