Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007295/0.007295, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001463/0.001463, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.632/1.632, allocations: 205.1 MB / 222.6 MB, free: 4.359 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.646/1.646, allocations: 251.7 MB / 0.5094 GB, free: 2.988 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.001434/0.001434, allocations: 71.91 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2257, allocations: 104.7 MB / 0.828 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002644/0.2284, allocations: 1.497 MB / 0.8295 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.2297, allocations: 0.772 MB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.69e-05/0.2298, allocations: 4 kB / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.2298, allocations: 3.938 kB / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.754e-05/0.2299, allocations: 15.84 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.0005631/0.2305, allocations: 115.6 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.2306, allocations: 79.7 kB / 0.8305 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2307, allocations: 16 kB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.379e-05/0.2308, allocations: 35.89 kB / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.2309, allocations: 35.84 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.2309, allocations: 8 kB / 0.8305 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.2311, allocations: 95.84 kB / 0.8306 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.2311, allocations: 15.98 kB / 0.8307 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.2312, allocations: 39.78 kB / 0.8307 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.2315, allocations: 135.7 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2315, allocations: 4 kB / 0.8308 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2315, allocations: 4 kB / 0.8308 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2315, allocations: 0 / 0.8308 GB, free: 13.31 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.000669/0.2322, allocations: 416.8 kB / 0.8312 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2322, allocations: 12.03 kB / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.2323, allocations: 12.86 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2324, allocations: 180.2 kB / 0.8314 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.2324, allocations: 4.375 kB / 0.8314 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.2325, allocations: 4.375 kB / 0.8314 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.2327, allocations: 73.97 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2327, allocations: 0 / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.2327, allocations: 4 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2327, allocations: 0 / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.2328, allocations: 35.97 kB / 0.8315 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006154/0.2335, allocations: 328.5 kB / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.2336, allocations: 50.5 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.956e-05/0.2337, allocations: 36.97 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.2337, allocations: 3.984 kB / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.2339, allocations: 75.38 kB / 0.832 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.234, allocations: 4 kB / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004021/0.2344, allocations: 145.5 kB / 0.8322 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.2344, allocations: 55.41 kB / 0.8322 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.999e-05/0.2345, allocations: 117.8 kB / 0.8323 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.2345, allocations: 33.69 kB / 0.8324 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.2346, allocations: 88.14 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.2346, allocations: 11.81 kB / 0.8324 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.2347, allocations: 29.7 kB / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2348, allocations: 326.8 kB / 0.8328 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.2349, allocations: 27.98 kB / 0.8328 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.463e-05/0.235, allocations: 42.56 kB / 0.8329 GB, free: 11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.2351, allocations: 78.48 kB / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2351, allocations: 0 / 0.8329 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002314/0.2354, allocations: 113.5 kB / 0.833 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2354, allocations: 4 kB / 0.833 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2354, allocations: 0 / 0.833 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2354, allocations: 4 kB / 0.833 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.449e-05/0.2355, allocations: 11.98 kB / 0.8331 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.2356, allocations: 3.938 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.328e-05/0.2356, allocations: 12 kB / 0.8331 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.2357, allocations: 4 kB / 0.8331 GB, free: 10.76 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 8.993e-05/0.2357, allocations: 128.3 kB / 0.8332 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.2358, allocations: 11.91 kB / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.2358, allocations: 4.375 kB / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.2358, allocations: 4 kB / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2358, allocations: 0 / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2358, allocations: 0 / 0.8332 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.2363, allocations: 394.3 kB / 0.8336 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2363, allocations: 3.938 kB / 0.8336 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.2363, allocations: 7.984 kB / 0.8336 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2364, allocations: 0 / 0.8336 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2364, allocations: 0 / 0.8336 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2364, allocations: 0 / 0.8336 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2364, allocations: 3.938 kB / 0.8336 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.2367, allocations: 215.5 kB / 0.8338 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.2367, allocations: 81.02 kB / 0.8339 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.2368, allocations: 7.938 kB / 0.8339 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.2368, allocations: 0 / 0.8339 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.2369, allocations: 11.92 kB / 0.8339 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.2369, allocations: 4 kB / 0.8339 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.997e-05/0.237, allocations: 95.27 kB / 0.834 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.237, allocations: 0 / 0.834 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003116/0.2373, allocations: 43.98 kB / 0.834 GB, free: 9.664 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.0003504/0.2376, allocations: 164.3 kB / 0.8342 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.2379, allocations: 71.91 kB / 0.8343 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2379, allocations: 4.125 kB / 0.8343 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.238, allocations: 39.91 kB / 0.8343 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.2383, allocations: 11.94 kB / 0.8343 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.2388, allocations: 176.4 kB / 0.8345 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.2391, allocations: 0.6922 MB / 0.8352 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.33e-05/0.2392, allocations: 15.73 kB / 0.8352 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.2392, allocations: 11.44 kB / 0.8352 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.2392, allocations: 0 / 0.8352 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of Templates: time 0.004625/0.2438, allocations: 1.455 MB / 0.8366 GB, free: 6.996 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)