Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005883/0.005883, allocations: 96.23 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.001387/0.001387, allocations: 200.3 kB / 16.68 MB, free: 5.98 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.444/1.444, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.426/1.426, allocations: 251.7 MB / 0.5094 GB, free: 400 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.002273/0.002273, allocations: 75.89 kB / 0.7258 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5703/0.5725, allocations: 104.7 MB / 0.828 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002787/0.5754, allocations: 1.508 MB / 0.8295 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.5768, allocations: 0.813 MB / 0.8303 GB, free: 252 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.5769, allocations: 0 / 0.8303 GB, free: 252 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.5769, allocations: 3.938 kB / 0.8303 GB, free: 248 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.2e-05/0.577, allocations: 23.78 kB / 0.8303 GB, free: 224 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.0006405/0.5777, allocations: 139.6 kB / 0.8305 GB, free: 84 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.5778, allocations: 91.86 kB / 0.8305 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.5779, allocations: 19.88 kB / 0.8306 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 9.928e-05/0.578, allocations: 47.84 kB / 0.8306 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.936e-05/0.5781, allocations: 55.8 kB / 0.8307 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.5782, allocations: 8 kB / 0.8307 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.5784, allocations: 99.84 kB / 0.8308 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.5784, allocations: 23.97 kB / 0.8308 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.583e-05/0.5785, allocations: 43.78 kB / 0.8308 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.5787, allocations: 164.2 kB / 0.831 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5787, allocations: 0 / 0.831 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5788, allocations: 0 / 0.831 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.5788, allocations: 0 / 0.831 GB, free: 15.55 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006624/0.5794, allocations: 462.3 kB / 0.8314 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.5795, allocations: 8.031 kB / 0.8314 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.5795, allocations: 12.89 kB / 0.8314 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.5797, allocations: 187.3 kB / 0.8316 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.5797, allocations: 8.375 kB / 0.8316 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.5797, allocations: 4.375 kB / 0.8316 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.58, allocations: 93.94 kB / 0.8317 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.58, allocations: 0 / 0.8317 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.58, allocations: 0 / 0.8317 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.58, allocations: 3.938 kB / 0.8317 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.5802, allocations: 59.94 kB / 0.8318 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007253/0.581, allocations: 340.6 kB / 0.8321 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.5812, allocations: 54.56 kB / 0.8322 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.5813, allocations: 48.83 kB / 0.8322 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.5813, allocations: 0 / 0.8322 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.5816, allocations: 111.5 kB / 0.8323 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.5816, allocations: 0 / 0.8323 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0005887/0.5822, allocations: 185.5 kB / 0.8325 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.5823, allocations: 55.41 kB / 0.8325 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.5824, allocations: 129.8 kB / 0.8327 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.5824, allocations: 29.7 kB / 0.8327 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.5825, allocations: 88.14 kB / 0.8328 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.5825, allocations: 15.91 kB / 0.8328 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.5826, allocations: 33.7 kB / 0.8328 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.5827, allocations: 326.8 kB / 0.8331 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.583e-05/0.5828, allocations: 23.98 kB / 0.8332 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.5829, allocations: 72.2 kB / 0.8332 GB, free: 13 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.5831, allocations: 96.2 kB / 0.8333 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5831, allocations: 0 / 0.8333 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000265/0.5834, allocations: 129.5 kB / 0.8334 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5834, allocations: 8 kB / 0.8335 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.5834, allocations: 3.984 kB / 0.8335 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.5835, allocations: 3.938 kB / 0.8335 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.5836, allocations: 16.03 kB / 0.8335 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.5836, allocations: 11.98 kB / 0.8335 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.864e-05/0.5837, allocations: 15.89 kB / 0.8335 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.5837, allocations: 4 kB / 0.8335 GB, free: 12.7 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,occ.y,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 (13): * Single equations (assignments): 13 * 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.623e-05/0.5838, allocations: 122.8 kB / 0.8336 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.5838, allocations: 7.953 kB / 0.8336 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.5839, allocations: 12.36 kB / 0.8336 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.5839, allocations: 4 kB / 0.8337 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5839, allocations: 4 kB / 0.8337 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5839, allocations: 0 / 0.8337 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000618/0.5845, allocations: 422.4 kB / 0.8341 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5845, allocations: 3.984 kB / 0.8341 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.5846, allocations: 7.938 kB / 0.8341 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5846, allocations: 0 / 0.8341 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.5846, allocations: 4 kB / 0.8341 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5846, allocations: 3.984 kB / 0.8341 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5846, allocations: 7.938 kB / 0.8341 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.585, allocations: 247.4 kB / 0.8343 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.5851, allocations: 85.06 kB / 0.8344 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.5851, allocations: 4 kB / 0.8344 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.5853, allocations: 7.984 kB / 0.8344 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.5853, allocations: 15.92 kB / 0.8344 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.5853, allocations: 0 / 0.8344 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.856e-05/0.5854, allocations: 100.3 kB / 0.8345 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5854, allocations: 0 / 0.8345 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003316/0.5857, allocations: 47.86 kB / 0.8346 GB, free: 11.51 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,occ.y,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 (8): * Single equations (assignments): 4 * 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.0003496/0.5861, allocations: 169.8 kB / 0.8347 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003036/0.5864, allocations: 87.89 kB / 0.8348 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5864, allocations: 3.938 kB / 0.8348 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.5866, allocations: 52.44 kB / 0.8349 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.5869, allocations: 10.95 kB / 0.8349 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.5873, allocations: 208.2 kB / 0.8351 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.5876, allocations: 0.6922 MB / 0.8358 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.022e-05/0.5877, allocations: 4 kB / 0.8358 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.5877, allocations: 15.42 kB / 0.8358 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.5877, allocations: 3.938 kB / 0.8358 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of Templates: time 0.005137/0.5928, allocations: 1.751 MB / 0.8375 GB, free: 8.488 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)