Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 108 kB / 15.61 MB, free: 152 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.001654/0.001654, allocations: 196.6 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.623/1.623, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.589/1.589, allocations: 251.7 MB / 0.5092 GB, free: 3.062 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.001768/0.001769, allocations: 75.89 kB / 0.6223 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5361/0.5378, allocations: 104.7 MB / 0.7245 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.003161/0.5411, allocations: 1.485 MB / 0.726 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.5426, allocations: 0.799 MB / 0.7267 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.144e-05/0.5427, allocations: 0 / 0.7267 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.5428, allocations: 3.938 kB / 0.7267 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.972e-05/0.5428, allocations: 11.88 kB / 0.7268 GB, free: 10.59 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.0006207/0.5435, allocations: 127.5 kB / 0.7269 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.5436, allocations: 75.77 kB / 0.727 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.5437, allocations: 16.17 kB / 0.727 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.402e-05/0.5438, allocations: 31.92 kB / 0.727 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.02e-05/0.5439, allocations: 35.83 kB / 0.727 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.5439, allocations: 8 kB / 0.727 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.5442, allocations: 91.86 kB / 0.7271 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.41e-05/0.5442, allocations: 23.91 kB / 0.7272 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.5443, allocations: 27.86 kB / 0.7272 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.5446, allocations: 149.6 kB / 0.7273 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5446, allocations: 0 / 0.7273 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5446, allocations: 0 / 0.7273 GB, free: 10.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.5446, allocations: 0 / 0.7273 GB, free: 10.02 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.0007951/0.5454, allocations: 453.8 kB / 0.7278 GB, free: 9.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.5454, allocations: 8.031 kB / 0.7278 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.5455, allocations: 8.844 kB / 0.7278 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.5457, allocations: 176.2 kB / 0.7279 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.5457, allocations: 8.359 kB / 0.7279 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.5457, allocations: 12.36 kB / 0.728 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.546, allocations: 73.78 kB / 0.728 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.546, allocations: 0 / 0.728 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.546, allocations: 3.984 kB / 0.728 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.546, allocations: 0 / 0.728 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.5462, allocations: 39.97 kB / 0.7281 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006177/0.5468, allocations: 308.7 kB / 0.7284 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.5469, allocations: 46.55 kB / 0.7284 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.082e-05/0.547, allocations: 32.97 kB / 0.7284 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.5471, allocations: 0 / 0.7284 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.5473, allocations: 87.28 kB / 0.7285 GB, free: 8.613 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.5473, allocations: 0 / 0.7285 GB, free: 8.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004924/0.5478, allocations: 149.6 kB / 0.7287 GB, free: 8.461 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.5479, allocations: 59.39 kB / 0.7287 GB, free: 8.391 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.548, allocations: 125 kB / 0.7288 GB, free: 8.262 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.548, allocations: 29.7 kB / 0.7289 GB, free: 8.227 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.5481, allocations: 92.12 kB / 0.729 GB, free: 8.133 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.5482, allocations: 23.75 kB / 0.729 GB, free: 8.109 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.5482, allocations: 29.7 kB / 0.729 GB, free: 8.074 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5484, allocations: 326.7 kB / 0.7293 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.5485, allocations: 19.98 kB / 0.7293 GB, free: 7.727 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.5486, allocations: 65.08 kB / 0.7294 GB, free: 7.645 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.5488, allocations: 96.94 kB / 0.7295 GB, free: 7.531 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5488, allocations: 4 kB / 0.7295 GB, free: 7.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000223/0.549, allocations: 113.4 kB / 0.7296 GB, free: 7.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.5491, allocations: 8 kB / 0.7296 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.5491, allocations: 0 / 0.7296 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.5491, allocations: 4 kB / 0.7296 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.24e-05/0.5492, allocations: 11.98 kB / 0.7296 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.5492, allocations: 4 kB / 0.7296 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.5493, allocations: 4 kB / 0.7296 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.5493, allocations: 4.156 kB / 0.7296 GB, free: 7.375 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.p,$PRE.bli.p,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 0.0001032/0.5494, allocations: 129.7 kB / 0.7298 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.5494, allocations: 7.906 kB / 0.7298 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.5495, allocations: 12.36 kB / 0.7298 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.5495, allocations: 4 kB / 0.7298 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5495, allocations: 0 / 0.7298 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5495, allocations: 0 / 0.7298 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.55, allocations: 394.3 kB / 0.7302 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.55, allocations: 4 kB / 0.7302 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.5501, allocations: 3.984 kB / 0.7302 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5501, allocations: 4 kB / 0.7302 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.5501, allocations: 0 / 0.7302 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.5501, allocations: 3.938 kB / 0.7302 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5501, allocations: 0 / 0.7302 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.5504, allocations: 211.5 kB / 0.7304 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.5505, allocations: 84.95 kB / 0.7305 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.5505, allocations: 7.984 kB / 0.7305 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.437e-05/0.5506, allocations: 7.938 kB / 0.7305 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.5506, allocations: 15.86 kB / 0.7305 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.5507, allocations: 4 kB / 0.7305 GB, free: 6.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.66e-05/0.5507, allocations: 95.27 kB / 0.7306 GB, free: 6.305 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5507, allocations: 0 / 0.7306 GB, free: 6.305 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003043/0.551, allocations: 36 kB / 0.7306 GB, free: 6.27 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.p,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.0003322/0.5514, allocations: 167.2 kB / 0.7308 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.5516, allocations: 75.89 kB / 0.7309 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5517, allocations: 0 / 0.7309 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.5518, allocations: 44.22 kB / 0.7309 GB, free: 5.996 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.5521, allocations: 13.38 kB / 0.7309 GB, free: 5.984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.5525, allocations: 188.2 kB / 0.7311 GB, free: 5.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.5529, allocations: 0.6924 MB / 0.7318 GB, free: 5.051 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.389e-05/0.5529, allocations: 4 kB / 0.7318 GB, free: 5.047 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.5529, allocations: 11.44 kB / 0.7318 GB, free: 5.039 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5529, allocations: 0 / 0.7318 GB, free: 5.039 MB / 0.545 GB Notification: Performance of Templates: time 0.00452/0.5575, allocations: 1.499 MB / 0.7332 GB, free: 3.578 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1)