Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") 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.781/1.781, allocations: 297.4 MB / 312.6 MB, free: 2.949 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.0009579/0.0009581, 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.354/1.354, allocations: 225.7 MB / 0.6617 GB, free: 7.211 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.0009731/0.0009732, allocations: 95.84 kB / 0.7789 GB, free: 46.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 8 kB / 0.9058 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6235/0.6239, allocations: 119.2 MB / 1.022 GB, free: 58.23 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001861/0.6258, allocations: 1.208 MB / 1.023 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.6271, allocations: 0.997 MB / 1.024 GB, free: 56.94 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.6271, allocations: 0 / 1.024 GB, free: 56.94 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.6271, allocations: 5.641 kB / 1.024 GB, free: 56.94 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.856e-05/0.6272, allocations: 8.672 kB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.6277, allocations: 111.6 kB / 1.025 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.759e-05/0.6278, allocations: 69.27 kB / 1.025 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.128e-05/0.6279, allocations: 10.3 kB / 1.025 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/0.628, allocations: 36.12 kB / 1.025 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.296e-05/0.6281, allocations: 33.8 kB / 1.025 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.6281, allocations: 2.75 kB / 1.025 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.6283, allocations: 87.81 kB / 1.025 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.6283, allocations: 14.34 kB / 1.025 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.6284, allocations: 55.05 kB / 1.025 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.6286, allocations: 139.3 kB / 1.025 GB, free: 56.72 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6286, allocations: 2.062 kB / 1.025 GB, free: 56.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.013e-06/0.6287, allocations: 1 kB / 1.025 GB, free: 56.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.6287, allocations: 0 / 1.025 GB, free: 56.72 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.0005203/0.6292, allocations: 405.6 kB / 1.025 GB, free: 56.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.6292, allocations: 10.44 kB / 1.025 GB, free: 56.31 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.6293, allocations: 9.312 kB / 1.025 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.891e-05/0.6294, allocations: 177 kB / 1.026 GB, free: 56.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.6294, allocations: 7 kB / 1.026 GB, free: 56.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.6294, allocations: 4.406 kB / 1.026 GB, free: 56.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.6296, allocations: 77.11 kB / 1.026 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.6297, allocations: 0.7031 kB / 1.026 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.6297, allocations: 4 kB / 1.026 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.6297, allocations: 1.469 kB / 1.026 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.6298, allocations: 47.89 kB / 1.026 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.6304, allocations: 323.8 kB / 1.026 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.6305, allocations: 48.95 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.448e-05/0.6306, allocations: 37.08 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.6306, allocations: 1.312 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.6309, allocations: 89.38 kB / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.6309, allocations: 0 / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004221/0.6313, allocations: 150.6 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.6314, allocations: 55.83 kB / 1.026 GB, free: 55.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/0.6315, allocations: 118.2 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.6315, allocations: 31.89 kB / 1.026 GB, free: 55.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.6315, allocations: 91.52 kB / 1.027 GB, free: 55.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.6316, allocations: 14.77 kB / 1.027 GB, free: 55.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.6316, allocations: 2.781 kB / 1.027 GB, free: 55.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.428e-05/0.6317, allocations: 322.9 kB / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.639e-05/0.6317, allocations: 33.27 kB / 1.027 GB, free: 54.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.46e-05/0.6318, allocations: 55.86 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.632, allocations: 82.28 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.632, allocations: 0 / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002034/0.6322, allocations: 114.3 kB / 1.027 GB, free: 54.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.6322, allocations: 6.906 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.6322, allocations: 7.062 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.6323, allocations: 3.375 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.085e-05/0.6324, allocations: 16.75 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.6324, allocations: 7.75 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.6324, allocations: 13.66 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.6325, allocations: 2.5 kB / 1.027 GB, free: 54.79 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.09e-05/0.6325, allocations: 121.1 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.6326, allocations: 10.03 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.6326, allocations: 11.22 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6326, allocations: 0 / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6326, allocations: 2.016 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.6326, allocations: 2.5 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.633, allocations: 391.5 kB / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.633, allocations: 4.969 kB / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.633, allocations: 4.812 kB / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.633, allocations: 1.5 kB / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.633, allocations: 1.688 kB / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6331, allocations: 0.9688 kB / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6331, allocations: 3.938 kB / 1.028 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.6333, allocations: 220.6 kB / 1.028 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.6333, allocations: 81.61 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.6334, allocations: 5.469 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.169e-05/0.6335, allocations: 5.219 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.329e-05/0.6336, allocations: 9.453 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.6336, allocations: 2.234 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.913e-05/0.6336, allocations: 91.14 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6336, allocations: 5.125 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000292/0.6339, allocations: 42.69 kB / 1.028 GB, free: 53.95 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,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 (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.0003728/0.6343, allocations: 178.2 kB / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.6346, allocations: 78.83 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6346, allocations: 1.188 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.672e-05/0.6347, allocations: 47.17 kB / 1.029 GB, free: 53.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.6349, allocations: 1.766 kB / 1.029 GB, free: 53.81 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.6353, allocations: 204.8 kB / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.6354, allocations: 0.6886 MB / 1.029 GB, free: 52.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.941e-05/0.6355, allocations: 8.859 kB / 1.029 GB, free: 52.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.6355, allocations: 13.28 kB / 1.029 GB, free: 52.94 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.6355, allocations: 0 / 1.029 GB, free: 52.94 MB / 0.698 GB Notification: Performance of Templates: time 0.003919/0.6394, allocations: 1.365 MB / 1.031 GB, free: 52.8 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)