Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 108 kB / 15.6 MB, free: 132 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.001146/0.001147, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.421/1.421, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.644/1.644, allocations: 251.7 MB / 0.5092 GB, free: 3.176 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.001424/0.001424, allocations: 63.91 kB / 0.6223 GB, free: 1.547 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4816/0.4831, allocations: 104.7 MB / 0.7245 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002376/0.4855, allocations: 1.505 MB / 0.726 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.4866, allocations: 0.799 MB / 0.7268 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/0.4867, allocations: 8 kB / 0.7268 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.4867, allocations: 7.922 kB / 0.7268 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.659e-05/0.4868, allocations: 7.875 kB / 0.7268 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.0005421/0.4873, allocations: 131.6 kB / 0.7269 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.4874, allocations: 95.69 kB / 0.727 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.602e-05/0.4875, allocations: 8 kB / 0.727 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.277e-05/0.4876, allocations: 51.78 kB / 0.7271 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.828e-05/0.4877, allocations: 47.81 kB / 0.7271 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.4877, allocations: 8 kB / 0.7271 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.4879, allocations: 95.91 kB / 0.7272 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.488, allocations: 15.98 kB / 0.7272 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.488, allocations: 43.78 kB / 0.7273 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.4883, allocations: 153.6 kB / 0.7274 GB, free: 9.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4883, allocations: 0 / 0.7274 GB, free: 9.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4883, allocations: 0 / 0.7274 GB, free: 9.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.4883, allocations: 4 kB / 0.7274 GB, free: 9.977 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005562/0.4888, allocations: 462.5 kB / 0.7278 GB, free: 9.465 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.4889, allocations: 15.97 kB / 0.7279 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.4889, allocations: 8.844 kB / 0.7279 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.489, allocations: 172.2 kB / 0.728 GB, free: 9.234 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.4891, allocations: 8.375 kB / 0.728 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.4891, allocations: 8.359 kB / 0.728 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.4893, allocations: 85.89 kB / 0.7281 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.4893, allocations: 4 kB / 0.7281 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.4893, allocations: 4 kB / 0.7281 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.4894, allocations: 4 kB / 0.7281 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.4895, allocations: 47.95 kB / 0.7282 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.49, allocations: 320.6 kB / 0.7285 GB, free: 8.707 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.4902, allocations: 70.55 kB / 0.7286 GB, free: 8.629 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.4903, allocations: 44.84 kB / 0.7286 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.4903, allocations: 0 / 0.7286 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.4905, allocations: 91.39 kB / 0.7287 GB, free: 8.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.4905, allocations: 0 / 0.7287 GB, free: 8.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0004532/0.491, allocations: 193.5 kB / 0.7289 GB, free: 8.285 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.491, allocations: 55.41 kB / 0.7289 GB, free: 8.219 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.402e-05/0.4911, allocations: 122.8 kB / 0.729 GB, free: 8.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.4912, allocations: 33.7 kB / 0.7291 GB, free: 8.051 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.4912, allocations: 100.3 kB / 0.7292 GB, free: 7.949 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.4912, allocations: 15.72 kB / 0.7292 GB, free: 7.934 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.4913, allocations: 34.08 kB / 0.7292 GB, free: 7.895 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.082e-05/0.4914, allocations: 330.8 kB / 0.7295 GB, free: 7.562 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.959e-05/0.4915, allocations: 27.98 kB / 0.7296 GB, free: 7.535 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.4916, allocations: 69.98 kB / 0.7296 GB, free: 7.445 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.4918, allocations: 113.8 kB / 0.7297 GB, free: 7.312 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4918, allocations: 0 / 0.7297 GB, free: 7.312 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000251/0.492, allocations: 137.5 kB / 0.7299 GB, free: 7.172 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4921, allocations: 5.875 kB / 0.7299 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4921, allocations: 4 kB / 0.7299 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.4921, allocations: 0 / 0.7299 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.4922, allocations: 23.92 kB / 0.7299 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4922, allocations: 4 kB / 0.7299 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.4923, allocations: 19.83 kB / 0.7299 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.4923, allocations: 7.938 kB / 0.7299 GB, free: 7.109 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (15): * Single equations (assignments): 15 * 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.465e-05/0.4924, allocations: 133.2 kB / 0.7301 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.4924, allocations: 4 kB / 0.7301 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.4924, allocations: 8.375 kB / 0.7301 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4924, allocations: 7.938 kB / 0.7301 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4924, allocations: 0 / 0.7301 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4925, allocations: 3.984 kB / 0.7301 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.4929, allocations: 438.4 kB / 0.7305 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.493, allocations: 4 kB / 0.7305 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.493, allocations: 4 kB / 0.7305 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.493, allocations: 0 / 0.7305 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.493, allocations: 3.984 kB / 0.7305 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.493, allocations: 0 / 0.7305 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.493, allocations: 7.938 kB / 0.7305 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.4934, allocations: 247.3 kB / 0.7308 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.4934, allocations: 89.02 kB / 0.7308 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.4935, allocations: 0 / 0.7308 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.4936, allocations: 7.984 kB / 0.7308 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.4936, allocations: 11.94 kB / 0.7309 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.4936, allocations: 4.172 kB / 0.7309 GB, free: 6.059 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.933e-05/0.4937, allocations: 103.1 kB / 0.731 GB, free: 5.961 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4937, allocations: 3.938 kB / 0.731 GB, free: 5.957 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002883/0.494, allocations: 40 kB / 0.731 GB, free: 5.918 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003008/0.4943, allocations: 160.8 kB / 0.7312 GB, free: 5.766 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002673/0.4946, allocations: 99.81 kB / 0.7313 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4946, allocations: 0 / 0.7313 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.4947, allocations: 48.23 kB / 0.7313 GB, free: 5.621 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.495, allocations: 20 kB / 0.7313 GB, free: 5.605 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.4954, allocations: 199.6 kB / 0.7315 GB, free: 5.383 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.4957, allocations: 0.6965 MB / 0.7322 GB, free: 4.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.775e-05/0.4958, allocations: 7.984 kB / 0.7322 GB, free: 4.652 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.4958, allocations: 15.38 kB / 0.7322 GB, free: 4.637 MB / 0.545 GB Notification: Performance of SimCode: time 1.653e-06/0.4958, allocations: 0 / 0.7322 GB, free: 4.637 MB / 0.545 GB Notification: Performance of Templates: time 0.004067/0.4999, allocations: 1.692 MB / 0.7339 GB, free: 2.961 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)