Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.048/2.048, allocations: 306.1 MB / 321.4 MB, free: 10.71 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.001184/0.001184, allocations: 175.2 kB / 393.1 MB, free: 4.078 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.435/1.435, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0007832/0.0007833, allocations: 91.34 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003917, allocations: 8 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6544/0.6549, allocations: 121.3 MB / 1.041 GB, free: 58.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001582/0.6565, allocations: 1.214 MB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.6577, allocations: 0.9917 MB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.437e-05/0.6577, allocations: 1.406 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/0.6578, allocations: 3.938 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/0.6579, allocations: 13.03 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.6583, allocations: 101.1 kB / 1.043 GB, free: 56.76 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.975e-05/0.6584, allocations: 74.94 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.661e-05/0.6585, allocations: 9.938 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.413e-05/0.6586, allocations: 42 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.6587, allocations: 33.11 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.6587, allocations: 1.125 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.6589, allocations: 81.73 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/0.6589, allocations: 20.92 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.659, allocations: 48.31 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.6592, allocations: 143.4 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.6592, allocations: 1.125 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6592, allocations: 0 / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.6592, allocations: 0.8125 kB / 1.044 GB, free: 56.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.0005159/0.6597, allocations: 413.7 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.6598, allocations: 7.812 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.6598, allocations: 12.97 kB / 1.044 GB, free: 56.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.699e-05/0.6599, allocations: 171 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.6599, allocations: 4.984 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.6599, allocations: 4.656 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.6601, allocations: 72.7 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.6602, allocations: 3.094 kB / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.6602, allocations: 0 / 1.044 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.6602, allocations: 6.219 kB / 1.044 GB, free: 55.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.6603, allocations: 46.67 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/0.6609, allocations: 319.8 kB / 1.045 GB, free: 55.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.661, allocations: 56.67 kB / 1.045 GB, free: 55.56 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.549e-05/0.6611, allocations: 39.38 kB / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.6612, allocations: 1.469 kB / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.6614, allocations: 78.66 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.6614, allocations: 0.7969 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004132/0.6618, allocations: 151.2 kB / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.6618, allocations: 54.62 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.6619, allocations: 120.1 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.6619, allocations: 30.89 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.662, allocations: 94.77 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.662, allocations: 16.53 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.662, allocations: 3.938 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.6621, allocations: 323.6 kB / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/0.6622, allocations: 26.36 kB / 1.046 GB, free: 54.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.387e-05/0.6623, allocations: 61.19 kB / 1.046 GB, free: 54.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.6624, allocations: 85.8 kB / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6624, allocations: 0 / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002287/0.6627, allocations: 132.7 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6627, allocations: 6.531 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6627, allocations: 4.844 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.6627, allocations: 0 / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.863e-05/0.6628, allocations: 22.05 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.6628, allocations: 0 / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.625e-05/0.6629, allocations: 9.281 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.6629, allocations: 10.78 kB / 1.046 GB, free: 54.61 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.951e-05/0.663, allocations: 124.8 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.663, allocations: 6.469 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.6631, allocations: 10.34 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6631, allocations: 1.844 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.6631, allocations: 0 / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.6631, allocations: 0 / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.6634, allocations: 392.1 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6635, allocations: 0 / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.6635, allocations: 8.672 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.6635, allocations: 0 / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.6635, allocations: 0.625 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.6635, allocations: 2 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6635, allocations: 3.938 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.6638, allocations: 222.8 kB / 1.047 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.6638, allocations: 89.98 kB / 1.047 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.6638, allocations: 0 / 1.047 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.6639, allocations: 3.797 kB / 1.047 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.664, allocations: 19.95 kB / 1.047 GB, free: 53.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.664, allocations: 0 / 1.047 GB, free: 53.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.412e-05/0.664, allocations: 90.58 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.664, allocations: 1.812 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002706/0.6643, allocations: 37.62 kB / 1.047 GB, free: 53.77 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.0003976/0.6647, allocations: 179.4 kB / 1.047 GB, free: 53.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.6649, allocations: 79.36 kB / 1.047 GB, free: 53.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.665, allocations: 0 / 1.047 GB, free: 53.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.779e-05/0.6651, allocations: 43.64 kB / 1.047 GB, free: 53.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.6653, allocations: 3.531 kB / 1.047 GB, free: 53.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.6657, allocations: 210.8 kB / 1.047 GB, free: 53.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.6658, allocations: 0.6904 MB / 1.048 GB, free: 52.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.658e-05/0.6659, allocations: 5.469 kB / 1.048 GB, free: 52.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.6659, allocations: 15.67 kB / 1.048 GB, free: 52.74 MB / 0.698 GB Notification: Performance of SimCode: time 3.4e-07/0.6659, allocations: 0 / 1.048 GB, free: 52.74 MB / 0.698 GB Notification: Performance of Templates: time 0.003665/0.6696, allocations: 1.359 MB / 1.049 GB, free: 52.61 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)