Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01334/0.01334, allocations: 107.1 kB / 15.06 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001662/0.001662, allocations: 181.5 kB / 15.95 MB, free: 5.516 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.418/2.418, allocations: 194.6 MB / 211.3 MB, free: 11 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.527/2.527, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004882, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6992/0.6997, allocations: 98.73 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002271/0.7021, allocations: 1.262 MB / 0.6847 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001892/0.704, allocations: 0.7534 MB / 0.6854 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.7042, allocations: 1.406 kB / 0.6854 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.837e-05/0.7042, allocations: 6.281 kB / 0.6854 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.7043, allocations: 23.48 kB / 0.6854 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000755/0.7051, allocations: 110.8 kB / 0.6855 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.7053, allocations: 78.25 kB / 0.6856 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.7054, allocations: 16.69 kB / 0.6856 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.7056, allocations: 53.59 kB / 0.6857 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.7058, allocations: 66.69 kB / 0.6857 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.7058, allocations: 4.969 kB / 0.6858 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.7061, allocations: 72.19 kB / 0.6858 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.7062, allocations: 25.09 kB / 0.6858 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.7062, allocations: 41.95 kB / 0.6859 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.7066, allocations: 131.9 kB / 0.686 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.7066, allocations: 4 kB / 0.686 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7066, allocations: 0 / 0.686 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.7066, allocations: 0 / 0.686 GB, free: 15.16 MB / 0.5261 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.0008774/0.7075, allocations: 465.7 kB / 0.6865 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.7076, allocations: 9 kB / 0.6865 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.253e-05/0.7076, allocations: 37.36 kB / 0.6865 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.7077, allocations: 18.2 kB / 0.6865 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.7078, allocations: 184 kB / 0.6867 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.7079, allocations: 7.781 kB / 0.6867 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.7079, allocations: 5.297 kB / 0.6867 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/0.7083, allocations: 100.1 kB / 0.6868 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.7084, allocations: 1.188 kB / 0.6868 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.7084, allocations: 4.609 kB / 0.6868 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.7084, allocations: 1.031 kB / 0.6868 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.7088, allocations: 74.69 kB / 0.6869 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.7101, allocations: 389.5 kB / 0.6873 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.7104, allocations: 69.5 kB / 0.6873 GB, free: 14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.7105, allocations: 1.312 kB / 0.6873 GB, free: 14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003699/0.7109, allocations: 115.5 kB / 0.6874 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 2.905e-06/0.7109, allocations: 0 / 0.6874 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0009721/0.7119, allocations: 234.1 kB / 0.6877 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.7119, allocations: 59.03 kB / 0.6877 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.7121, allocations: 138.3 kB / 0.6878 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.7122, allocations: 31.84 kB / 0.6879 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.491e-05/0.7122, allocations: 98.48 kB / 0.688 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.7123, allocations: 16.64 kB / 0.688 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.7123, allocations: 5.094 kB / 0.688 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.311e-05/0.7124, allocations: 326 kB / 0.6883 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.7126, allocations: 40.55 kB / 0.6883 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.7129, allocations: 83.45 kB / 0.6884 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.7131, allocations: 46.84 kB / 0.6885 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.7131, allocations: 9.062 kB / 0.6885 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006398/0.7138, allocations: 167.6 kB / 0.6886 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.7138, allocations: 6.703 kB / 0.6886 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.7138, allocations: 1.281 kB / 0.6886 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.7139, allocations: 5.297 kB / 0.6886 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.7141, allocations: 24.41 kB / 0.6887 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.7142, allocations: 6.312 kB / 0.6887 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.7144, allocations: 14.39 kB / 0.6887 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.7144, allocations: 8.344 kB / 0.6887 GB, free: 13 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.7146, allocations: 118.4 kB / 0.6888 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.7146, allocations: 9.141 kB / 0.6888 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.7147, allocations: 11.59 kB / 0.6888 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.7147, allocations: 10.02 kB / 0.6888 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.7147, allocations: 4.5 kB / 0.6888 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.7147, allocations: 0.6562 kB / 0.6888 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009883/0.7157, allocations: 469.9 kB / 0.6893 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.7157, allocations: 8.062 kB / 0.6893 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.7159, allocations: 10.69 kB / 0.6893 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.7159, allocations: 5.828 kB / 0.6893 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.7159, allocations: 7.453 kB / 0.6893 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.7159, allocations: 1.594 kB / 0.6893 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7159, allocations: 0 / 0.6893 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006705/0.7166, allocations: 276.1 kB / 0.6896 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.7167, allocations: 93.09 kB / 0.6897 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.7167, allocations: 10.3 kB / 0.6897 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.7169, allocations: 8.453 kB / 0.6897 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/0.717, allocations: 7.266 kB / 0.6897 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.7171, allocations: 8.719 kB / 0.6897 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.28e-05/0.7172, allocations: 109.7 kB / 0.6898 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7172, allocations: 0 / 0.6898 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005553/0.7177, allocations: 45.08 kB / 0.6899 GB, free: 12.09 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001274/0.719, allocations: 0.8724 MB / 0.6907 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005983/0.7197, allocations: 127.3 kB / 0.6908 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7197, allocations: 0 / 0.6908 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.72, allocations: 59.45 kB / 0.6909 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.7203, allocations: 14.78 kB / 0.6909 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.7215, allocations: 1.09 MB / 0.692 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.7217, allocations: 0.7041 MB / 0.6926 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.7218, allocations: 10.34 kB / 0.6927 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.166e-05/0.7219, allocations: 26.72 kB / 0.6927 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of SimCode: time 1.011e-06/0.7219, allocations: 1.156 kB / 0.6927 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.7464, allocations: 2.987 MB / 0.6956 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/0.7466, allocations: 253.2 kB / 0.6958 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/3.247, allocations: 0 / 0.6958 GB, free: 8.891 MB / 0.5261 GB