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.005469/0.00547, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001207/0.001207, allocations: 190.5 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.494/1.494, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.677/1.676, allocations: 251.7 MB / 0.5094 GB, free: 2.996 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.002591/0.002591, allocations: 68.33 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2536, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002817/0.2564, allocations: 1.595 MB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.2582, allocations: 0.8342 MB / 0.8304 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.2583, allocations: 0 / 0.8304 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.811e-05/0.2584, allocations: 7.875 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.2585, allocations: 19.8 kB / 0.8304 GB, free: 13.71 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.0009051/0.2594, allocations: 151.6 kB / 0.8306 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.2597, allocations: 135.6 kB / 0.8307 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.2599, allocations: 16 kB / 0.8307 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.26, allocations: 67.75 kB / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.2602, allocations: 71.78 kB / 0.8308 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.2602, allocations: 12 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.2606, allocations: 99.91 kB / 0.831 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.238e-05/0.2606, allocations: 27.91 kB / 0.831 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.846e-05/0.2607, allocations: 63.66 kB / 0.831 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.2611, allocations: 191.5 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2611, allocations: 0 / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2611, allocations: 3.938 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.2612, allocations: 4 kB / 0.8312 GB, free: 12.88 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.0007902/0.262, allocations: 474.5 kB / 0.8317 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.262, allocations: 8.031 kB / 0.8317 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.2621, allocations: 16.75 kB / 0.8317 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.2622, allocations: 184.8 kB / 0.8319 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.2623, allocations: 12.31 kB / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.2623, allocations: 8.125 kB / 0.8319 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.2626, allocations: 97.5 kB / 0.832 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2626, allocations: 0 / 0.832 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.2626, allocations: 11.98 kB / 0.832 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.2626, allocations: 0 / 0.832 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.2628, allocations: 59.95 kB / 0.8321 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008714/0.2637, allocations: 368.6 kB / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.2639, allocations: 70.48 kB / 0.8325 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.2641, allocations: 56.83 kB / 0.8325 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.2641, allocations: 0 / 0.8325 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000302/0.2644, allocations: 99.34 kB / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.2644, allocations: 0 / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0005967/0.265, allocations: 213.4 kB / 0.8328 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.2651, allocations: 63.34 kB / 0.8329 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.2652, allocations: 148.1 kB / 0.833 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.2652, allocations: 33.7 kB / 0.8331 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.2653, allocations: 96.31 kB / 0.8332 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.2653, allocations: 27.84 kB / 0.8332 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.2654, allocations: 29.7 kB / 0.8332 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2655, allocations: 322.8 kB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.2656, allocations: 39.98 kB / 0.8336 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.2658, allocations: 80.73 kB / 0.8336 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.266, allocations: 116.1 kB / 0.8337 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.266, allocations: 4 kB / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003447/0.2664, allocations: 157.4 kB / 0.8339 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2664, allocations: 7.938 kB / 0.8339 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2664, allocations: 0 / 0.8339 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.2664, allocations: 8.094 kB / 0.8339 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.2666, allocations: 15.98 kB / 0.8339 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-05/0.2666, allocations: 11.94 kB / 0.8339 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.2667, allocations: 15.92 kB / 0.834 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.2667, allocations: 8 kB / 0.834 GB, free: 9.812 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 0.0001018/0.2669, allocations: 117.8 kB / 0.8341 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.2669, allocations: 11.81 kB / 0.8341 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.2669, allocations: 20.7 kB / 0.8341 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2669, allocations: 0 / 0.8341 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2669, allocations: 3.938 kB / 0.8341 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.267, allocations: 0 / 0.8341 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006062/0.2676, allocations: 454.4 kB / 0.8345 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2676, allocations: 0 / 0.8345 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.227e-05/0.2676, allocations: 7.984 kB / 0.8346 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.2677, allocations: 7.938 kB / 0.8346 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.2677, allocations: 8 kB / 0.8346 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.2677, allocations: 3.938 kB / 0.8346 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2677, allocations: 0 / 0.8346 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004002/0.2681, allocations: 263.4 kB / 0.8348 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.2682, allocations: 96.8 kB / 0.8349 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.2682, allocations: 3.938 kB / 0.8349 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.2683, allocations: 11.98 kB / 0.8349 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.2684, allocations: 11.98 kB / 0.8349 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.2684, allocations: 4 kB / 0.8349 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.961e-05/0.2685, allocations: 110.1 kB / 0.8351 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2685, allocations: 0 / 0.8351 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003351/0.2688, allocations: 40.19 kB / 0.8351 GB, free: 8.562 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.0004103/0.2692, allocations: 165.7 kB / 0.8353 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003495/0.2696, allocations: 111.9 kB / 0.8354 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2696, allocations: 0 / 0.8354 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.2698, allocations: 59.91 kB / 0.8354 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.2701, allocations: 20.05 kB / 0.8354 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005539/0.2706, allocations: 228.6 kB / 0.8357 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.271, allocations: 0.7039 MB / 0.8363 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.274e-05/0.271, allocations: 8 kB / 0.8363 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.2711, allocations: 15.42 kB / 0.8364 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.2711, allocations: 0 / 0.8364 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of Templates: time 0.005144/0.2762, allocations: 1.973 MB / 0.8383 GB, free: 5.258 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)