Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005763/0.005763, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001132/0.001132, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.468/1.468, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.537/1.537, allocations: 251.7 MB / 0.5094 GB, free: 3.027 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.001371/0.001371, allocations: 67.91 kB / 0.7258 GB, free: 9.172 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2329, allocations: 104.7 MB / 0.828 GB, free: 364 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002924/0.2359, allocations: 1.602 MB / 0.8296 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.2374, allocations: 0.8302 MB / 0.8304 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.2375, allocations: 0 / 0.8304 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.299e-05/0.2375, allocations: 11.88 kB / 0.8304 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.324e-05/0.2376, allocations: 15.8 kB / 0.8304 GB, free: 13.87 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.0006769/0.2383, allocations: 151.6 kB / 0.8306 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.2385, allocations: 135.6 kB / 0.8307 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2386, allocations: 19.98 kB / 0.8307 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.2387, allocations: 63.77 kB / 0.8308 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.2388, allocations: 67.78 kB / 0.8308 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.2389, allocations: 12 kB / 0.8309 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.2391, allocations: 99.91 kB / 0.831 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.965e-05/0.2391, allocations: 31.91 kB / 0.831 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.2392, allocations: 59.64 kB / 0.831 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.2396, allocations: 195.5 kB / 0.8312 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2396, allocations: 0 / 0.8312 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2396, allocations: 0 / 0.8312 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.2396, allocations: 0 / 0.8312 GB, free: 13.05 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008053/0.2404, allocations: 478.4 kB / 0.8317 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2404, allocations: 8.031 kB / 0.8317 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.58e-05/0.2405, allocations: 16.75 kB / 0.8317 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2406, allocations: 178.5 kB / 0.8319 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.2407, allocations: 16.31 kB / 0.8319 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.2407, allocations: 8.125 kB / 0.8319 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.241, allocations: 101.6 kB / 0.832 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.241, allocations: 0 / 0.832 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.241, allocations: 3.938 kB / 0.832 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.241, allocations: 0 / 0.832 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.2412, allocations: 63.95 kB / 0.8321 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000842/0.2421, allocations: 368.6 kB / 0.8324 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.2423, allocations: 70.48 kB / 0.8325 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.2424, allocations: 52.98 kB / 0.8325 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.2424, allocations: 7.984 kB / 0.8325 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.2427, allocations: 99.34 kB / 0.8326 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.2427, allocations: 0 / 0.8326 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0005938/0.2433, allocations: 217.4 kB / 0.8328 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.2434, allocations: 59.34 kB / 0.8329 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.2435, allocations: 147.5 kB / 0.833 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.2435, allocations: 29.7 kB / 0.8331 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.2436, allocations: 100.3 kB / 0.8332 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.2436, allocations: 23.7 kB / 0.8332 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.2437, allocations: 29.7 kB / 0.8332 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2438, allocations: 326.8 kB / 0.8335 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.2439, allocations: 35.98 kB / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.244, allocations: 80.27 kB / 0.8336 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.2443, allocations: 116.3 kB / 0.8337 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2443, allocations: 3.938 kB / 0.8338 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003223/0.2446, allocations: 157.4 kB / 0.8339 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2446, allocations: 4 kB / 0.8339 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2447, allocations: 8.062 kB / 0.8339 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2447, allocations: 0 / 0.8339 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.2448, allocations: 15.98 kB / 0.8339 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.2449, allocations: 15.97 kB / 0.8339 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.245, allocations: 15.92 kB / 0.834 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.245, allocations: 4.375 kB / 0.834 GB, free: 9.984 MB / 0.6544 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 9.814e-05/0.2451, allocations: 121.8 kB / 0.8341 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.2451, allocations: 11.81 kB / 0.8341 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.2452, allocations: 16.7 kB / 0.8341 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2452, allocations: 3.938 kB / 0.8341 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2452, allocations: 7.938 kB / 0.8341 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2452, allocations: 0 / 0.8341 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005915/0.2458, allocations: 458.4 kB / 0.8346 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2458, allocations: 0 / 0.8346 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.2459, allocations: 11.98 kB / 0.8346 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2459, allocations: 3.938 kB / 0.8346 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.2459, allocations: 0 / 0.8346 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2459, allocations: 3.938 kB / 0.8346 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2459, allocations: 4 kB / 0.8346 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.2463, allocations: 263.4 kB / 0.8348 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.2464, allocations: 96.8 kB / 0.8349 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.2464, allocations: 3.938 kB / 0.8349 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.2465, allocations: 7.984 kB / 0.8349 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.2466, allocations: 12 kB / 0.8349 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.2466, allocations: 7.984 kB / 0.835 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.871e-05/0.2467, allocations: 106.1 kB / 0.8351 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2467, allocations: 0 / 0.8351 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003278/0.247, allocations: 39.98 kB / 0.8351 GB, free: 8.73 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: 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.0003636/0.2474, allocations: 171.7 kB / 0.8353 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.2477, allocations: 107.9 kB / 0.8354 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2477, allocations: 0 / 0.8354 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.2479, allocations: 59.91 kB / 0.8354 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.2482, allocations: 20.06 kB / 0.8354 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.2487, allocations: 228.8 kB / 0.8357 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.249, allocations: 0.7 MB / 0.8363 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.855e-05/0.249, allocations: 7.984 kB / 0.8363 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.2491, allocations: 19.42 kB / 0.8364 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.2491, allocations: 4 kB / 0.8364 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of Templates: time 0.004986/0.2541, allocations: 1.959 MB / 0.8383 GB, free: 5.43 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)