Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") 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.645/1.645, allocations: 297.4 MB / 312.6 MB, free: 2.93 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.001258/0.001258, allocations: 190 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.41/1.41, 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.0008116/0.0008116, allocations: 100.4 kB / 0.7789 GB, free: 47.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003276, allocations: 8 kB / 0.9058 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6086/0.6089, allocations: 119.2 MB / 1.022 GB, free: 58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001986/0.611, allocations: 1.293 MB / 1.024 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.6126, allocations: 1.047 MB / 1.025 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.749e-05/0.6127, allocations: 1.406 kB / 1.025 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.6128, allocations: 9 kB / 1.025 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.215e-05/0.6129, allocations: 18.22 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006609/0.6136, allocations: 125.8 kB / 1.025 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.6138, allocations: 127.2 kB / 1.025 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.6139, allocations: 16.05 kB / 1.025 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.614, allocations: 56.19 kB / 1.025 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.6142, allocations: 68.56 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.6142, allocations: 5.844 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.6144, allocations: 86.34 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.011e-05/0.6145, allocations: 26.42 kB / 1.025 GB, free: 56.44 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.497e-05/0.6146, allocations: 75.17 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.6149, allocations: 179.9 kB / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.615, allocations: 0.6562 kB / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.615, allocations: 0 / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.615, allocations: 1.094 kB / 1.025 GB, free: 56.35 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006642/0.6156, allocations: 474.7 kB / 1.026 GB, free: 55.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.6157, allocations: 9.25 kB / 1.026 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.6157, allocations: 14.31 kB / 1.026 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.6159, allocations: 186.2 kB / 1.026 GB, free: 55.67 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.6159, allocations: 7.656 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.6159, allocations: 10.45 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.6162, allocations: 103 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.6162, allocations: 0 / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.6162, allocations: 0 / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.6162, allocations: 2.906 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.6165, allocations: 72.97 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008102/0.6173, allocations: 384.8 kB / 1.027 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.6175, allocations: 74.73 kB / 1.027 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.6176, allocations: 56.52 kB / 1.027 GB, free: 55.22 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.6177, allocations: 1.031 kB / 1.027 GB, free: 55.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002597/0.6179, allocations: 109.3 kB / 1.027 GB, free: 55.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.6179, allocations: 0.7812 kB / 1.027 GB, free: 55.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0005671/0.6185, allocations: 236.8 kB / 1.027 GB, free: 55.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.6186, allocations: 55.55 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.6187, allocations: 151 kB / 1.027 GB, free: 54.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.6187, allocations: 35.89 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.6187, allocations: 99.22 kB / 1.027 GB, free: 54.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.6188, allocations: 19.8 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-06/0.6188, allocations: 4 kB / 1.027 GB, free: 54.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.906e-05/0.6188, allocations: 320.1 kB / 1.028 GB, free: 54.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.619, allocations: 50.69 kB / 1.028 GB, free: 54.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.6191, allocations: 75.98 kB / 1.028 GB, free: 54.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.6193, allocations: 124.9 kB / 1.028 GB, free: 54.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6193, allocations: 0 / 1.028 GB, free: 54.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002881/0.6196, allocations: 167.3 kB / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6196, allocations: 9.688 kB / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6197, allocations: 2.562 kB / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.6197, allocations: 2.625 kB / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.6198, allocations: 35.2 kB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.6198, allocations: 3.938 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.673e-05/0.6199, allocations: 15.41 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.62, allocations: 4.969 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.672e-05/0.62, allocations: 125.7 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.6201, allocations: 10.81 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.6201, allocations: 19.06 kB / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.6201, allocations: 0 / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.6201, allocations: 7.25 kB / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.6201, allocations: 0 / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/0.6207, allocations: 471.4 kB / 1.029 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.6207, allocations: 4 kB / 1.029 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.811e-05/0.6208, allocations: 7.062 kB / 1.029 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.6208, allocations: 4.547 kB / 1.029 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.6208, allocations: 4.609 kB / 1.029 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.6208, allocations: 3.422 kB / 1.029 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6208, allocations: 480 / 1.029 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.6212, allocations: 277.1 kB / 1.029 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/0.6212, allocations: 92.2 kB / 1.029 GB, free: 53.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.6212, allocations: 7.578 kB / 1.029 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.6214, allocations: 8.031 kB / 1.029 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.6214, allocations: 6.844 kB / 1.029 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.6214, allocations: 10.83 kB / 1.029 GB, free: 53.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.104e-05/0.6215, allocations: 106.6 kB / 1.029 GB, free: 53.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6215, allocations: 0 / 1.029 GB, free: 53.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002886/0.6218, allocations: 50.3 kB / 1.029 GB, free: 53.26 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003506/0.6222, allocations: 179.1 kB / 1.029 GB, free: 53.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.6225, allocations: 119 kB / 1.03 GB, free: 53.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6225, allocations: 0 / 1.03 GB, free: 53.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.6227, allocations: 63.11 kB / 1.03 GB, free: 53.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.6229, allocations: 16.64 kB / 1.03 GB, free: 53.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.6234, allocations: 263.6 kB / 1.03 GB, free: 52.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.6235, allocations: 0.698 MB / 1.031 GB, free: 52.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.371e-05/0.6236, allocations: 6.109 kB / 1.031 GB, free: 52.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.6236, allocations: 11.47 kB / 1.031 GB, free: 52.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.9e-07/0.6236, allocations: 4 kB / 1.031 GB, free: 52.2 MB / 0.698 GB Notification: Performance of Templates: time 0.004381/0.628, allocations: 1.822 MB / 1.032 GB, free: 52.05 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)