Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.001391/0.001391, allocations: 101.4 kB / 15.7 MB, free: 28 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.001492/0.001492, allocations: 195.6 kB / 16.64 MB, free: 6.438 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.455/1.455, 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.755/1.755, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001472/0.001472, allocations: 73.94 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2185, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003279/0.2218, allocations: 1.522 MB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2233, allocations: 0.7927 MB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.2234, allocations: 3.938 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.2235, allocations: 3.938 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.401e-05/0.2236, allocations: 11.88 kB / 0.7859 GB, free: 10.91 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.0006867/0.2243, allocations: 147.6 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.2245, allocations: 99.7 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.2246, allocations: 16.27 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.2247, allocations: 43.89 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.2248, allocations: 51.81 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.2249, allocations: 8 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.2251, allocations: 99.84 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.2251, allocations: 27.91 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.2252, allocations: 43.84 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.2254, allocations: 171.5 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2254, allocations: 0 / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2255, allocations: 0 / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2255, allocations: 3.938 kB / 0.7866 GB, free: 10.21 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.0006462/0.2261, allocations: 466.5 kB / 0.787 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.2262, allocations: 12.03 kB / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.2262, allocations: 30.75 kB / 0.7871 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.2263, allocations: 12.84 kB / 0.7871 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.2264, allocations: 176.3 kB / 0.7873 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.2264, allocations: 8.375 kB / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.2265, allocations: 4.375 kB / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.2267, allocations: 93.69 kB / 0.7874 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2268, allocations: 0 / 0.7874 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.2268, allocations: 0 / 0.7874 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2268, allocations: 4 kB / 0.7874 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.227, allocations: 51.95 kB / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007992/0.2278, allocations: 344.7 kB / 0.7877 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.228, allocations: 62.58 kB / 0.7878 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.2281, allocations: 48.84 kB / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.2281, allocations: 0 / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003284/0.2285, allocations: 95.34 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 3.186e-06/0.2285, allocations: 0 / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005729/0.2291, allocations: 197.5 kB / 0.7881 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.2291, allocations: 59.39 kB / 0.7882 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.2292, allocations: 132.6 kB / 0.7883 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.2293, allocations: 25.7 kB / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.2293, allocations: 92.14 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.2294, allocations: 19.8 kB / 0.7884 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.2294, allocations: 29.7 kB / 0.7885 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.2296, allocations: 326.8 kB / 0.7888 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.454e-05/0.2296, allocations: 27.97 kB / 0.7888 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.917e-05/0.2298, allocations: 60.28 kB / 0.7889 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.23, allocations: 96.2 kB / 0.789 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.23, allocations: 0 / 0.789 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002689/0.2303, allocations: 133.4 kB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2303, allocations: 4 kB / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2303, allocations: 4 kB / 0.7891 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2303, allocations: 0 / 0.7891 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.2304, allocations: 20.08 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2305, allocations: 7.875 kB / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.2305, allocations: 15.84 kB / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.2306, allocations: 4 kB / 0.7891 GB, free: 7.324 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.0001101/0.2307, allocations: 126.4 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.2307, allocations: 4 kB / 0.7893 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.2307, allocations: 8.375 kB / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.2307, allocations: 4.031 kB / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.2308, allocations: 8 kB / 0.7893 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2308, allocations: 0 / 0.7893 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/0.2314, allocations: 434.3 kB / 0.7897 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2314, allocations: 4 kB / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.2315, allocations: 4 kB / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2315, allocations: 0 / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.2315, allocations: 3.984 kB / 0.7897 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2315, allocations: 4 kB / 0.7897 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2315, allocations: 7.938 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.232, allocations: 243.7 kB / 0.79 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.232, allocations: 84.95 kB / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.2321, allocations: 11.98 kB / 0.79 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.2322, allocations: 7.938 kB / 0.7901 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.2322, allocations: 11.92 kB / 0.7901 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.2322, allocations: 4 kB / 0.7901 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.904e-05/0.2323, allocations: 99.27 kB / 0.7902 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2323, allocations: 0 / 0.7902 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003565/0.2327, allocations: 39.98 kB / 0.7902 GB, free: 6.137 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.001094/0.2338, allocations: 0.8459 MB / 0.791 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000358/0.2341, allocations: 91.88 kB / 0.7911 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2342, allocations: 4.188 kB / 0.7911 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.2343, allocations: 47.97 kB / 0.7912 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.2346, allocations: 14.91 kB / 0.7912 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.2367, allocations: 1.578 MB / 0.7927 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.2371, allocations: 0.6914 MB / 0.7934 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.03e-05/0.2371, allocations: 11.98 kB / 0.7934 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.2372, allocations: 23.44 kB / 0.7934 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of SimCode: time 8.11e-07/0.2372, allocations: 0 / 0.7934 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.2578, allocations: 2.977 MB / 0.7963 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.347, allocations: 11.88 kB / 0.7963 GB, free: 15.83 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)