Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") 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.627/1.627, allocations: 297.4 MB / 312.6 MB, free: 2.953 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.001338/0.001338, allocations: 182 kB / 382.3 MB, free: 14.85 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.455/1.455, allocations: 225.7 MB / 0.6617 GB, free: 7.238 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.0009102/0.0009102, allocations: 86.73 kB / 0.7789 GB, free: 46.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005054/0.0005055, allocations: 15.98 kB / 0.9058 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6187/0.6192, allocations: 119.2 MB / 1.022 GB, free: 57.67 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001625/0.6209, allocations: 1.214 MB / 1.023 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.6221, allocations: 0.9994 MB / 1.024 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.6222, allocations: 0 / 1.024 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.6222, allocations: 4.562 kB / 1.024 GB, free: 56.37 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.848e-05/0.6223, allocations: 10.39 kB / 1.024 GB, free: 56.37 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005916/0.6229, allocations: 106.6 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.6231, allocations: 70.94 kB / 1.025 GB, free: 56.29 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.6232, allocations: 9.969 kB / 1.025 GB, free: 56.29 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.6233, allocations: 32.55 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.079e-05/0.6234, allocations: 29.38 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.6234, allocations: 8.062 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.6237, allocations: 83.7 kB / 1.025 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.026e-05/0.6237, allocations: 16.48 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.4e-05/0.6238, allocations: 58.78 kB / 1.025 GB, free: 56.19 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.6241, allocations: 133.7 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.6241, allocations: 1.375 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6241, allocations: 3.938 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.6241, allocations: 0 / 1.025 GB, free: 56.16 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.0006606/0.6248, allocations: 410.8 kB / 1.025 GB, free: 55.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.6249, allocations: 8.25 kB / 1.025 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.6249, allocations: 13.56 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.625, allocations: 171.4 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.6251, allocations: 4.562 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.6251, allocations: 3.781 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.6254, allocations: 77.3 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.6254, allocations: 0.625 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.6254, allocations: 3.062 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.6254, allocations: 0 / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.6256, allocations: 48.69 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006133/0.6262, allocations: 322.8 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.6263, allocations: 53.17 kB / 1.026 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.821e-05/0.6264, allocations: 39.33 kB / 1.026 GB, free: 55.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.6264, allocations: 1.781 kB / 1.026 GB, free: 55.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.6266, allocations: 88.28 kB / 1.026 GB, free: 55.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.6266, allocations: 0 / 1.026 GB, free: 55.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003693/0.627, allocations: 146.2 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.6271, allocations: 55.98 kB / 1.026 GB, free: 54.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.773e-05/0.6271, allocations: 123.2 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.6272, allocations: 29.39 kB / 1.026 GB, free: 54.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.6272, allocations: 89.83 kB / 1.027 GB, free: 54.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.6272, allocations: 12.41 kB / 1.027 GB, free: 54.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.6272, allocations: 0 / 1.027 GB, free: 54.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.993e-05/0.6273, allocations: 325.9 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.6274, allocations: 29.11 kB / 1.027 GB, free: 54.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.404e-05/0.6275, allocations: 64.58 kB / 1.027 GB, free: 54.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.6276, allocations: 77.58 kB / 1.027 GB, free: 54.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.6276, allocations: 0 / 1.027 GB, free: 54.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002037/0.6278, allocations: 123.8 kB / 1.027 GB, free: 54.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.6278, allocations: 10.75 kB / 1.027 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.6279, allocations: 0 / 1.027 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.6279, allocations: 2.234 kB / 1.027 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.445e-05/0.628, allocations: 15.56 kB / 1.027 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.628, allocations: 4.875 kB / 1.027 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.295e-05/0.6281, allocations: 13.52 kB / 1.027 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.6281, allocations: 6.531 kB / 1.027 GB, free: 54.22 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.065e-05/0.6282, allocations: 122.5 kB / 1.027 GB, free: 54.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.6282, allocations: 7 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.6282, allocations: 10.12 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6282, allocations: 0 / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.6282, allocations: 0 / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.6282, allocations: 4.312 kB / 1.027 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.6286, allocations: 390 kB / 1.028 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6286, allocations: 3.375 kB / 1.028 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.6287, allocations: 4.281 kB / 1.028 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.6287, allocations: 1.688 kB / 1.028 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.6287, allocations: 0 / 1.028 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.6287, allocations: 1.688 kB / 1.028 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6287, allocations: 3.938 kB / 1.028 GB, free: 53.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.6289, allocations: 222.4 kB / 1.028 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.629, allocations: 81.53 kB / 1.028 GB, free: 53.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.629, allocations: 1.562 kB / 1.028 GB, free: 53.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.017e-05/0.6291, allocations: 3.656 kB / 1.028 GB, free: 53.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.6291, allocations: 16.86 kB / 1.028 GB, free: 53.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.6291, allocations: 1.375 kB / 1.028 GB, free: 53.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.767e-05/0.6292, allocations: 99.98 kB / 1.028 GB, free: 53.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.21e-07/0.6292, allocations: 0 / 1.028 GB, free: 53.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002718/0.6295, allocations: 40.27 kB / 1.028 GB, free: 53.38 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.0003373/0.6298, allocations: 176.3 kB / 1.028 GB, free: 53.28 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.6301, allocations: 83.22 kB / 1.028 GB, free: 53.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.6301, allocations: 0 / 1.028 GB, free: 53.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.6302, allocations: 37.98 kB / 1.028 GB, free: 53.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.6304, allocations: 5.406 kB / 1.028 GB, free: 53.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.6308, allocations: 216.6 kB / 1.029 GB, free: 53.08 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.6309, allocations: 0.6899 MB / 1.029 GB, free: 52.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.574e-05/0.6309, allocations: 2.578 kB / 1.029 GB, free: 52.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.631, allocations: 11.83 kB / 1.029 GB, free: 52.38 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.631, allocations: 4 kB / 1.029 GB, free: 52.37 MB / 0.698 GB Notification: Performance of Templates: time 0.003656/0.6346, allocations: 1.355 MB / 1.031 GB, free: 52.25 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)