Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.001518/0.001518, allocations: 104 kB / 15.6 MB, free: 148 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.001818/0.001818, allocations: 192.6 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.505/1.505, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.809/1.809, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001598/0.001598, allocations: 73.12 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2713, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002799/0.2742, allocations: 1.52 MB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.2756, allocations: 0.7965 MB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.2757, allocations: 3.938 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.2757, allocations: 3.938 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.42e-05/0.2758, allocations: 7.875 kB / 0.7857 GB, free: 11.02 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.0006249/0.2764, allocations: 135.6 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.2766, allocations: 115.7 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.664e-05/0.2767, allocations: 4.281 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.798e-05/0.2768, allocations: 47.89 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.308e-05/0.2769, allocations: 51.81 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.2769, allocations: 8 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.2771, allocations: 99.84 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.2771, allocations: 27.91 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.2772, allocations: 43.84 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.2775, allocations: 163.6 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2775, allocations: 4 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2775, allocations: 0 / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.2775, allocations: 0 / 0.7864 GB, free: 10.33 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006955/0.2782, allocations: 462.5 kB / 0.7869 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2782, allocations: 15.91 kB / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.73e-05/0.2783, allocations: 38.75 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.2784, allocations: 12.84 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.2785, allocations: 174.9 kB / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.2785, allocations: 4.375 kB / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.2786, allocations: 8.375 kB / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.2788, allocations: 85.75 kB / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2788, allocations: 3.938 kB / 0.7872 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.2788, allocations: 0 / 0.7872 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2788, allocations: 0 / 0.7872 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.279, allocations: 51.97 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007859/0.2798, allocations: 336.7 kB / 0.7876 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.28, allocations: 66.58 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.2801, allocations: 45 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.2802, allocations: 11.97 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.2804, allocations: 87.36 kB / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.2804, allocations: 0 / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005558/0.281, allocations: 189.7 kB / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.2811, allocations: 55.41 kB / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.2812, allocations: 129.7 kB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.2812, allocations: 29.7 kB / 0.7881 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.2813, allocations: 92.12 kB / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.2813, allocations: 19.8 kB / 0.7882 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.2814, allocations: 29.7 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2815, allocations: 322.8 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.2816, allocations: 35.98 kB / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.2817, allocations: 60.27 kB / 0.7887 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.2819, allocations: 92.22 kB / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2819, allocations: 0 / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000272/0.2822, allocations: 133.4 kB / 0.7889 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2822, allocations: 4.781 kB / 0.7889 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2822, allocations: 0 / 0.7889 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.2822, allocations: 8.031 kB / 0.7889 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.2824, allocations: 12.05 kB / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.2824, allocations: 19.97 kB / 0.7889 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.725e-05/0.2825, allocations: 15.84 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.2825, allocations: 11.92 kB / 0.789 GB, free: 7.449 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,occ.y,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 (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.0001137/0.2826, allocations: 118.4 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.2826, allocations: 4 kB / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.2827, allocations: 12.38 kB / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2827, allocations: 0 / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2827, allocations: 0 / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2827, allocations: 4 kB / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005935/0.2833, allocations: 434.2 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2833, allocations: 0 / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.2834, allocations: 4 kB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2834, allocations: 0 / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.2834, allocations: 11.98 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2834, allocations: 0 / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2834, allocations: 7.938 kB / 0.7895 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.2838, allocations: 239.3 kB / 0.7898 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.2839, allocations: 88.95 kB / 0.7898 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.2839, allocations: 0 / 0.7898 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.284, allocations: 7.984 kB / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.2841, allocations: 11.94 kB / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.2841, allocations: 11.98 kB / 0.7899 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.305e-05/0.2842, allocations: 94.27 kB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2842, allocations: 0 / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003281/0.2845, allocations: 40 kB / 0.79 GB, free: 6.285 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,occ.y,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 (8): * Single equations (assignments): 4 * 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.0009909/0.2855, allocations: 0.8363 MB / 0.7908 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002891/0.2858, allocations: 95.81 kB / 0.7909 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.2858, allocations: 0 / 0.7909 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.286, allocations: 56.09 kB / 0.791 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.2863, allocations: 15.22 kB / 0.791 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.2881, allocations: 1.574 MB / 0.7925 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.2884, allocations: 0.6964 MB / 0.7932 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.461e-05/0.2884, allocations: 15.75 kB / 0.7932 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.2885, allocations: 19.44 kB / 0.7932 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2885, allocations: 0 / 0.7932 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.3078, allocations: 2.935 MB / 0.7961 GB, free: 20 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.78/8.088, allocations: 16.98 kB / 0.7961 GB, free: 4 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)