Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.001185/0.001185, 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.001278/0.001278, allocations: 195.2 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.442/1.442, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.696/1.696, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001398/0.001398, allocations: 63.16 kB / 0.6716 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2456, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.00394/0.2496, allocations: 1.59 MB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.2516, allocations: 0.8199 MB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.2517, allocations: 0 / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.2518, allocations: 7.875 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.557e-05/0.2519, allocations: 15.8 kB / 0.7859 GB, free: 10.93 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.0007838/0.2527, allocations: 151.5 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.2529, allocations: 135.6 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.2531, allocations: 24.2 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.2533, allocations: 55.83 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.2534, allocations: 75.7 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.2535, allocations: 12 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.2537, allocations: 103.8 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.273e-05/0.2538, allocations: 31.91 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.51e-05/0.2539, allocations: 55.77 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.2543, allocations: 191.5 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2543, allocations: 0 / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2544, allocations: 0 / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.2544, allocations: 0 / 0.7866 GB, free: 10.11 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001119/0.2555, allocations: 486.3 kB / 0.7871 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.2556, allocations: 11.97 kB / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.518e-05/0.2556, allocations: 38.75 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/0.2557, allocations: 12.84 kB / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.2559, allocations: 195 kB / 0.7874 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.256, allocations: 8.375 kB / 0.7874 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.256, allocations: 7.938 kB / 0.7874 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.2563, allocations: 89.62 kB / 0.7875 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2563, allocations: 0 / 0.7875 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.2563, allocations: 8 kB / 0.7875 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.2563, allocations: 0 / 0.7875 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.2565, allocations: 63.95 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008577/0.2574, allocations: 372.5 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.2576, allocations: 70.55 kB / 0.788 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.2578, allocations: 52.83 kB / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.2578, allocations: 0 / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/0.2581, allocations: 103.3 kB / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.2581, allocations: 0 / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005814/0.2587, allocations: 213.7 kB / 0.7883 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.2587, allocations: 59.41 kB / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.2589, allocations: 141 kB / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.2589, allocations: 41.58 kB / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.259, allocations: 104.4 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.259, allocations: 23.73 kB / 0.7887 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.2591, allocations: 29.7 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2592, allocations: 326.8 kB / 0.789 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.2593, allocations: 35.98 kB / 0.789 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.2595, allocations: 80.25 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.2597, allocations: 112.2 kB / 0.7892 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2597, allocations: 4 kB / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003379/0.26, allocations: 161.3 kB / 0.7894 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2601, allocations: 6.75 kB / 0.7894 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2601, allocations: 4 kB / 0.7894 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2601, allocations: 4 kB / 0.7894 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.2603, allocations: 23.86 kB / 0.7894 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.2603, allocations: 4 kB / 0.7894 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.771e-05/0.2604, allocations: 7.984 kB / 0.7894 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.2604, allocations: 8 kB / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.728e-05/0.2605, allocations: 122.4 kB / 0.7895 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.2605, allocations: 11.91 kB / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.2606, allocations: 16.7 kB / 0.7896 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2606, allocations: 3.938 kB / 0.7896 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2606, allocations: 0 / 0.7896 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2606, allocations: 0 / 0.7896 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006174/0.2612, allocations: 462.3 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2612, allocations: 0 / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.379e-05/0.2613, allocations: 19.86 kB / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2613, allocations: 0 / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.2613, allocations: 8 kB / 0.79 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2613, allocations: 0 / 0.79 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2613, allocations: 0 / 0.79 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.2618, allocations: 271.3 kB / 0.7903 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.2618, allocations: 88.95 kB / 0.7904 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.2618, allocations: 4 kB / 0.7904 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.262, allocations: 12.05 kB / 0.7904 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.262, allocations: 8 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.2621, allocations: 3.984 kB / 0.7904 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.657e-05/0.2621, allocations: 107.2 kB / 0.7905 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2621, allocations: 4 kB / 0.7905 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003343/0.2625, allocations: 43.98 kB / 0.7906 GB, free: 5.723 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001082/0.2636, allocations: 0.8675 MB / 0.7914 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004459/0.264, allocations: 115.9 kB / 0.7915 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.264, allocations: 0 / 0.7915 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.2642, allocations: 55.97 kB / 0.7916 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.2645, allocations: 11.98 kB / 0.7916 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.2671, allocations: 1.711 MB / 0.7933 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.2675, allocations: 0.6963 MB / 0.7939 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.998e-05/0.2675, allocations: 8 kB / 0.7939 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.014e-05/0.2676, allocations: 31.42 kB / 0.794 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of SimCode: time 8.52e-07/0.2676, allocations: 0 / 0.794 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.2898, allocations: 3.357 MB / 0.7973 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/8.142, allocations: 11.31 kB / 0.7973 GB, free: 14.88 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)