Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 107.4 kB / 16.36 MB, free: 6.41 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.001459/0.001459, allocations: 193.7 kB / 17.3 MB, free: 5.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.741/1.741, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001619/0.001619, allocations: 76.45 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2215, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003555/0.2251, allocations: 1.489 MB / 0.7862 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2265, allocations: 0.776 MB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.2266, allocations: 0 / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.154e-05/0.2267, allocations: 3.938 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.045e-05/0.2267, allocations: 7.875 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0006932/0.2274, allocations: 127.6 kB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.2276, allocations: 67.83 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.2277, allocations: 19.98 kB / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.913e-05/0.2278, allocations: 39.78 kB / 0.7873 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.85e-05/0.2279, allocations: 39.83 kB / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.2279, allocations: 8 kB / 0.7873 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.2281, allocations: 95.84 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.2282, allocations: 19.92 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.2282, allocations: 31.86 kB / 0.7874 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.2285, allocations: 139.6 kB / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2285, allocations: 0 / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2285, allocations: 0 / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2285, allocations: 4 kB / 0.7876 GB, free: 276 kB / 0.6544 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.3467/0.5752, allocations: 412.6 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5753, allocations: 12.22 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.5753, allocations: 8.781 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.152e-05/0.5754, allocations: 173.3 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.5754, allocations: 5.203 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.5755, allocations: 9.625 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.5757, allocations: 71.69 kB / 0.7882 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.5757, allocations: 0.8438 kB / 0.7882 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.5757, allocations: 3.938 kB / 0.7882 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5757, allocations: 0.9375 kB / 0.7882 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.5759, allocations: 42.67 kB / 0.7883 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.5764, allocations: 313.2 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.5765, allocations: 47.53 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.761e-05/0.5766, allocations: 36.67 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.5767, allocations: 1.406 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.5769, allocations: 82.44 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.5769, allocations: 0 / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003739/0.5773, allocations: 136.6 kB / 0.7889 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.5773, allocations: 61.66 kB / 0.7889 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.487e-05/0.5774, allocations: 131.2 kB / 0.7891 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.5774, allocations: 26.3 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.5774, allocations: 87.42 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.5775, allocations: 16.78 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.5775, allocations: 34.3 kB / 0.7892 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.5776, allocations: 318.7 kB / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.746e-05/0.5777, allocations: 27.19 kB / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.723e-05/0.5777, allocations: 52.56 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.5779, allocations: 72.81 kB / 0.7897 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.5779, allocations: 2.969 kB / 0.7897 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002109/0.5781, allocations: 112.9 kB / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.5781, allocations: 5.25 kB / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5781, allocations: 2.625 kB / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.5782, allocations: 0.5625 kB / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.865e-05/0.5783, allocations: 14.72 kB / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5783, allocations: 5.312 kB / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.555e-05/0.5784, allocations: 7.359 kB / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.5784, allocations: 5.25 kB / 0.7898 GB, free: 47.48 MB / 0.6544 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,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.696e-05/0.5784, allocations: 119 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.5785, allocations: 12.94 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.5785, allocations: 11.08 kB / 0.7899 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.5785, allocations: 2.625 kB / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5785, allocations: 2.297 kB / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.5785, allocations: 0 / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003411/0.5789, allocations: 384.4 kB / 0.7903 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5789, allocations: 0.5 kB / 0.7903 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.5789, allocations: 3.844 kB / 0.7903 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5789, allocations: 4.5 kB / 0.7903 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.579, allocations: 3.375 kB / 0.7903 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.579, allocations: 0 / 0.7903 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.579, allocations: 1.938 kB / 0.7903 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.5792, allocations: 215.6 kB / 0.7905 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.5792, allocations: 84.98 kB / 0.7906 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.5792, allocations: 1.5 kB / 0.7906 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.965e-05/0.5793, allocations: 6.969 kB / 0.7906 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.5794, allocations: 15.17 kB / 0.7906 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.5794, allocations: 2.406 kB / 0.7906 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.197e-05/0.5794, allocations: 97.28 kB / 0.7907 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5794, allocations: 3.594 kB / 0.7907 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002973/0.5797, allocations: 35.8 kB / 0.7908 GB, free: 46.75 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002793/0.58, allocations: 162.1 kB / 0.7909 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.5802, allocations: 74.98 kB / 0.791 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5803, allocations: 0.9062 kB / 0.791 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.824e-05/0.5804, allocations: 36.23 kB / 0.791 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.5806, allocations: 7.531 kB / 0.791 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.581, allocations: 177.3 kB / 0.7912 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.5811, allocations: 0.6913 MB / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.5811, allocations: 9.875 kB / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.5811, allocations: 11.23 kB / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.5812, allocations: 2.625 kB / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.003538/0.5847, allocations: 1.454 MB / 0.7933 GB, free: 45.78 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)