Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001235, allocations: 115.3 kB / 16.37 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 186.4 kB / 17.31 MB, free: 5.574 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.459/1.459, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.799/1.799, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001436/0.001436, allocations: 64.12 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2608, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003014/0.2639, allocations: 1.508 MB / 0.7863 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.2652, allocations: 0.7683 MB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.2653, allocations: 4 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.115e-05/0.2654, allocations: 3.938 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.59e-05/0.2654, allocations: 11.86 kB / 0.787 GB, free: 0.8594 MB / 0.6544 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.000591/0.266, allocations: 115.6 kB / 0.7871 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.2661, allocations: 79.75 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2663, allocations: 15.98 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/0.2663, allocations: 35.86 kB / 0.7873 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.2664, allocations: 39.83 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.2665, allocations: 4 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.2667, allocations: 103.8 kB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.2667, allocations: 19.97 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.2667, allocations: 35.84 kB / 0.7875 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.267, allocations: 139.5 kB / 0.7876 GB, free: 288 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.267, allocations: 0 / 0.7876 GB, free: 288 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.267, allocations: 0 / 0.7876 GB, free: 288 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.267, allocations: 4 kB / 0.7876 GB, free: 284 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.5051/0.7721, allocations: 409.8 kB / 0.788 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.7722, allocations: 9.312 kB / 0.788 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.865e-05/0.7723, allocations: 8.312 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.7724, allocations: 173.9 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.7725, allocations: 5.422 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.7725, allocations: 8.516 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.7729, allocations: 68.38 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.7729, allocations: 0.8438 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.7729, allocations: 9.844 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.7729, allocations: 5.531 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/0.7732, allocations: 30.16 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008457/0.774, allocations: 320.8 kB / 0.7886 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.7742, allocations: 46.8 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.7744, allocations: 37.38 kB / 0.7887 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.7745, allocations: 3.938 kB / 0.7887 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.7747, allocations: 77.5 kB / 0.7888 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.875e-06/0.7747, allocations: 0 / 0.7888 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0006229/0.7754, allocations: 137.1 kB / 0.7889 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.7754, allocations: 56.8 kB / 0.7889 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.7755, allocations: 133.8 kB / 0.7891 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.7756, allocations: 25.7 kB / 0.7891 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.7756, allocations: 92.94 kB / 0.7892 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.7757, allocations: 17.16 kB / 0.7892 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.819e-05/0.7758, allocations: 27.03 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.97e-05/0.7758, allocations: 327 kB / 0.7895 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.776, allocations: 20.11 kB / 0.7896 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.7761, allocations: 47.22 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.7764, allocations: 80.69 kB / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.7764, allocations: 0 / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003557/0.7768, allocations: 113.2 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.7768, allocations: 9.031 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.7768, allocations: 2.594 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.7769, allocations: 2.5 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.777, allocations: 12.23 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.777, allocations: 3.734 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.7772, allocations: 6.141 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.7772, allocations: 4.5 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.166e-05/0.7773, allocations: 125.5 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.7773, allocations: 6.438 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.7774, allocations: 14.38 kB / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.7774, allocations: 0.6562 kB / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.7774, allocations: 0.8438 kB / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.7774, allocations: 0 / 0.79 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.778, allocations: 388.4 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.778, allocations: 0 / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/0.778, allocations: 7.844 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.7781, allocations: 0 / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.7781, allocations: 9.328 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.7781, allocations: 4.125 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7781, allocations: 0 / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.7785, allocations: 210.5 kB / 0.7906 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.7785, allocations: 87.45 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.7786, allocations: 3.719 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.7787, allocations: 9.062 kB / 0.7907 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.7788, allocations: 9.844 kB / 0.7907 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.7788, allocations: 2.875 kB / 0.7907 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.991e-05/0.7789, allocations: 97.91 kB / 0.7908 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7789, allocations: 0 / 0.7908 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004946/0.7794, allocations: 39.31 kB / 0.7908 GB, free: 46.8 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003837/0.7798, allocations: 156 kB / 0.7909 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.78, allocations: 75.5 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.78, allocations: 0 / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.366e-05/0.7801, allocations: 38.45 kB / 0.7911 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.7804, allocations: 11.38 kB / 0.7911 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.7808, allocations: 210.4 kB / 0.7913 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.781, allocations: 0.6884 MB / 0.7919 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.781, allocations: 13 kB / 0.7919 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of SimCode: time 3.81e-07/0.781, allocations: 3.844 kB / 0.792 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.003642/0.7846, allocations: 1.614 MB / 0.7935 GB, free: 45.76 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)