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.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.01258/0.01258, allocations: 223 kB / 15.17 MB, free: 5.926 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.001206/0.001206, allocations: 178.4 kB / 16.06 MB, free: 5.832 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.729/3.729, allocations: 389.1 MB / 405.9 MB, free: 13.32 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.295/4.295, allocations: 472.3 MB / 0.9017 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004836, allocations: 15.94 kB / 1.008 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6987/0.6992, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001939/0.7012, allocations: 1.202 MB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.7027, allocations: 0.7013 MB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.747e-05/0.7028, allocations: 0 / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.7028, allocations: 1.688 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.297e-05/0.7029, allocations: 10.88 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.7035, allocations: 92.19 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.7036, allocations: 68.05 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.945e-05/0.7037, allocations: 14.28 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.98e-05/0.7038, allocations: 32.25 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.916e-05/0.7039, allocations: 32.25 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.7039, allocations: 4.188 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002354/0.7042, allocations: 80.08 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.7042, allocations: 15.03 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.7043, allocations: 38.48 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.7045, allocations: 96.47 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.7045, allocations: 7.625 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7045, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.7045, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 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.000616/0.7051, allocations: 404.1 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.7052, allocations: 11.05 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.7053, allocations: 32.03 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.7053, allocations: 14.08 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.498e-05/0.7054, allocations: 177.6 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.7055, allocations: 7.625 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.7055, allocations: 4.438 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.7057, allocations: 73.05 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.7058, allocations: 0 / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.7058, allocations: 4.578 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.7058, allocations: 0 / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.706, allocations: 48.09 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007594/0.7068, allocations: 313.8 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.707, allocations: 54.33 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.7071, allocations: 34.48 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.7072, allocations: 2.156 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.7074, allocations: 82.09 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.7075, allocations: 0 / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0006205/0.7081, allocations: 151.6 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.7081, allocations: 60.92 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.697e-05/0.7082, allocations: 127 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.7083, allocations: 31.11 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.7083, allocations: 95.53 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.7084, allocations: 16.3 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.7084, allocations: 1.312 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.633e-05/0.7085, allocations: 318.5 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.7086, allocations: 34.33 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.7088, allocations: 51.17 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.7089, allocations: 33.41 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7089, allocations: 1.344 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003642/0.7093, allocations: 116.6 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.7093, allocations: 6.656 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.7094, allocations: 5.391 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.7094, allocations: 3.422 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.7096, allocations: 18.34 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.7096, allocations: 4.25 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.7097, allocations: 16.45 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.7097, allocations: 4 kB / 1.109 GB, free: 209.5 MB / 0.7292 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.257e-05/0.7098, allocations: 117.8 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.7099, allocations: 8.031 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.7099, allocations: 7.562 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.7099, allocations: 8.016 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.7099, allocations: 0 / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.7099, allocations: 1.172 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006052/0.7106, allocations: 387.3 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7106, allocations: 0 / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.7107, allocations: 7.844 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.7107, allocations: 6.812 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.7107, allocations: 5.156 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.7107, allocations: 1.938 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7107, allocations: 0 / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.7111, allocations: 225 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.211e-05/0.7112, allocations: 82.27 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.7112, allocations: 6.969 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.7114, allocations: 6.984 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.7114, allocations: 6 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.7114, allocations: 2.188 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.589e-05/0.7115, allocations: 96.44 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7115, allocations: 2.562 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004335/0.712, allocations: 43.88 kB / 1.11 GB, free: 208.7 MB / 0.7292 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.0008895/0.7129, allocations: 0.8094 MB / 1.11 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003548/0.7132, allocations: 73.11 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7132, allocations: 4 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.7134, allocations: 42 kB / 1.111 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.7138, allocations: 13.89 kB / 1.111 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.7152, allocations: 0.602 MB / 1.111 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.7154, allocations: 0.6894 MB / 1.112 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.686e-05/0.7155, allocations: 6.641 kB / 1.112 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.167e-05/0.7156, allocations: 22.12 kB / 1.112 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of SimCode: time 1.272e-06/0.7156, allocations: 1.219 kB / 1.112 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.7371, allocations: 2.33 MB / 1.114 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/0.7374, allocations: 244.3 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/3.175, allocations: 1.094 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB