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.005179/0.005179, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001219/0.001219, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.502/1.502, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.449/1.449, allocations: 251.7 MB / 0.5094 GB, free: 416 kB / 430.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.001752/0.001752, allocations: 67.91 kB / 0.7258 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6499/0.6516, allocations: 104.7 MB / 0.828 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002799/0.6545, allocations: 1.586 MB / 0.8296 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.656, allocations: 0.8286 MB / 0.8304 GB, free: 212 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.367e-05/0.656, allocations: 3.938 kB / 0.8304 GB, free: 208 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.439e-05/0.6561, allocations: 3.938 kB / 0.8304 GB, free: 204 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.124e-05/0.6562, allocations: 27.78 kB / 0.8304 GB, free: 176 kB / 0.6231 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.0006513/0.6569, allocations: 151.5 kB / 0.8306 GB, free: 24 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.6571, allocations: 135.6 kB / 0.8307 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.6572, allocations: 19.36 kB / 0.8307 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.6573, allocations: 59.83 kB / 0.8308 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.6574, allocations: 75.78 kB / 0.8308 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.6575, allocations: 15.94 kB / 0.8309 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.6577, allocations: 103.8 kB / 0.8309 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.6577, allocations: 27.95 kB / 0.831 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.893e-05/0.6578, allocations: 55.7 kB / 0.831 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.6581, allocations: 183.5 kB / 0.8312 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6581, allocations: 0 / 0.8312 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6581, allocations: 4 kB / 0.8312 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.6581, allocations: 0 / 0.8312 GB, free: 15.36 MB / 0.6387 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.0007821/0.6589, allocations: 484.8 kB / 0.8317 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.6589, allocations: 11.97 kB / 0.8317 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.659, allocations: 12.83 kB / 0.8317 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.6591, allocations: 184.7 kB / 0.8319 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.6592, allocations: 8.359 kB / 0.8319 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.6592, allocations: 12.12 kB / 0.8319 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.6594, allocations: 93.61 kB / 0.832 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.6595, allocations: 8 kB / 0.832 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.6595, allocations: 0 / 0.832 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.6595, allocations: 0 / 0.832 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.6597, allocations: 59.95 kB / 0.832 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008597/0.6606, allocations: 384.4 kB / 0.8324 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.6608, allocations: 70.55 kB / 0.8325 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.6609, allocations: 44.84 kB / 0.8325 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.6609, allocations: 4 kB / 0.8325 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.6612, allocations: 103.4 kB / 0.8326 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.6612, allocations: 4 kB / 0.8326 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9): time 0.0005821/0.6618, allocations: 209.4 kB / 0.8328 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.6618, allocations: 59.39 kB / 0.8329 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.662, allocations: 160.6 kB / 0.833 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.662, allocations: 25.81 kB / 0.8331 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.6621, allocations: 104.3 kB / 0.8332 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.6621, allocations: 27.66 kB / 0.8332 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/0.6622, allocations: 29.7 kB / 0.8332 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.6624, allocations: 322.8 kB / 0.8335 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.6625, allocations: 43.97 kB / 0.8336 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.6627, allocations: 73.14 kB / 0.8336 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.6629, allocations: 112.2 kB / 0.8337 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.6629, allocations: 4 kB / 0.8337 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003579/0.6633, allocations: 161.4 kB / 0.8339 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6633, allocations: 4 kB / 0.8339 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.6633, allocations: 0 / 0.8339 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.6634, allocations: 4 kB / 0.8339 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.6635, allocations: 19.92 kB / 0.8339 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.6635, allocations: 11.92 kB / 0.8339 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.6637, allocations: 7.906 kB / 0.8339 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.6637, allocations: 4 kB / 0.8339 GB, free: 12.29 MB / 0.6387 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.0001458/0.6638, allocations: 129.9 kB / 0.8341 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.6639, allocations: 7.906 kB / 0.8341 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/0.6639, allocations: 13.09 kB / 0.8341 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.6639, allocations: 0 / 0.8341 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.6639, allocations: 3.938 kB / 0.8341 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.664, allocations: 0 / 0.8341 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007343/0.6647, allocations: 470.2 kB / 0.8345 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6647, allocations: 0 / 0.8345 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.397e-05/0.6648, allocations: 7.984 kB / 0.8346 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.6648, allocations: 7.938 kB / 0.8346 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.6648, allocations: 3.984 kB / 0.8346 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.6648, allocations: 0 / 0.8346 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6648, allocations: 0 / 0.8346 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.6653, allocations: 271.2 kB / 0.8348 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.6653, allocations: 92.98 kB / 0.8349 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.6654, allocations: 4 kB / 0.8349 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.6655, allocations: 7.984 kB / 0.8349 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.6656, allocations: 7.984 kB / 0.8349 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.6656, allocations: 4 kB / 0.8349 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 8.703e-05/0.6657, allocations: 111.2 kB / 0.835 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6657, allocations: 3.938 kB / 0.835 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003254/0.666, allocations: 40 kB / 0.8351 GB, free: 11.03 MB / 0.6387 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.0004077/0.6664, allocations: 178.6 kB / 0.8353 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003526/0.6668, allocations: 115.8 kB / 0.8354 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6668, allocations: 4.188 kB / 0.8354 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.667, allocations: 59.95 kB / 0.8354 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.6673, allocations: 7.938 kB / 0.8354 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005491/0.6678, allocations: 224.6 kB / 0.8356 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.6682, allocations: 0.7039 MB / 0.8363 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.186e-05/0.6682, allocations: 7.984 kB / 0.8363 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.6683, allocations: 11.44 kB / 0.8364 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of SimCode: time 6.51e-07/0.6683, allocations: 0 / 0.8364 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of Templates: time 0.00587/0.6741, allocations: 1.971 MB / 0.8383 GB, free: 7.727 MB / 0.6387 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)