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.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.0125/0.01251, allocations: 223 kB / 15.17 MB, free: 6 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.001177/0.001177, allocations: 176 kB / 16.06 MB, free: 5.875 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 3.673/3.673, allocations: 389 MB / 405.9 MB, free: 67.64 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.299/4.299, allocations: 472.3 MB / 0.9017 GB, free: 13.41 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004882, allocations: 12 kB / 1.008 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6082/0.6088, allocations: 98.71 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002203/0.611, allocations: 1.198 MB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.6129, allocations: 0.6973 MB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.613, allocations: 2.625 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.613, allocations: 3.984 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.737e-05/0.6131, allocations: 11.88 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006457/0.6138, allocations: 92.27 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.6139, allocations: 55.84 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.614, allocations: 15.23 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.6142, allocations: 39.78 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.524e-05/0.6143, allocations: 27.91 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.6143, allocations: 4 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002804/0.6146, allocations: 84.78 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.6147, allocations: 11.97 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.6147, allocations: 40.61 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.615, allocations: 93.38 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.615, allocations: 3.938 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.894e-06/0.615, allocations: 0 / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.615, allocations: 0 / 1.106 GB, free: 181.4 MB / 0.6823 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.000744/0.6158, allocations: 413.7 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.6159, allocations: 12.03 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.6159, allocations: 34.55 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.616, allocations: 15.8 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.6161, allocations: 176.8 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.6162, allocations: 9.875 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.6162, allocations: 0 / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.6165, allocations: 75.39 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.6165, allocations: 0 / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.6166, allocations: 6.406 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.6166, allocations: 0 / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.6169, allocations: 47.92 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009251/0.6178, allocations: 317.1 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.6181, allocations: 52.12 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.6183, allocations: 33.72 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.6183, allocations: 6.188 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.6186, allocations: 79.33 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.046e-06/0.6186, allocations: 0.7812 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0007375/0.6194, allocations: 156.5 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.6195, allocations: 51.41 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.6196, allocations: 125.8 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.6196, allocations: 32.3 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.6197, allocations: 93.17 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.6197, allocations: 15.8 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.6198, allocations: 0 / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.6198, allocations: 318.8 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.62, allocations: 35.12 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.6202, allocations: 52.09 kB / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.6204, allocations: 37.5 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6205, allocations: 0 / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004902/0.621, allocations: 117.6 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.621, allocations: 8 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.621, allocations: 5.172 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.621, allocations: 3.5 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.6212, allocations: 22.36 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.6213, allocations: 0 / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.6214, allocations: 11.84 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.6215, allocations: 4 kB / 1.109 GB, free: 178.9 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.6216, allocations: 114.7 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.6216, allocations: 18.86 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.6217, allocations: 8.375 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.6217, allocations: 3.953 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.6217, allocations: 0 / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6217, allocations: 0 / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007441/0.6225, allocations: 387.2 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6225, allocations: 4.844 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.776e-05/0.6226, allocations: 4 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.6226, allocations: 3.953 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.6226, allocations: 5.547 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.6227, allocations: 0.625 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6227, allocations: 3.938 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.6232, allocations: 219.8 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.6232, allocations: 89 kB / 1.11 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.6233, allocations: 6.672 kB / 1.11 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.6235, allocations: 5.031 kB / 1.11 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.6236, allocations: 7.984 kB / 1.11 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.6236, allocations: 0 / 1.11 GB, free: 178 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.585e-05/0.6237, allocations: 95.27 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.91e-07/0.6237, allocations: 1.25 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006646/0.6244, allocations: 35.94 kB / 1.11 GB, free: 177.8 MB / 0.6823 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 (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.001161/0.6256, allocations: 0.8154 MB / 1.11 GB, free: 177 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004394/0.626, allocations: 75.94 kB / 1.111 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.626, allocations: 0 / 1.111 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.6263, allocations: 48.42 kB / 1.111 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.6268, allocations: 5.812 kB / 1.111 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.6286, allocations: 0.6067 MB / 1.111 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.6288, allocations: 0.6962 MB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.505e-05/0.6289, allocations: 4.188 kB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.629, allocations: 17.83 kB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of SimCode: time 8.71e-07/0.629, allocations: 4 kB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03189/0.6609, allocations: 2.331 MB / 1.114 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/0.6612, allocations: 243.8 kB / 1.114 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.02, allocations: 0 / 1.114 GB, free: 173.1 MB / 0.6823 GB