Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.001392/0.001392, 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.00148/0.00148, allocations: 194.8 kB / 16.64 MB, free: 6.477 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.59/1.59, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.764/1.764, 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.001403/0.001403, allocations: 72.31 kB / 0.6718 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2503, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002998/0.2533, allocations: 1.6 MB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.2549, allocations: 0.8161 MB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.895e-05/0.255, allocations: 3.938 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.631e-05/0.255, allocations: 7.875 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.186e-05/0.2551, allocations: 19.8 kB / 0.786 GB, free: 10.78 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.0007051/0.2558, allocations: 155.5 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.256, allocations: 139.6 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.2562, allocations: 16.22 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.2563, allocations: 55.88 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.2564, allocations: 79.73 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.2564, allocations: 12 kB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.2566, allocations: 99.84 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.2567, allocations: 35.83 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.402e-05/0.2568, allocations: 51.72 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.2571, allocations: 199.4 kB / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2571, allocations: 0 / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2571, allocations: 0 / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2571, allocations: 0 / 0.7868 GB, free: 9.949 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008218/0.2579, allocations: 490.4 kB / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.258, allocations: 12.03 kB / 0.7873 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.258, allocations: 30.75 kB / 0.7873 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.2581, allocations: 16.83 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.2582, allocations: 183.1 kB / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.2583, allocations: 8.375 kB / 0.7875 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.2583, allocations: 7.938 kB / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.2585, allocations: 101.6 kB / 0.7876 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2586, allocations: 7.938 kB / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2586, allocations: 0 / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2586, allocations: 0 / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.2588, allocations: 63.95 kB / 0.7877 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008724/0.2597, allocations: 372.5 kB / 0.7881 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.2599, allocations: 70.55 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.26, allocations: 48.84 kB / 0.7882 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.26, allocations: 4 kB / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003203/0.2604, allocations: 99.28 kB / 0.7883 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.2604, allocations: 4 kB / 0.7883 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005627/0.2609, allocations: 217.4 kB / 0.7885 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.261, allocations: 51.41 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.2611, allocations: 145.8 kB / 0.7887 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.2611, allocations: 30.08 kB / 0.7887 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.2612, allocations: 100.3 kB / 0.7888 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.2612, allocations: 23.91 kB / 0.7888 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.2613, allocations: 33.7 kB / 0.7889 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2614, allocations: 326.8 kB / 0.7892 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.2615, allocations: 39.97 kB / 0.7892 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.2617, allocations: 72.27 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.2619, allocations: 124.2 kB / 0.7894 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2619, allocations: 0 / 0.7894 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003229/0.2623, allocations: 157.4 kB / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2623, allocations: 4 kB / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2623, allocations: 4 kB / 0.7895 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2623, allocations: 0 / 0.7895 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.2625, allocations: 23.86 kB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.2625, allocations: 7.984 kB / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.942e-05/0.2626, allocations: 8.109 kB / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.2626, allocations: 7.938 kB / 0.7896 GB, free: 6.84 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,win.occ,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 (14): * Single equations (assignments): 14 * 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.0001/0.2627, allocations: 133.1 kB / 0.7897 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.2627, allocations: 11.91 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.2628, allocations: 16.75 kB / 0.7897 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2628, allocations: 3.938 kB / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2628, allocations: 0 / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2628, allocations: 0 / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006212/0.2634, allocations: 466.3 kB / 0.7902 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2634, allocations: 0 / 0.7902 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.487e-05/0.2635, allocations: 19.86 kB / 0.7902 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2635, allocations: 0 / 0.7902 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.2635, allocations: 3.984 kB / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2636, allocations: 0 / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.2636, allocations: 0 / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.264, allocations: 267.3 kB / 0.7905 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.264, allocations: 88.95 kB / 0.7906 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.264, allocations: 192 / 0.7906 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.2642, allocations: 12.05 kB / 0.7906 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.2643, allocations: 15.92 kB / 0.7906 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.2643, allocations: 4 kB / 0.7906 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.264e-05/0.2644, allocations: 110.4 kB / 0.7907 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2644, allocations: 0 / 0.7907 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003236/0.2647, allocations: 47.94 kB / 0.7907 GB, free: 5.566 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,win.occ,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 (9): * Single equations (assignments): 5 * 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.001014/0.2657, allocations: 0.8641 MB / 0.7916 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.2661, allocations: 111.8 kB / 0.7917 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2661, allocations: 0 / 0.7917 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.2662, allocations: 56 kB / 0.7917 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.2665, allocations: 15.98 kB / 0.7918 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.2685, allocations: 1.71 MB / 0.7934 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.2689, allocations: 0.6924 MB / 0.7941 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.335e-05/0.2689, allocations: 16.06 kB / 0.7941 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.269, allocations: 31.42 kB / 0.7941 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.269, allocations: 0 / 0.7941 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.2891, allocations: 3.365 MB / 0.7974 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/7.997, allocations: 6.25 kB / 0.7974 GB, free: 14.71 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)