Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001247, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.545/1.545, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.519/1.519, allocations: 251.7 MB / 0.5092 GB, free: 3.148 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.001425/0.001425, allocations: 68.47 kB / 0.6223 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.468/0.4695, allocations: 104.7 MB / 0.7245 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002482/0.472, allocations: 1.481 MB / 0.726 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.4732, allocations: 0.7756 MB / 0.7267 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.4733, allocations: 3.938 kB / 0.7267 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.4733, allocations: 3.938 kB / 0.7267 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.107e-05/0.4734, allocations: 11.88 kB / 0.7267 GB, free: 10.62 MB / 0.545 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.0005877/0.474, allocations: 127.5 kB / 0.7269 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.673e-05/0.4741, allocations: 67.78 kB / 0.7269 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.4742, allocations: 8 kB / 0.7269 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/0.4743, allocations: 43.84 kB / 0.727 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.4743, allocations: 27.84 kB / 0.727 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.4744, allocations: 12 kB / 0.727 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.4745, allocations: 91.84 kB / 0.7271 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.4746, allocations: 19.92 kB / 0.7271 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.4746, allocations: 27.86 kB / 0.7271 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.4749, allocations: 137.6 kB / 0.7273 GB, free: 10.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4749, allocations: 0 / 0.7273 GB, free: 10.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4749, allocations: 4 kB / 0.7273 GB, free: 10.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.4749, allocations: 0 / 0.7273 GB, free: 10.07 MB / 0.545 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.0005779/0.4755, allocations: 446.5 kB / 0.7277 GB, free: 9.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.4755, allocations: 12.03 kB / 0.7277 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.4756, allocations: 8.844 kB / 0.7277 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.4757, allocations: 176.3 kB / 0.7279 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.4757, allocations: 4.375 kB / 0.7279 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.4757, allocations: 4.375 kB / 0.7279 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.4759, allocations: 77.91 kB / 0.728 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.476, allocations: 0 / 0.728 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.476, allocations: 0 / 0.728 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.476, allocations: 0 / 0.728 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.4761, allocations: 43.95 kB / 0.728 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.4767, allocations: 296.7 kB / 0.7283 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.4768, allocations: 50.5 kB / 0.7284 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.326e-05/0.4769, allocations: 32.97 kB / 0.7284 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.4769, allocations: 4.078 kB / 0.7284 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.4771, allocations: 83.3 kB / 0.7285 GB, free: 8.676 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.4771, allocations: 0 / 0.7285 GB, free: 8.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004115/0.4776, allocations: 137.5 kB / 0.7286 GB, free: 8.535 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.4776, allocations: 59.34 kB / 0.7287 GB, free: 8.465 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/0.4777, allocations: 122.2 kB / 0.7288 GB, free: 8.336 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.4777, allocations: 25.7 kB / 0.7288 GB, free: 8.305 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.4778, allocations: 92.12 kB / 0.7289 GB, free: 8.211 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.4778, allocations: 23.69 kB / 0.7289 GB, free: 8.188 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.4779, allocations: 29.7 kB / 0.7289 GB, free: 8.152 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.478, allocations: 318.8 kB / 0.7292 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.178e-05/0.4781, allocations: 19.98 kB / 0.7293 GB, free: 7.812 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.4782, allocations: 69.17 kB / 0.7293 GB, free: 7.727 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.4783, allocations: 93.06 kB / 0.7294 GB, free: 7.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4783, allocations: 0 / 0.7294 GB, free: 7.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002101/0.4786, allocations: 113.4 kB / 0.7295 GB, free: 7.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.4786, allocations: 8 kB / 0.7295 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4786, allocations: 0 / 0.7295 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.4786, allocations: 160 / 0.7295 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.4787, allocations: 19.94 kB / 0.7295 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4787, allocations: 3.984 kB / 0.7296 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.4788, allocations: 11.91 kB / 0.7296 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.4788, allocations: 0 / 0.7296 GB, free: 7.457 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.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.718e-05/0.4789, allocations: 129.7 kB / 0.7297 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.4789, allocations: 4 kB / 0.7297 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.4789, allocations: 8.359 kB / 0.7297 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.479, allocations: 4 kB / 0.7297 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.479, allocations: 3.938 kB / 0.7297 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.479, allocations: 0 / 0.7297 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.4794, allocations: 382.4 kB / 0.7301 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4795, allocations: 0 / 0.7301 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.4795, allocations: 4 kB / 0.7301 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4795, allocations: 0 / 0.7301 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.4795, allocations: 11.92 kB / 0.7301 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.4795, allocations: 4 kB / 0.7301 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4795, allocations: 8.328 kB / 0.7301 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.4798, allocations: 203.5 kB / 0.7303 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.4799, allocations: 92.94 kB / 0.7304 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.4799, allocations: 0 / 0.7304 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.81e-05/0.48, allocations: 8 kB / 0.7304 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.48, allocations: 7.922 kB / 0.7304 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.48, allocations: 8 kB / 0.7304 GB, free: 6.496 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.589e-05/0.4801, allocations: 91.27 kB / 0.7305 GB, free: 6.406 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4801, allocations: 0 / 0.7305 GB, free: 6.406 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002835/0.4804, allocations: 36 kB / 0.7305 GB, free: 6.371 MB / 0.545 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 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.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.0003123/0.4807, allocations: 162.7 kB / 0.7307 GB, free: 6.219 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.4809, allocations: 79.89 kB / 0.7308 GB, free: 6.141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.481, allocations: 0 / 0.7308 GB, free: 6.141 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.509e-05/0.4811, allocations: 31.98 kB / 0.7308 GB, free: 6.109 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.4813, allocations: 21.53 kB / 0.7308 GB, free: 6.094 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.4818, allocations: 193 kB / 0.731 GB, free: 5.875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.4821, allocations: 0.6885 MB / 0.7317 GB, free: 5.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.526e-05/0.4821, allocations: 11.92 kB / 0.7317 GB, free: 5.148 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.4821, allocations: 15.44 kB / 0.7317 GB, free: 5.137 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4821, allocations: 0 / 0.7317 GB, free: 5.137 MB / 0.545 GB Notification: Performance of Templates: time 0.004095/0.4862, allocations: 1.432 MB / 0.7331 GB, free: 3.707 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)