Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") 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.727/1.727, allocations: 297.4 MB / 312.6 MB, free: 2.922 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.001106/0.001107, allocations: 180.9 kB / 382.3 MB, free: 14.82 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.406/1.406, allocations: 225.7 MB / 0.6617 GB, free: 7.215 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.000742/0.0007421, allocations: 95.17 kB / 0.7789 GB, free: 46.85 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003737, allocations: 8 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6111/0.6115, allocations: 119.2 MB / 1.022 GB, free: 57.9 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001687/0.6133, allocations: 1.206 MB / 1.023 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.6145, allocations: 0.9976 MB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.6146, allocations: 1.25 kB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.6146, allocations: 6.109 kB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.766e-05/0.6147, allocations: 6.984 kB / 1.024 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.6152, allocations: 105.9 kB / 1.025 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.6153, allocations: 69.38 kB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.6154, allocations: 19.7 kB / 1.025 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.696e-05/0.6155, allocations: 31.45 kB / 1.025 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.6156, allocations: 30.64 kB / 1.025 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.6156, allocations: 3.281 kB / 1.025 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.6158, allocations: 87.31 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.6158, allocations: 17.14 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.6159, allocations: 56.47 kB / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.6161, allocations: 138.3 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6161, allocations: 0 / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6161, allocations: 2.094 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.6161, allocations: 0 / 1.025 GB, free: 56.39 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.000513/0.6167, allocations: 410.2 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.6167, allocations: 8.719 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.6167, allocations: 11.73 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.91e-05/0.6168, allocations: 175.5 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.6169, allocations: 2.688 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.6169, allocations: 5.406 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.6171, allocations: 77.67 kB / 1.026 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.6171, allocations: 1.031 kB / 1.026 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.6171, allocations: 6.641 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.6171, allocations: 1.062 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.6172, allocations: 46.66 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.6178, allocations: 327.8 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.6179, allocations: 45.62 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.45e-05/0.618, allocations: 36.2 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.6181, allocations: 2.531 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.6183, allocations: 87.86 kB / 1.026 GB, free: 55.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.6183, allocations: 0 / 1.026 GB, free: 55.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003737/0.6186, allocations: 147 kB / 1.026 GB, free: 55.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.6187, allocations: 54.34 kB / 1.026 GB, free: 55.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.634e-05/0.6188, allocations: 126.5 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.6188, allocations: 27.17 kB / 1.027 GB, free: 55.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.6188, allocations: 94.94 kB / 1.027 GB, free: 54.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.6189, allocations: 12.88 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.6189, allocations: 0 / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.6189, allocations: 326.1 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.619, allocations: 31.3 kB / 1.027 GB, free: 54.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.525e-05/0.6191, allocations: 49.23 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.6193, allocations: 80.33 kB / 1.027 GB, free: 54.53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6193, allocations: 6.188 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002111/0.6195, allocations: 118.6 kB / 1.027 GB, free: 54.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.6195, allocations: 5.406 kB / 1.027 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6195, allocations: 3.938 kB / 1.027 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6195, allocations: 3.641 kB / 1.027 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.6196, allocations: 9.859 kB / 1.027 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.6197, allocations: 2.812 kB / 1.027 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.231e-05/0.6197, allocations: 18.94 kB / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.6197, allocations: 3.266 kB / 1.027 GB, free: 54.45 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.058e-05/0.6198, allocations: 126 kB / 1.027 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.6198, allocations: 5.344 kB / 1.027 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.6199, allocations: 7.984 kB / 1.027 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.6199, allocations: 2.219 kB / 1.027 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6199, allocations: 0 / 1.027 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.6199, allocations: 8.688 kB / 1.027 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.6203, allocations: 391.4 kB / 1.028 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6203, allocations: 0 / 1.028 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.6203, allocations: 7.203 kB / 1.028 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6203, allocations: 0.5156 kB / 1.028 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.6204, allocations: 0.7969 kB / 1.028 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6204, allocations: 7.125 kB / 1.028 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6204, allocations: 3.938 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.6206, allocations: 226 kB / 1.028 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/0.6207, allocations: 80.42 kB / 1.028 GB, free: 53.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.6207, allocations: 0.75 kB / 1.028 GB, free: 53.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/0.6208, allocations: 11.56 kB / 1.028 GB, free: 53.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.6208, allocations: 9.219 kB / 1.028 GB, free: 53.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.6208, allocations: 1.312 kB / 1.028 GB, free: 53.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.3e-05/0.6209, allocations: 97.28 kB / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6209, allocations: 0 / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002813/0.6212, allocations: 36.23 kB / 1.028 GB, free: 53.61 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.0003951/0.6216, allocations: 182.7 kB / 1.028 GB, free: 53.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002728/0.6219, allocations: 78.03 kB / 1.028 GB, free: 53.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6219, allocations: 0 / 1.028 GB, free: 53.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.622, allocations: 45.34 kB / 1.029 GB, free: 53.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.6222, allocations: 5.312 kB / 1.029 GB, free: 53.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.6226, allocations: 204.3 kB / 1.029 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.6228, allocations: 0.6928 MB / 1.029 GB, free: 52.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.002e-05/0.6228, allocations: 6.234 kB / 1.029 GB, free: 52.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.6229, allocations: 8.141 kB / 1.029 GB, free: 52.59 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.6229, allocations: 0.7812 kB / 1.029 GB, free: 52.59 MB / 0.698 GB Notification: Performance of Templates: time 0.004185/0.6271, allocations: 1.356 MB / 1.031 GB, free: 52.45 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)