Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001254, allocations: 99.94 kB / 15.05 MB, free: 1.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001409, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005913/0.0005914, allocations: 16.38 kB / 0.6735 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2999, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001791/0.3017, allocations: 1.196 MB / 0.7883 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.303, allocations: 0.7221 MB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.3031, allocations: 4 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.3031, allocations: 3.984 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.975e-05/0.3032, allocations: 11.92 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.3038, allocations: 87.77 kB / 0.7891 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.891e-05/0.3039, allocations: 47.88 kB / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.304, allocations: 7.984 kB / 0.7891 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.3041, allocations: 35.91 kB / 0.7892 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.053e-05/0.3042, allocations: 31.89 kB / 0.7892 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.3042, allocations: 4 kB / 0.7892 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.3044, allocations: 71.81 kB / 0.7893 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.3044, allocations: 15.97 kB / 0.7893 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.3045, allocations: 37.64 kB / 0.7893 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.3047, allocations: 96.05 kB / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3047, allocations: 4 kB / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3047, allocations: 0 / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.3047, allocations: 4 kB / 0.7894 GB, free: 9.582 MB / 0.6075 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.0007208/0.3055, allocations: 404.8 kB / 0.7898 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3055, allocations: 8.031 kB / 0.7898 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.911e-05/0.3056, allocations: 7.906 kB / 0.7898 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.3057, allocations: 175 kB / 0.79 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.3058, allocations: 7.938 kB / 0.79 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.3058, allocations: 4 kB / 0.79 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.306, allocations: 69.66 kB / 0.7901 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.306, allocations: 7.938 kB / 0.7901 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.3061, allocations: 7.984 kB / 0.7901 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3061, allocations: 0 / 0.7901 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.3062, allocations: 39.98 kB / 0.7901 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/0.3069, allocations: 328.6 kB / 0.7904 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.307, allocations: 50.55 kB / 0.7905 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.3071, allocations: 0 / 0.7905 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.3073, allocations: 87.44 kB / 0.7906 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.3073, allocations: 0 / 0.7906 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000445/0.3078, allocations: 141.7 kB / 0.7907 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.3078, allocations: 63.36 kB / 0.7908 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3079, allocations: 125.7 kB / 0.7909 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.308, allocations: 29.7 kB / 0.7909 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.308, allocations: 88.33 kB / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.3081, allocations: 19.73 kB / 0.791 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-06/0.3081, allocations: 7.938 kB / 0.791 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3082, allocations: 314.8 kB / 0.7913 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.399e-05/0.3083, allocations: 31.97 kB / 0.7914 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.812e-05/0.3084, allocations: 50.56 kB / 0.7914 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.452e-05/0.3085, allocations: 31.98 kB / 0.7914 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3085, allocations: 0 / 0.7914 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002867/0.3088, allocations: 125.8 kB / 0.7916 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3088, allocations: 4 kB / 0.7916 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3088, allocations: 80 / 0.7916 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.3089, allocations: 7.938 kB / 0.7916 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.309, allocations: 11.98 kB / 0.7916 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.309, allocations: 7.922 kB / 0.7916 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/0.3091, allocations: 16.02 kB / 0.7916 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.3091, allocations: 8 kB / 0.7916 GB, free: 7.113 MB / 0.6075 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.0001062/0.3092, allocations: 113.8 kB / 0.7917 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.3092, allocations: 11.89 kB / 0.7917 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.3093, allocations: 8.375 kB / 0.7917 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3093, allocations: 0 / 0.7917 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3093, allocations: 0 / 0.7917 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.3093, allocations: 0 / 0.7917 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.3098, allocations: 394.4 kB / 0.7921 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3098, allocations: 0 / 0.7921 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.3099, allocations: 4 kB / 0.7921 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3099, allocations: 0 / 0.7921 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.3099, allocations: 7.984 kB / 0.7921 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3099, allocations: 4 kB / 0.7921 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3099, allocations: 3.953 kB / 0.7921 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.3102, allocations: 211.4 kB / 0.7923 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.3102, allocations: 85 kB / 0.7924 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.3103, allocations: 0 / 0.7924 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/0.3104, allocations: 8 kB / 0.7924 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.3104, allocations: 23.81 kB / 0.7924 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.3104, allocations: 4 kB / 0.7924 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.85e-05/0.3105, allocations: 91.27 kB / 0.7925 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.5e-07/0.3105, allocations: 0 / 0.7925 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003233/0.3108, allocations: 36 kB / 0.7926 GB, free: 6.027 MB / 0.6075 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.0004047/0.3113, allocations: 167.6 kB / 0.7927 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.3115, allocations: 79.89 kB / 0.7928 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3115, allocations: 0 / 0.7928 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.3116, allocations: 35.98 kB / 0.7928 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.3118, allocations: 8.109 kB / 0.7928 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.3123, allocations: 205.1 kB / 0.793 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.3126, allocations: 0.6926 MB / 0.7937 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.991e-05/0.3127, allocations: 8.188 kB / 0.7937 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.3127, allocations: 11.42 kB / 0.7937 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of SimCode: time 4e-07/0.3127, allocations: 0 / 0.7937 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of Templates: time 0.004517/0.3172, allocations: 1.337 MB / 0.795 GB, free: 3.461 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) Environment - environmentSimulation: