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.001522/0.001522, allocations: 109.4 kB / 15.69 MB, free: 128 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.002011/0.002011, allocations: 187.7 kB / 16.62 MB, free: 6.582 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.444/1.444, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.72/1.72, 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.001888/0.001888, allocations: 70.5 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2339, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003177/0.2372, allocations: 1.518 MB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.2388, allocations: 0.7926 MB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.655e-05/0.2389, allocations: 7.938 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.279e-05/0.239, allocations: 3.938 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.276e-05/0.2391, allocations: 11.88 kB / 0.7859 GB, free: 10.92 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.0008388/0.24, allocations: 135.6 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.2401, allocations: 107.7 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.501e-05/0.2402, allocations: 8.281 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.2403, allocations: 47.89 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.573e-05/0.2404, allocations: 51.81 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.2405, allocations: 8 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.2407, allocations: 107.8 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.2407, allocations: 27.91 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.2408, allocations: 39.84 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.2411, allocations: 171.5 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2411, allocations: 4 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2411, allocations: 0 / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.2411, allocations: 0 / 0.7866 GB, free: 10.23 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.0006951/0.2418, allocations: 458.5 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2419, allocations: 12.03 kB / 0.787 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.737e-05/0.2419, allocations: 38.75 kB / 0.7871 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.242, allocations: 12.83 kB / 0.7871 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.2421, allocations: 168.3 kB / 0.7872 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.2421, allocations: 4.375 kB / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.2422, allocations: 8.375 kB / 0.7872 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.2424, allocations: 93.69 kB / 0.7873 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-06/0.2424, allocations: 0 / 0.7873 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.2424, allocations: 3.984 kB / 0.7873 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2424, allocations: 4 kB / 0.7873 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.2426, allocations: 43.97 kB / 0.7874 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007529/0.2434, allocations: 344.7 kB / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.2436, allocations: 66.58 kB / 0.7878 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.2437, allocations: 48.83 kB / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.2438, allocations: 4 kB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003187/0.2441, allocations: 91.34 kB / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.953e-06/0.2441, allocations: 0 / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0006079/0.2447, allocations: 185.5 kB / 0.7881 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.2448, allocations: 59.55 kB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2449, allocations: 128.9 kB / 0.7883 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.2449, allocations: 33.7 kB / 0.7883 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.245, allocations: 92.12 kB / 0.7884 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.245, allocations: 11.81 kB / 0.7884 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/0.2451, allocations: 33.7 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2452, allocations: 326.8 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-05/0.2453, allocations: 27.98 kB / 0.7888 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.2454, allocations: 60.27 kB / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.2456, allocations: 100.1 kB / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2456, allocations: 7.938 kB / 0.7889 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002678/0.2459, allocations: 125.4 kB / 0.7891 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2459, allocations: 8 kB / 0.7891 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.246, allocations: 0 / 0.7891 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.246, allocations: 8.094 kB / 0.7891 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.2461, allocations: 15.92 kB / 0.7891 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2461, allocations: 4 kB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.939e-05/0.2462, allocations: 19.83 kB / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.2462, allocations: 4 kB / 0.7891 GB, free: 7.355 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 9.903e-05/0.2463, allocations: 118.4 kB / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.2463, allocations: 4 kB / 0.7892 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.2464, allocations: 12.38 kB / 0.7892 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2464, allocations: 4 kB / 0.7892 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.2464, allocations: 3.984 kB / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2464, allocations: 0 / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/0.247, allocations: 430.3 kB / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.247, allocations: 0 / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.247, allocations: 8.062 kB / 0.7897 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2471, allocations: 0 / 0.7897 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.2471, allocations: 7.984 kB / 0.7897 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.2471, allocations: 8 kB / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.2471, allocations: 3.938 kB / 0.7897 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.2475, allocations: 239.3 kB / 0.7899 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.2475, allocations: 88.95 kB / 0.79 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.2475, allocations: 0 / 0.79 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.2477, allocations: 7.984 kB / 0.79 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.2477, allocations: 15.94 kB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.2477, allocations: 7.984 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.2478, allocations: 91.27 kB / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2478, allocations: 0 / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003506/0.2481, allocations: 40 kB / 0.7902 GB, free: 6.188 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.0008669/0.249, allocations: 0.8459 MB / 0.791 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.2493, allocations: 95.86 kB / 0.7911 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2493, allocations: 4.188 kB / 0.7911 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.2495, allocations: 43.97 kB / 0.7911 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.2498, allocations: 22.84 kB / 0.7911 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.2515, allocations: 1.578 MB / 0.7927 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.2518, allocations: 0.6912 MB / 0.7934 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.891e-05/0.2519, allocations: 8 kB / 0.7934 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.2519, allocations: 23.42 kB / 0.7934 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of SimCode: time 7.81e-07/0.2519, allocations: 0 / 0.7934 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.2716, allocations: 2.958 MB / 0.7963 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.292, allocations: 16.73 kB / 0.7963 GB, free: 15.89 MB / 0.6231 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)