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.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.01247/0.01247, allocations: 221.3 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.001188/0.001187, allocations: 178.4 kB / 16.06 MB, free: 5.871 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.782/3.782, allocations: 389.1 MB / 405.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.195/4.195, allocations: 472.3 MB / 0.9018 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004961/0.0004964, allocations: 12 kB / 1.008 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.603/0.6035, allocations: 98.72 MB / 1.104 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001681/0.6053, allocations: 1.2 MB / 1.105 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.6066, allocations: 0.6968 MB / 1.106 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.6067, allocations: 2.75 kB / 1.106 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.6067, allocations: 0 / 1.106 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.703e-05/0.6068, allocations: 7.875 kB / 1.106 GB, free: 8.711 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.6073, allocations: 99.69 kB / 1.106 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.6074, allocations: 63.83 kB / 1.106 GB, free: 8.551 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.881e-05/0.6075, allocations: 8.734 kB / 1.106 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 9.275e-05/0.6076, allocations: 37.17 kB / 1.106 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.518e-05/0.6077, allocations: 31.89 kB / 1.106 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.6077, allocations: 4 kB / 1.106 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.608, allocations: 84.78 kB / 1.106 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.608, allocations: 11.98 kB / 1.106 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.608, allocations: 35.2 kB / 1.106 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.6082, allocations: 101.4 kB / 1.106 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.6082, allocations: 0 / 1.106 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.045e-06/0.6082, allocations: 0 / 1.106 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.6083, allocations: 5.344 kB / 1.106 GB, free: 8.238 MB / 0.5105 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.0005943/0.6089, allocations: 405.4 kB / 1.107 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.6089, allocations: 12.88 kB / 1.107 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.609, allocations: 34.56 kB / 1.107 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.609, allocations: 11.86 kB / 1.107 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.279e-05/0.6091, allocations: 175.9 kB / 1.107 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.6091, allocations: 0 / 1.107 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.6092, allocations: 14.94 kB / 1.107 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.6094, allocations: 69.66 kB / 1.107 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.6094, allocations: 0 / 1.107 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.6095, allocations: 3.984 kB / 1.107 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.6095, allocations: 0 / 1.107 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.6097, allocations: 52.86 kB / 1.107 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006895/0.6104, allocations: 316 kB / 1.107 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.6106, allocations: 52.78 kB / 1.108 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.6107, allocations: 36.95 kB / 1.108 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.6108, allocations: 4.938 kB / 1.108 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.611, allocations: 88.83 kB / 1.108 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.611, allocations: 0 / 1.108 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.0005391/0.6116, allocations: 143.7 kB / 1.108 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.6116, allocations: 60.47 kB / 1.108 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.914e-05/0.6117, allocations: 121.8 kB / 1.108 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.6117, allocations: 26.55 kB / 1.108 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.6118, allocations: 96.25 kB / 1.108 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.6118, allocations: 16.52 kB / 1.108 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-06/0.6118, allocations: 0 / 1.108 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.347e-05/0.6119, allocations: 327.4 kB / 1.108 GB, free: 6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.612, allocations: 29.27 kB / 1.108 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.6122, allocations: 52.08 kB / 1.108 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.6123, allocations: 29.16 kB / 1.109 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6124, allocations: 4.516 kB / 1.109 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003779/0.6127, allocations: 112.6 kB / 1.109 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.6128, allocations: 8 kB / 1.109 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6128, allocations: 3.953 kB / 1.109 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.6128, allocations: 3.984 kB / 1.109 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.613, allocations: 16.66 kB / 1.109 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.613, allocations: 0.9844 kB / 1.109 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.6131, allocations: 20.7 kB / 1.109 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.6132, allocations: 4 kB / 1.109 GB, free: 5.715 MB / 0.5105 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 9.812e-05/0.6133, allocations: 115.5 kB / 1.109 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.6133, allocations: 7.906 kB / 1.109 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.6133, allocations: 12.44 kB / 1.109 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.6134, allocations: 11.94 kB / 1.109 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6134, allocations: 0 / 1.109 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6134, allocations: 0 / 1.109 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000576/0.614, allocations: 382.5 kB / 1.109 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.614, allocations: 0 / 1.109 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.275e-05/0.6141, allocations: 12 kB / 1.109 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.6141, allocations: 3.953 kB / 1.109 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.6141, allocations: 0 / 1.109 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6141, allocations: 0 / 1.109 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6141, allocations: 3.984 kB / 1.109 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.6145, allocations: 215.4 kB / 1.109 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.6145, allocations: 92.95 kB / 1.11 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.6146, allocations: 7.891 kB / 1.11 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.6147, allocations: 7.984 kB / 1.11 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.6148, allocations: 8 kB / 1.11 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.6148, allocations: 3.984 kB / 1.11 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.866e-05/0.6148, allocations: 91.92 kB / 1.11 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.7e-07/0.6149, allocations: 0 / 1.11 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004036/0.6153, allocations: 39.94 kB / 1.11 GB, free: 4.613 MB / 0.5105 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.0009247/0.6162, allocations: 0.8215 MB / 1.11 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003638/0.6166, allocations: 71.97 kB / 1.111 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6166, allocations: 0 / 1.111 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.6168, allocations: 43.91 kB / 1.111 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.6171, allocations: 15.17 kB / 1.111 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.6185, allocations: 0.6006 MB / 1.111 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.6186, allocations: 0.6887 MB / 1.112 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.839e-05/0.6187, allocations: 12.17 kB / 1.112 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.6188, allocations: 15.44 kB / 1.112 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of SimCode: time 1.142e-06/0.6188, allocations: 4 kB / 1.112 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.6455, allocations: 2.32 MB / 1.114 GB, free: 60 kB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003961/0.646, allocations: 256.9 kB / 1.114 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.042, allocations: 0 / 1.114 GB, free: 15.72 MB / 0.5261 GB