Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005594/0.005594, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001177/0.001177, allocations: 187.4 kB / 16.67 MB, free: 5.918 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.436/1.436, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.573/1.573, allocations: 251.7 MB / 0.5094 GB, free: 3.016 MB / 414.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.001641/0.001641, allocations: 75.91 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2278, allocations: 104.7 MB / 0.828 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003334/0.2311, allocations: 1.505 MB / 0.8295 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.2327, allocations: 0.7719 MB / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.2328, allocations: 4 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.2328, allocations: 7.922 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.881e-05/0.2329, allocations: 11.86 kB / 0.8303 GB, free: 13.88 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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.0006735/0.2336, allocations: 123.5 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.2337, allocations: 75.78 kB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.2338, allocations: 19.98 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.365e-05/0.2339, allocations: 31.91 kB / 0.8305 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.234, allocations: 39.83 kB / 0.8306 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.234, allocations: 8 kB / 0.8306 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.2342, allocations: 95.84 kB / 0.8307 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.2343, allocations: 19.92 kB / 0.8307 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.2343, allocations: 31.84 kB / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.2346, allocations: 139.7 kB / 0.8308 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2346, allocations: 0 / 0.8308 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2346, allocations: 4 kB / 0.8308 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.2346, allocations: 0 / 0.8308 GB, free: 13.3 MB / 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.0006876/0.2353, allocations: 424.8 kB / 0.8312 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2353, allocations: 8.031 kB / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.2354, allocations: 8.922 kB / 0.8313 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.2355, allocations: 172.2 kB / 0.8314 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.2355, allocations: 384 / 0.8314 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.2356, allocations: 8.359 kB / 0.8314 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.2358, allocations: 77.97 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2358, allocations: 0 / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.2358, allocations: 3.938 kB / 0.8315 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2358, allocations: 0 / 0.8315 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.236, allocations: 35.97 kB / 0.8315 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006411/0.2366, allocations: 336.5 kB / 0.8319 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.2368, allocations: 42.56 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.256e-05/0.2368, allocations: 36.97 kB / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.2369, allocations: 0 / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.2371, allocations: 75.38 kB / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 3.186e-06/0.2371, allocations: 8 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.000432/0.2376, allocations: 137.5 kB / 0.8322 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.2376, allocations: 63.39 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2377, allocations: 113.8 kB / 0.8323 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.2378, allocations: 29.7 kB / 0.8323 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.2378, allocations: 88.12 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.2379, allocations: 15.81 kB / 0.8324 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.2379, allocations: 29.7 kB / 0.8325 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.238, allocations: 326.8 kB / 0.8328 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/0.2381, allocations: 27.97 kB / 0.8328 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.414e-05/0.2382, allocations: 51.42 kB / 0.8329 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.2384, allocations: 83.34 kB / 0.8329 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2384, allocations: 0 / 0.8329 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002262/0.2387, allocations: 117.4 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2387, allocations: 4 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2387, allocations: 0 / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.2387, allocations: 4 kB / 0.8331 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.2388, allocations: 15.98 kB / 0.8331 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.2388, allocations: 8 kB / 0.8331 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.777e-05/0.2389, allocations: 11.92 kB / 0.8331 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.2389, allocations: 4 kB / 0.8331 GB, free: 10.72 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 0.0001083/0.2391, allocations: 125.7 kB / 0.8332 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.2391, allocations: 3.906 kB / 0.8332 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.2391, allocations: 12.38 kB / 0.8332 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2391, allocations: 0 / 0.8332 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2391, allocations: 0 / 0.8332 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2392, allocations: 7.984 kB / 0.8332 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.2396, allocations: 382.4 kB / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2396, allocations: 0 / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/0.2397, allocations: 7.938 kB / 0.8336 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.2397, allocations: 0 / 0.8336 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.2397, allocations: 4.047 kB / 0.8336 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2397, allocations: 0 / 0.8336 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.2397, allocations: 7.922 kB / 0.8336 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.24, allocations: 207.9 kB / 0.8338 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.2401, allocations: 89.02 kB / 0.8339 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.2401, allocations: 4.062 kB / 0.8339 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.2402, allocations: 11.92 kB / 0.8339 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.2402, allocations: 7.938 kB / 0.8339 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.2403, allocations: 3.984 kB / 0.8339 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.537e-05/0.2403, allocations: 87.28 kB / 0.834 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2403, allocations: 8 kB / 0.834 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000305/0.2407, allocations: 39.98 kB / 0.8341 GB, free: 9.633 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,occ.y,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.0003673/0.241, allocations: 164.4 kB / 0.8342 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.2413, allocations: 75.95 kB / 0.8343 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2413, allocations: 0 / 0.8343 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.64e-05/0.2414, allocations: 31.98 kB / 0.8343 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.2417, allocations: 6.062 kB / 0.8343 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.2421, allocations: 188.4 kB / 0.8345 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.2426, allocations: 0.6922 MB / 0.8352 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.991e-05/0.2426, allocations: 11.81 kB / 0.8352 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.2427, allocations: 11.38 kB / 0.8352 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.2427, allocations: 4 kB / 0.8352 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.004981/0.2477, allocations: 1.46 MB / 0.8366 GB, free: 6.957 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)