Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.0011/0.0011, allocations: 108 kB / 15.6 MB, free: 132 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.001192/0.001192, allocations: 191.3 kB / 16.53 MB, free: 6.391 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.561/1.561, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.827/1.827, allocations: 292.3 MB / 0.5489 GB, free: 13.49 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.001554/0.001554, allocations: 67.66 kB / 0.6716 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.261, allocations: 114.5 MB / 0.7835 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003711/0.2648, allocations: 1.631 MB / 0.7851 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.2665, allocations: 0.8278 MB / 0.7859 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.2667, allocations: 7.938 kB / 0.7859 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.179e-05/0.2667, allocations: 11.86 kB / 0.7859 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.2669, allocations: 19.8 kB / 0.7859 GB, free: 10.96 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.0009103/0.2678, allocations: 155.5 kB / 0.7861 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.268, allocations: 155.5 kB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2682, allocations: 25.33 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.2684, allocations: 67.77 kB / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.2685, allocations: 71.78 kB / 0.7864 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.2685, allocations: 19.98 kB / 0.7864 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.2688, allocations: 103.9 kB / 0.7865 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.2688, allocations: 35.89 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.086e-05/0.2689, allocations: 55.77 kB / 0.7866 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.2693, allocations: 215.3 kB / 0.7868 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2693, allocations: 0 / 0.7868 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2693, allocations: 0 / 0.7868 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.2693, allocations: 0 / 0.7868 GB, free: 10.07 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001064/0.2704, allocations: 0.5369 MB / 0.7873 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.2704, allocations: 8.031 kB / 0.7873 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.966e-05/0.2705, allocations: 38.75 kB / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/0.2706, allocations: 16.73 kB / 0.7874 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.2708, allocations: 183.3 kB / 0.7875 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.2708, allocations: 4.375 kB / 0.7875 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.2709, allocations: 8.375 kB / 0.7875 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.2714, allocations: 153.5 kB / 0.7877 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2714, allocations: 0 / 0.7877 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.2714, allocations: 4 kB / 0.7877 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.2714, allocations: 4 kB / 0.7877 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.2719, allocations: 103.8 kB / 0.7878 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.2727, allocations: 380.5 kB / 0.7882 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.2731, allocations: 106.4 kB / 0.7883 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.2734, allocations: 84.78 kB / 0.7883 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.2735, allocations: 0 / 0.7883 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005726/0.2741, allocations: 143.4 kB / 0.7885 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.644e-06/0.2741, allocations: 4 kB / 0.7885 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.001165/0.2752, allocations: 313.1 kB / 0.7888 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.2753, allocations: 59.39 kB / 0.7888 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.2755, allocations: 146.5 kB / 0.789 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.2755, allocations: 29.7 kB / 0.789 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.2756, allocations: 96.38 kB / 0.7891 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.2756, allocations: 27.64 kB / 0.7891 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.029e-05/0.2757, allocations: 33.64 kB / 0.7892 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.2758, allocations: 326.8 kB / 0.7895 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.2759, allocations: 39.97 kB / 0.7895 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.2761, allocations: 77.12 kB / 0.7896 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.2764, allocations: 125 kB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2764, allocations: 4 kB / 0.7897 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000421/0.2768, allocations: 157.4 kB / 0.7899 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2768, allocations: 8 kB / 0.7899 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2769, allocations: 0 / 0.7899 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2769, allocations: 0 / 0.7899 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.277, allocations: 27.91 kB / 0.7899 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.2771, allocations: 7.984 kB / 0.7899 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2772, allocations: 11.98 kB / 0.7899 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.2772, allocations: 11.94 kB / 0.7899 GB, free: 6.559 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0002071/0.2774, allocations: 122.5 kB / 0.79 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.2774, allocations: 7.906 kB / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.257e-05/0.2775, allocations: 20.7 kB / 0.7901 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2775, allocations: 4.047 kB / 0.7901 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2775, allocations: 3.938 kB / 0.7901 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2775, allocations: 0 / 0.7901 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.2786, allocations: 0.5294 MB / 0.7906 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2786, allocations: 4 kB / 0.7906 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-05/0.2787, allocations: 11.98 kB / 0.7906 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2787, allocations: 0 / 0.7906 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.2787, allocations: 4.469 kB / 0.7906 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.2787, allocations: 7.938 kB / 0.7906 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2787, allocations: 0 / 0.7906 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007745/0.2795, allocations: 331.2 kB / 0.7909 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.2796, allocations: 85.02 kB / 0.791 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.2796, allocations: 4 kB / 0.791 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.2798, allocations: 27.89 kB / 0.791 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.2799, allocations: 4 kB / 0.791 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.2799, allocations: 7.984 kB / 0.7911 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.086e-05/0.28, allocations: 113.5 kB / 0.7912 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.28, allocations: 4 kB / 0.7912 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004366/0.2805, allocations: 47.91 kB / 0.7912 GB, free: 5.129 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.001378/0.2818, allocations: 0.9131 MB / 0.7921 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005998/0.2824, allocations: 155.8 kB / 0.7923 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2825, allocations: 0 / 0.7923 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.2828, allocations: 92.11 kB / 0.7923 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.2831, allocations: 14.38 kB / 0.7924 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.2856, allocations: 1.766 MB / 0.7941 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.2859, allocations: 0.7002 MB / 0.7948 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.806e-05/0.2859, allocations: 15.94 kB / 0.7948 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.286, allocations: 31.42 kB / 0.7948 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.286, allocations: 4 kB / 0.7948 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.307, allocations: 3.438 MB / 0.7982 GB, free: 14 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.93/8.237, allocations: 5.438 kB / 0.7982 GB, free: 14 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)