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.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.641/1.641, allocations: 291.7 MB / 306.8 MB, free: 7.66 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.001323/0.001323, allocations: 182.6 kB / 375.4 MB, free: 5.121 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.421/1.421, 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.0008089/0.0008089, allocations: 100.2 kB / 0.7699 GB, free: 50.27 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 12 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6061/0.6064, allocations: 118.1 MB / 1.011 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001448/0.6079, allocations: 1.212 MB / 1.012 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009314/0.6089, allocations: 0.668 MB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.6089, allocations: 2.594 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.6089, allocations: 6.234 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.541e-05/0.609, allocations: 6.953 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.6093, allocations: 98.88 kB / 1.013 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.044e-05/0.6094, allocations: 66.39 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.15e-05/0.6095, allocations: 14.44 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.731e-05/0.6096, allocations: 29.7 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.6097, allocations: 32.89 kB / 1.013 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.6097, allocations: 2.688 kB / 1.013 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.6099, allocations: 84.67 kB / 1.013 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.6099, allocations: 19.08 kB / 1.013 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.61, allocations: 35.2 kB / 1.013 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.6101, allocations: 94.94 kB / 1.013 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.6102, allocations: 3.875 kB / 1.013 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6102, allocations: 0 / 1.013 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.6102, allocations: 0 / 1.013 GB, free: 57.46 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.0005631/0.6107, allocations: 415.8 kB / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.6108, allocations: 8.75 kB / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.6108, allocations: 7.781 kB / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.011e-05/0.6109, allocations: 177 kB / 1.014 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.6109, allocations: 3.281 kB / 1.014 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.6109, allocations: 9.5 kB / 1.014 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.6111, allocations: 73.03 kB / 1.014 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.6111, allocations: 2.25 kB / 1.014 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.6111, allocations: 3.047 kB / 1.014 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.6112, allocations: 3.5 kB / 1.014 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.6113, allocations: 46.08 kB / 1.014 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.6118, allocations: 324.3 kB / 1.014 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.6119, allocations: 53.69 kB / 1.014 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.069e-05/0.612, allocations: 34.48 kB / 1.014 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.612, allocations: 4.641 kB / 1.014 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.6122, allocations: 75.98 kB / 1.014 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.6122, allocations: 0 / 1.014 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003278/0.6125, allocations: 152.4 kB / 1.015 GB, free: 56.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.6125, allocations: 59.92 kB / 1.015 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.545e-05/0.6126, allocations: 118.1 kB / 1.015 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.6126, allocations: 28.42 kB / 1.015 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.6127, allocations: 92.25 kB / 1.015 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.6127, allocations: 19.34 kB / 1.015 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.6127, allocations: 2.875 kB / 1.015 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.035e-05/0.6127, allocations: 322.7 kB / 1.015 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/0.6128, allocations: 32.19 kB / 1.015 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-05/0.6129, allocations: 52.59 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.613, allocations: 81.94 kB / 1.015 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.6131, allocations: 1.125 kB / 1.015 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002007/0.6133, allocations: 116.9 kB / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.6133, allocations: 5.719 kB / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6133, allocations: 1.75 kB / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.6133, allocations: 0 / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.483e-05/0.6134, allocations: 14.69 kB / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.6134, allocations: 4.453 kB / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.318e-05/0.6135, allocations: 18.64 kB / 1.015 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.6135, allocations: 4.656 kB / 1.015 GB, free: 55.72 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 5.636e-05/0.6136, allocations: 124.5 kB / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.6136, allocations: 2.938 kB / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.6136, allocations: 6.031 kB / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.6136, allocations: 7.094 kB / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6136, allocations: 0 / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.6136, allocations: 0 / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.614, allocations: 397.1 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.614, allocations: 1.812 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.614, allocations: 8.062 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.614, allocations: 0 / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.614, allocations: 2.812 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6141, allocations: 0 / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6141, allocations: 5.344 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.6143, allocations: 211.5 kB / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.6143, allocations: 86.05 kB / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.6143, allocations: 2.188 kB / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.6144, allocations: 13.03 kB / 1.016 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.6145, allocations: 14.53 kB / 1.016 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.6145, allocations: 3.281 kB / 1.016 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.956e-05/0.6145, allocations: 95.14 kB / 1.016 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6145, allocations: 0 / 1.016 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000248/0.6148, allocations: 37.09 kB / 1.016 GB, free: 54.97 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.0002761/0.6151, allocations: 177.3 kB / 1.017 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.6153, allocations: 82.3 kB / 1.017 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.6153, allocations: 0.8438 kB / 1.017 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.66e-05/0.6154, allocations: 37.75 kB / 1.017 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.6156, allocations: 7.094 kB / 1.017 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.6159, allocations: 211.1 kB / 1.017 GB, free: 54.72 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.53e-05/0.616, allocations: 0.6862 MB / 1.018 GB, free: 54.03 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.6161, allocations: 6.547 kB / 1.018 GB, free: 54.03 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.6161, allocations: 11.16 kB / 1.018 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/0.6161, allocations: 4.594 kB / 1.018 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of Templates: time 0.003208/0.6193, allocations: 1.343 MB / 1.019 GB, free: 53.94 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)