Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, 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.001763/0.001762, allocations: 196.9 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.604/1.604, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.592/1.592, allocations: 251.7 MB / 0.5092 GB, free: 3.125 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.001697/0.001698, allocations: 75.91 kB / 0.6223 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5472/0.5489, allocations: 104.7 MB / 0.7245 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002447/0.5514, allocations: 1.203 MB / 0.7257 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008097/0.5522, allocations: 398.4 kB / 0.7261 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.728e-05/0.5523, allocations: 4 kB / 0.7261 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.5523, allocations: 0 / 0.7261 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.801e-05/0.5524, allocations: 0 / 0.7261 GB, free: 11.29 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.0005715/0.5529, allocations: 99.58 kB / 0.7262 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.331e-05/0.553, allocations: 15.98 kB / 0.7262 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.5531, allocations: 0 / 0.7262 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.139e-05/0.5531, allocations: 7.984 kB / 0.7262 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.653e-05/0.5531, allocations: 15.92 kB / 0.7262 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.5531, allocations: 0 / 0.7262 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.5533, allocations: 91.84 kB / 0.7263 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.5534, allocations: 4 kB / 0.7263 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.5534, allocations: 7.938 kB / 0.7263 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.5536, allocations: 83.88 kB / 0.7264 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5536, allocations: 0 / 0.7264 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5536, allocations: 0 / 0.7264 GB, free: 10.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.5536, allocations: 0 / 0.7264 GB, free: 10.96 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005305/0.5541, allocations: 379.1 kB / 0.7267 GB, free: 10.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.5542, allocations: 8.031 kB / 0.7267 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.5542, allocations: 8.875 kB / 0.7268 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.5544, allocations: 168.4 kB / 0.7269 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.5544, allocations: 4.359 kB / 0.7269 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.5544, allocations: 4.375 kB / 0.7269 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.5545, allocations: 34.25 kB / 0.727 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.5545, allocations: 192 / 0.727 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.5546, allocations: 3.938 kB / 0.727 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.5546, allocations: 0 / 0.727 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.15e-05/0.5546, allocations: 8 kB / 0.727 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.5548, allocations: 157.7 kB / 0.7271 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.061e-05/0.5549, allocations: 30.55 kB / 0.7271 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.5549, allocations: 12.86 kB / 0.7272 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.699e-06/0.5549, allocations: 0 / 0.7272 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.5551, allocations: 59.47 kB / 0.7272 GB, free: 9.934 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.5551, allocations: 0 / 0.7272 GB, free: 9.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002123/0.5553, allocations: 81.45 kB / 0.7273 GB, free: 9.848 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.5554, allocations: 51.41 kB / 0.7273 GB, free: 9.785 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.5555, allocations: 93.86 kB / 0.7274 GB, free: 9.684 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.5555, allocations: 29.7 kB / 0.7275 GB, free: 9.648 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.5555, allocations: 84.08 kB / 0.7275 GB, free: 9.562 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.5556, allocations: 15.83 kB / 0.7276 GB, free: 9.547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.5556, allocations: 17.72 kB / 0.7276 GB, free: 9.523 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5557, allocations: 323 kB / 0.7279 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.5558, allocations: 7.984 kB / 0.7279 GB, free: 9.191 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.5558, allocations: 27.44 kB / 0.7279 GB, free: 9.152 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/0.5559, allocations: 51.36 kB / 0.728 GB, free: 9.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5559, allocations: 4 kB / 0.728 GB, free: 9.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.343e-05/0.556, allocations: 65.62 kB / 0.728 GB, free: 9.016 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.556, allocations: 9.812 kB / 0.728 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.556, allocations: 0 / 0.728 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.556, allocations: 7.938 kB / 0.728 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.5561, allocations: 4 kB / 0.728 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.5561, allocations: 3.938 kB / 0.7281 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.491e-05/0.5561, allocations: 7.906 kB / 0.7281 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.5562, allocations: 4 kB / 0.7281 GB, free: 8.98 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.135e-05/0.5562, allocations: 117.9 kB / 0.7282 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.5563, allocations: 7.938 kB / 0.7282 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.5563, allocations: 3.5 kB / 0.7282 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.5563, allocations: 0 / 0.7282 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5563, allocations: 0 / 0.7282 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5563, allocations: 0 / 0.7282 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.5565, allocations: 157.7 kB / 0.7283 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.5565, allocations: 0 / 0.7283 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.424e-05/0.5565, allocations: 7.938 kB / 0.7283 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5565, allocations: 7.938 kB / 0.7284 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.5565, allocations: 0 / 0.7284 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5565, allocations: 3.984 kB / 0.7284 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5565, allocations: 0 / 0.7284 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.5566, allocations: 77.12 kB / 0.7284 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.5567, allocations: 77.11 kB / 0.7285 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.5567, allocations: 11.92 kB / 0.7285 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/0.5567, allocations: 0 / 0.7285 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.5568, allocations: 4 kB / 0.7285 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.5568, allocations: 4 kB / 0.7285 GB, free: 8.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.506e-05/0.5568, allocations: 79.28 kB / 0.7286 GB, free: 8.332 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5568, allocations: 0 / 0.7286 GB, free: 8.332 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002393/0.5571, allocations: 27.98 kB / 0.7286 GB, free: 8.305 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000384/0.5575, allocations: 167.9 kB / 0.7288 GB, free: 8.141 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.5576, allocations: 31.92 kB / 0.7288 GB, free: 8.109 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5576, allocations: 0 / 0.7288 GB, free: 8.109 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.685e-05/0.5576, allocations: 19.88 kB / 0.7288 GB, free: 8.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.5578, allocations: 0 / 0.7288 GB, free: 8.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.5581, allocations: 106.8 kB / 0.7289 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.5584, allocations: 0.6729 MB / 0.7296 GB, free: 7.262 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.374e-05/0.5584, allocations: 12.17 kB / 0.7296 GB, free: 7.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.631e-05/0.5584, allocations: 7.438 kB / 0.7296 GB, free: 7.242 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5584, allocations: 0 / 0.7296 GB, free: 7.242 MB / 0.545 GB Notification: Performance of Templates: time 0.003676/0.5621, allocations: 0.9609 MB / 0.7305 GB, free: 6.289 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)