Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") 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.63/1.63, allocations: 297.4 MB / 312.6 MB, free: 2.895 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.001023/0.001023, allocations: 193.2 kB / 382.3 MB, free: 14.81 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.39/1.39, 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.0008633/0.0008634, allocations: 97.03 kB / 0.7789 GB, free: 46.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003468, allocations: 8.594 kB / 0.9058 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5767/0.5771, allocations: 119.2 MB / 1.022 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001591/0.5787, allocations: 1.207 MB / 1.023 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.5799, allocations: 0.9974 MB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.487e-05/0.58, allocations: 3.031 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.58, allocations: 7.875 kB / 1.024 GB, free: 56.56 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.221e-05/0.58, allocations: 6.562 kB / 1.024 GB, free: 56.56 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.5805, allocations: 111 kB / 1.025 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.644e-05/0.5806, allocations: 77.08 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.5807, allocations: 7.797 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.119e-05/0.5808, allocations: 35.2 kB / 1.025 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.91e-05/0.5809, allocations: 32.48 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.5809, allocations: 3.5 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.581, allocations: 87.53 kB / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.5811, allocations: 13.2 kB / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.5811, allocations: 54.86 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.5814, allocations: 141 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5814, allocations: 0 / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5814, allocations: 0.75 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.5814, allocations: 0 / 1.025 GB, free: 56.34 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.0005081/0.5819, allocations: 410.7 kB / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.582, allocations: 10.5 kB / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.582, allocations: 8.109 kB / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.419e-05/0.5821, allocations: 175.7 kB / 1.026 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.5821, allocations: 3.781 kB / 1.026 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.5822, allocations: 7.906 kB / 1.026 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.5823, allocations: 76.03 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.5824, allocations: 0 / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.5824, allocations: 1.5 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.5824, allocations: 1.375 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.5825, allocations: 45.88 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.5831, allocations: 321.6 kB / 1.026 GB, free: 55.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.5832, allocations: 52.84 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.673e-05/0.5833, allocations: 35.61 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.5833, allocations: 3.5 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.5835, allocations: 78.33 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.255e-06/0.5835, allocations: 1.641 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003805/0.5839, allocations: 149.3 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.5839, allocations: 55.97 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.584, allocations: 122.4 kB / 1.026 GB, free: 55.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.5841, allocations: 31.14 kB / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.5e-05/0.5841, allocations: 91.52 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.5841, allocations: 14.75 kB / 1.027 GB, free: 54.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.5841, allocations: 1.219 kB / 1.027 GB, free: 54.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.167e-05/0.5842, allocations: 323.9 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.417e-05/0.5843, allocations: 33.97 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.717e-05/0.5844, allocations: 59.36 kB / 1.027 GB, free: 54.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.5845, allocations: 93.44 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5845, allocations: 0.6094 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002226/0.5848, allocations: 122.5 kB / 1.027 GB, free: 54.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.5848, allocations: 9.719 kB / 1.027 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.5848, allocations: 0.7969 kB / 1.027 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5848, allocations: 1.5 kB / 1.027 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.449e-05/0.5849, allocations: 12.59 kB / 1.027 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5849, allocations: 7.406 kB / 1.027 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.897e-05/0.585, allocations: 14.97 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.585, allocations: 4.734 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.553e-05/0.5851, allocations: 132.3 kB / 1.027 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.5851, allocations: 1.438 kB / 1.027 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.5851, allocations: 9.609 kB / 1.027 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5851, allocations: 3.5 kB / 1.027 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5852, allocations: 0 / 1.027 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5852, allocations: 0.7031 kB / 1.027 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/0.5855, allocations: 392.5 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5855, allocations: 0 / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.5856, allocations: 7.844 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5856, allocations: 0 / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.5856, allocations: 1.125 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5856, allocations: 3.781 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5856, allocations: 5.438 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.5859, allocations: 219.6 kB / 1.028 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.5859, allocations: 81.62 kB / 1.028 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.5859, allocations: 4.922 kB / 1.028 GB, free: 53.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.586, allocations: 5.812 kB / 1.028 GB, free: 53.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.5861, allocations: 9.812 kB / 1.028 GB, free: 53.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.5861, allocations: 11.67 kB / 1.028 GB, free: 53.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.392e-05/0.5861, allocations: 95.52 kB / 1.028 GB, free: 53.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5861, allocations: 0 / 1.028 GB, free: 53.56 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002702/0.5864, allocations: 37.91 kB / 1.028 GB, free: 53.55 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 (win.sampleTrigger,$whenCondition1,occ.y,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 (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.0003091/0.5867, allocations: 172.4 kB / 1.028 GB, free: 53.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.587, allocations: 82.86 kB / 1.028 GB, free: 53.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.587, allocations: 0 / 1.028 GB, free: 53.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.297e-05/0.5871, allocations: 37.55 kB / 1.029 GB, free: 53.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.5873, allocations: 13.61 kB / 1.029 GB, free: 53.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.5877, allocations: 210.3 kB / 1.029 GB, free: 53.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.5878, allocations: 0.6872 MB / 1.029 GB, free: 52.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.812e-05/0.5878, allocations: 5.203 kB / 1.029 GB, free: 52.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.5879, allocations: 15.64 kB / 1.029 GB, free: 52.54 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.5879, allocations: 0 / 1.029 GB, free: 52.54 MB / 0.698 GB Notification: Performance of Templates: time 0.003468/0.5913, allocations: 1.356 MB / 1.031 GB, free: 52.41 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)