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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, 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.001268/0.001268, allocations: 189.5 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.498/1.498, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.774/1.774, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001457/0.001457, allocations: 72.95 kB / 0.6723 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2633, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.004733/0.2681, allocations: 1.589 MB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.2701, allocations: 0.816 MB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.2702, allocations: 0 / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.441e-05/0.2704, allocations: 15.86 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.65e-05/0.2705, allocations: 11.81 kB / 0.7865 GB, free: 10.29 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.0009706/0.2715, allocations: 155.5 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.2717, allocations: 131.6 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.2719, allocations: 19.98 kB / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.272, allocations: 63.81 kB / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.2722, allocations: 75.72 kB / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.2722, allocations: 15.94 kB / 0.7869 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.2725, allocations: 99.91 kB / 0.787 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.87e-05/0.2725, allocations: 27.91 kB / 0.7871 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.166e-05/0.2726, allocations: 55.77 kB / 0.7871 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.2729, allocations: 191.4 kB / 0.7873 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2729, allocations: 4 kB / 0.7873 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2729, allocations: 0 / 0.7873 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.273, allocations: 0 / 0.7873 GB, free: 9.465 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.0008002/0.2738, allocations: 490.3 kB / 0.7878 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2738, allocations: 8.031 kB / 0.7878 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.2739, allocations: 12.84 kB / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.274, allocations: 191 kB / 0.788 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.2741, allocations: 8.375 kB / 0.788 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.2741, allocations: 12.11 kB / 0.788 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.2744, allocations: 101.6 kB / 0.7881 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2744, allocations: 0 / 0.7881 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.2744, allocations: 4 kB / 0.7881 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2744, allocations: 0 / 0.7881 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.2746, allocations: 63.95 kB / 0.7881 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008537/0.2755, allocations: 364.6 kB / 0.7885 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.2757, allocations: 74.48 kB / 0.7886 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.2758, allocations: 52.83 kB / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.2758, allocations: 0 / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.2761, allocations: 103.5 kB / 0.7887 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.2761, allocations: 3.938 kB / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005744/0.2767, allocations: 217.5 kB / 0.7889 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.2768, allocations: 59.53 kB / 0.789 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.2769, allocations: 144.8 kB / 0.7891 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.2769, allocations: 29.7 kB / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.277, allocations: 100.3 kB / 0.7892 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.277, allocations: 19.75 kB / 0.7893 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/0.2771, allocations: 33.7 kB / 0.7893 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2772, allocations: 326.8 kB / 0.7896 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.2773, allocations: 43.91 kB / 0.7896 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.2775, allocations: 75.02 kB / 0.7897 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.2777, allocations: 120.2 kB / 0.7898 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2777, allocations: 0 / 0.7898 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003857/0.2781, allocations: 161.4 kB / 0.79 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2782, allocations: 4.938 kB / 0.79 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.2782, allocations: 8.359 kB / 0.79 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2782, allocations: 0 / 0.79 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.2783, allocations: 15.98 kB / 0.79 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.2784, allocations: 7.938 kB / 0.79 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.422e-05/0.2785, allocations: 11.94 kB / 0.79 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.2785, allocations: 7.984 kB / 0.79 GB, free: 6.391 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.000115/0.2786, allocations: 130.4 kB / 0.7902 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.2786, allocations: 11.91 kB / 0.7902 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.2787, allocations: 12.72 kB / 0.7902 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2787, allocations: 0 / 0.7902 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.2787, allocations: 7.922 kB / 0.7902 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2787, allocations: 0 / 0.7902 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006175/0.2793, allocations: 458.3 kB / 0.7906 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2793, allocations: 4 kB / 0.7906 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.2794, allocations: 4 kB / 0.7906 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2794, allocations: 7.938 kB / 0.7907 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.2794, allocations: 3.984 kB / 0.7907 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2794, allocations: 0 / 0.7907 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2795, allocations: 4.062 kB / 0.7907 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.2799, allocations: 263.3 kB / 0.7909 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.2799, allocations: 96.94 kB / 0.791 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.2799, allocations: 3.938 kB / 0.791 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.2801, allocations: 4 kB / 0.791 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.2801, allocations: 11.98 kB / 0.791 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.2802, allocations: 7.984 kB / 0.791 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.195e-05/0.2802, allocations: 103.3 kB / 0.7911 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2802, allocations: 0 / 0.7911 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003178/0.2806, allocations: 43.98 kB / 0.7912 GB, free: 5.133 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.0003521/0.2809, allocations: 173 kB / 0.7913 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003267/0.2813, allocations: 107.9 kB / 0.7914 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2813, allocations: 0 / 0.7914 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.2814, allocations: 64.09 kB / 0.7915 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.2817, allocations: 15.92 kB / 0.7915 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.2822, allocations: 228.5 kB / 0.7917 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.2825, allocations: 0.6963 MB / 0.7924 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.86e-05/0.2825, allocations: 8 kB / 0.7924 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.2826, allocations: 15.44 kB / 0.7924 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2826, allocations: 0 / 0.7924 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of Templates: time 0.004815/0.2874, allocations: 1.973 MB / 0.7944 GB, free: 1.828 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (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 & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)