Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.889/1.889, allocations: 306.1 MB / 321.4 MB, free: 10.68 MB / 250.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.001071/0.001071, allocations: 175.5 kB / 393.1 MB, free: 4.07 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.535/1.535, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009333/0.0009332, allocations: 95.8 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004084, allocations: 8 kB / 0.9224 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.609/0.6094, allocations: 121.3 MB / 1.041 GB, free: 58.54 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001735/0.6112, allocations: 1.296 MB / 1.042 GB, free: 57.68 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.6127, allocations: 1.042 MB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.6127, allocations: 3.938 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.359e-05/0.6128, allocations: 3.344 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.887e-05/0.6128, allocations: 21.28 kB / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.6134, allocations: 121.8 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.6136, allocations: 134.6 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.6137, allocations: 16.53 kB / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.6138, allocations: 50.5 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.6139, allocations: 69.2 kB / 1.044 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.6139, allocations: 7.031 kB / 1.044 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.6141, allocations: 91.55 kB / 1.044 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.6142, allocations: 23.61 kB / 1.044 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.135e-05/0.6142, allocations: 70.12 kB / 1.044 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.6145, allocations: 184.7 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6145, allocations: 3.016 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6145, allocations: 2.469 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.6146, allocations: 0 / 1.044 GB, free: 56.48 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.0006417/0.6152, allocations: 474.9 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.6152, allocations: 9.406 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.6153, allocations: 12.31 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.294e-05/0.6154, allocations: 177.2 kB / 1.045 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.6154, allocations: 11.41 kB / 1.045 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.6155, allocations: 6.656 kB / 1.045 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.6157, allocations: 103.6 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.6157, allocations: 0 / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.6157, allocations: 4 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.6158, allocations: 2.281 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.616, allocations: 69.52 kB / 1.045 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000814/0.6168, allocations: 390 kB / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.617, allocations: 73.33 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.6171, allocations: 60.14 kB / 1.045 GB, free: 55.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.6172, allocations: 1.078 kB / 1.045 GB, free: 55.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/0.6174, allocations: 109.9 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.6174, allocations: 0 / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0005669/0.618, allocations: 226.7 kB / 1.046 GB, free: 55.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.618, allocations: 62.67 kB / 1.046 GB, free: 55.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.6182, allocations: 149 kB / 1.046 GB, free: 55.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.6182, allocations: 32.11 kB / 1.046 GB, free: 54.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.6182, allocations: 98.97 kB / 1.046 GB, free: 54.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.6183, allocations: 23.12 kB / 1.046 GB, free: 54.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.6183, allocations: 0 / 1.046 GB, free: 54.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.047e-05/0.6184, allocations: 325.8 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.6185, allocations: 39.77 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.6186, allocations: 88.09 kB / 1.046 GB, free: 54.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.6188, allocations: 120.8 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6189, allocations: 1.688 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003141/0.6192, allocations: 164.6 kB / 1.047 GB, free: 54.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.6192, allocations: 13.84 kB / 1.047 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.6192, allocations: 0 / 1.047 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.6192, allocations: 1.594 kB / 1.047 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.6194, allocations: 24.61 kB / 1.047 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.6194, allocations: 7.938 kB / 1.047 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.6195, allocations: 27.11 kB / 1.047 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.6195, allocations: 3.844 kB / 1.047 GB, free: 54.3 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.662e-05/0.6196, allocations: 119.4 kB / 1.047 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.6196, allocations: 11.78 kB / 1.047 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.6197, allocations: 14.86 kB / 1.047 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6197, allocations: 384 / 1.047 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6197, allocations: 3.938 kB / 1.047 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.6197, allocations: 1.188 kB / 1.047 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005461/0.6203, allocations: 473.2 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.6203, allocations: 0 / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.465e-05/0.6203, allocations: 18.94 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6203, allocations: 3.938 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.6204, allocations: 5.594 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6204, allocations: 0 / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6204, allocations: 0 / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.6207, allocations: 278.7 kB / 1.048 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.6208, allocations: 95.27 kB / 1.048 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.6208, allocations: 2.781 kB / 1.048 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.6209, allocations: 9.266 kB / 1.048 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.621, allocations: 10.5 kB / 1.048 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.621, allocations: 11.62 kB / 1.048 GB, free: 53.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.462e-05/0.6211, allocations: 104.4 kB / 1.048 GB, free: 53.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6211, allocations: 1.125 kB / 1.048 GB, free: 53.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003959/0.6215, allocations: 44.62 kB / 1.048 GB, free: 53.4 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.0003514/0.6219, allocations: 171.8 kB / 1.048 GB, free: 53.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000316/0.6222, allocations: 119.3 kB / 1.048 GB, free: 53.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6222, allocations: 0 / 1.048 GB, free: 53.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.6223, allocations: 61.19 kB / 1.048 GB, free: 53.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.6226, allocations: 21.03 kB / 1.048 GB, free: 53.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.623, allocations: 268.4 kB / 1.048 GB, free: 53.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.6232, allocations: 0.7005 MB / 1.049 GB, free: 52.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.309e-05/0.6233, allocations: 8.734 kB / 1.049 GB, free: 52.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.6233, allocations: 12.48 kB / 1.049 GB, free: 52.32 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.6233, allocations: 0 / 1.049 GB, free: 52.32 MB / 0.698 GB Notification: Performance of Templates: time 0.004363/0.6277, allocations: 1.827 MB / 1.051 GB, free: 52.17 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)