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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001928/0.001927, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.454/1.454, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.767/1.767, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001468/0.001468, allocations: 65.28 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2593, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.004841/0.2642, allocations: 1.492 MB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002375/0.2666, allocations: 0.7731 MB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.026e-05/0.2667, allocations: 3.938 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.633e-05/0.2668, allocations: 3.938 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.2669, allocations: 15.86 kB / 0.7857 GB, free: 11.06 MB / 0.6075 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.001005/0.268, allocations: 127.6 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000164/0.2681, allocations: 67.84 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2683, allocations: 15.92 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.2684, allocations: 35.91 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.2686, allocations: 35.89 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.2686, allocations: 4 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003534/0.269, allocations: 99.84 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.269, allocations: 19.92 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.154e-05/0.2691, allocations: 39.84 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.2695, allocations: 135.9 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2696, allocations: 0 / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2696, allocations: 0 / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.2696, allocations: 0 / 0.7863 GB, free: 10.49 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.0009727/0.2706, allocations: 417 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.2707, allocations: 11.97 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.649e-05/0.2707, allocations: 38.75 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.2708, allocations: 16.78 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.271, allocations: 172.2 kB / 0.7869 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.271, allocations: 384 / 0.7869 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.271, allocations: 8.359 kB / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.2713, allocations: 73.78 kB / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2713, allocations: 0 / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.2713, allocations: 0 / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2714, allocations: 0 / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.2716, allocations: 39.91 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008539/0.2724, allocations: 324.7 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.2726, allocations: 42.56 kB / 0.7874 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.2728, allocations: 36.97 kB / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.2728, allocations: 4 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003158/0.2731, allocations: 91.23 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.484e-06/0.2731, allocations: 0 / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006003/0.2737, allocations: 129.6 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.2738, allocations: 59.47 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.274, allocations: 129.8 kB / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.274, allocations: 25.7 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.2741, allocations: 96.06 kB / 0.7879 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.2741, allocations: 11.81 kB / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-05/0.2742, allocations: 29.7 kB / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2744, allocations: 326.8 kB / 0.7883 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.2745, allocations: 23.98 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.2747, allocations: 54.88 kB / 0.7883 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.275, allocations: 74.84 kB / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.275, allocations: 0 / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00039/0.2754, allocations: 113.5 kB / 0.7885 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.2754, allocations: 10.72 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.2754, allocations: 0 / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.2755, allocations: 4 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.2756, allocations: 15.92 kB / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.2757, allocations: 0 / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.2758, allocations: 4 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.2758, allocations: 8 kB / 0.7885 GB, free: 7.895 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,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 0.0001305/0.2759, allocations: 118.4 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.276, allocations: 15.89 kB / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.276, allocations: 8.375 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.276, allocations: 4 kB / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.2761, allocations: 0 / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2761, allocations: 0 / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006877/0.2768, allocations: 382.3 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2768, allocations: 0 / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.2768, allocations: 4 kB / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.2769, allocations: 11.98 kB / 0.7891 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.2769, allocations: 0 / 0.7891 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.2769, allocations: 3.938 kB / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.2769, allocations: 4 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/0.2774, allocations: 211.3 kB / 0.7893 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.2775, allocations: 89 kB / 0.7894 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.2775, allocations: 0 / 0.7894 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.2777, allocations: 11.94 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.2777, allocations: 7.984 kB / 0.7894 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.2778, allocations: 4 kB / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.768e-05/0.2779, allocations: 95.42 kB / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2779, allocations: 7.875 kB / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004994/0.2784, allocations: 36 kB / 0.7895 GB, free: 6.801 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 (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.001063/0.2794, allocations: 0.7974 MB / 0.7903 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003134/0.2798, allocations: 80.19 kB / 0.7904 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2798, allocations: 0 / 0.7904 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.2799, allocations: 36.11 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.2803, allocations: 14.38 kB / 0.7904 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.2827, allocations: 1.49 MB / 0.7919 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.283, allocations: 0.6885 MB / 0.7925 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.109e-05/0.283, allocations: 4 kB / 0.7926 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.2831, allocations: 19.42 kB / 0.7926 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of SimCode: time 5.82e-07/0.2831, allocations: 8 kB / 0.7926 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.304, allocations: 2.618 MB / 0.7951 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.947/8.251, allocations: 7.922 kB / 0.7951 GB, free: 1.062 MB / 0.6075 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)