Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.001515/0.001522, allocations: 105.4 kB / 15.7 MB, free: 24 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.001539/0.001539, allocations: 198.8 kB / 16.64 MB, free: 6.453 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.641/1.641, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.77/1.77, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.002065/0.002065, allocations: 68.45 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2478, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003135/0.251, allocations: 1.499 MB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.2525, allocations: 0.7731 MB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.2526, allocations: 4 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/0.2527, allocations: 3.938 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.314e-05/0.2527, allocations: 11.86 kB / 0.7859 GB, free: 10.94 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.0007008/0.2534, allocations: 123.6 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.2536, allocations: 79.7 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.2537, allocations: 15.98 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.403e-05/0.2538, allocations: 31.91 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.717e-05/0.2539, allocations: 39.83 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.2539, allocations: 8 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.2541, allocations: 95.84 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.2542, allocations: 19.97 kB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.2542, allocations: 35.86 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.2545, allocations: 143.8 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2545, allocations: 0 / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2545, allocations: 0 / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2545, allocations: 0 / 0.7864 GB, free: 10.36 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.0006412/0.2552, allocations: 417 kB / 0.7868 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2552, allocations: 8.031 kB / 0.7868 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.2553, allocations: 34.75 kB / 0.7869 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.2553, allocations: 8.844 kB / 0.7869 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.2555, allocations: 184.2 kB / 0.7871 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.2555, allocations: 4.375 kB / 0.7871 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.2555, allocations: 12.36 kB / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.2557, allocations: 65.78 kB / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2557, allocations: 0 / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.2557, allocations: 4 kB / 0.7871 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.2558, allocations: 0 / 0.7871 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.2559, allocations: 39.95 kB / 0.7872 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.2565, allocations: 320.6 kB / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.2567, allocations: 42.56 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.2568, allocations: 40.97 kB / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.2568, allocations: 3.938 kB / 0.7876 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.257, allocations: 83.38 kB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 3.507e-06/0.257, allocations: 0 / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004106/0.2574, allocations: 137.6 kB / 0.7878 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.2575, allocations: 59.39 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.2576, allocations: 129.6 kB / 0.788 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.2576, allocations: 25.7 kB / 0.788 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.2577, allocations: 100.1 kB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.2577, allocations: 15.81 kB / 0.7881 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.2578, allocations: 29.7 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.2579, allocations: 318.8 kB / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.218e-05/0.258, allocations: 27.97 kB / 0.7885 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.145e-05/0.2581, allocations: 47.42 kB / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.2582, allocations: 87.34 kB / 0.7886 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2582, allocations: 0 / 0.7886 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002394/0.2585, allocations: 113.4 kB / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2585, allocations: 8 kB / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2585, allocations: 4.062 kB / 0.7887 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2585, allocations: 0 / 0.7887 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.2586, allocations: 15.98 kB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2586, allocations: 4 kB / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.81e-05/0.2587, allocations: 7.984 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.2587, allocations: 4 kB / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 9.535e-05/0.2588, allocations: 129.3 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.2589, allocations: 7.906 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.2589, allocations: 12.38 kB / 0.7889 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2589, allocations: 0 / 0.7889 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2589, allocations: 3.984 kB / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2589, allocations: 4 kB / 0.7889 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.2594, allocations: 378.5 kB / 0.7892 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2594, allocations: 3.938 kB / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.2594, allocations: 7.938 kB / 0.7893 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2594, allocations: 0 / 0.7893 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.2594, allocations: 4 kB / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.2594, allocations: 8 kB / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2595, allocations: 0 / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.2597, allocations: 211.4 kB / 0.7895 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.2598, allocations: 81.02 kB / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.2598, allocations: 4 kB / 0.7896 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-05/0.2599, allocations: 7.922 kB / 0.7896 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.2599, allocations: 8 kB / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.26, allocations: 7.984 kB / 0.7896 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.506e-05/0.26, allocations: 91.22 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.26, allocations: 0 / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003163/0.2603, allocations: 39.98 kB / 0.7897 GB, free: 6.656 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,occ.y,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.0007461/0.2611, allocations: 0.8145 MB / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.2613, allocations: 63.91 kB / 0.7906 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2613, allocations: 0 / 0.7906 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.2614, allocations: 40.09 kB / 0.7906 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.2617, allocations: 18.69 kB / 0.7906 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.2633, allocations: 1.502 MB / 0.7921 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.2636, allocations: 0.6846 MB / 0.7927 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.955e-05/0.2637, allocations: 7.984 kB / 0.7928 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.2637, allocations: 19.44 kB / 0.7928 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2637, allocations: 3.938 kB / 0.7928 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.2832, allocations: 2.622 MB / 0.7953 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.804, allocations: 7.266 kB / 0.7953 GB, free: 0.8672 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)