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.001073/0.001073, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001197/0.001198, allocations: 195.9 kB / 16.14 MB, free: 6.711 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.505/1.505, allocations: 205.1 MB / 222 MB, free: 4.805 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.553/1.553, allocations: 251.7 MB / 0.5088 GB, free: 3.379 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.001337/0.001338, allocations: 59.91 kB / 0.6216 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5616/0.563, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.00229/0.5653, allocations: 1.276 MB / 0.725 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000752/0.5661, allocations: 386.6 kB / 0.7254 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.205e-05/0.5661, allocations: 11.94 kB / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.5661, allocations: 0 / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.399e-05/0.5662, allocations: 0 / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.5666, allocations: 79.78 kB / 0.7255 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.29e-05/0.5667, allocations: 15.98 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.5667, allocations: 0 / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.974e-05/0.5667, allocations: 7.938 kB / 0.7255 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.568e-05/0.5668, allocations: 7.984 kB / 0.7255 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.5668, allocations: 0 / 0.7255 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.567, allocations: 91.84 kB / 0.7256 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.567, allocations: 8 kB / 0.7256 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.567, allocations: 11.92 kB / 0.7256 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.5672, allocations: 75.89 kB / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.5672, allocations: 0 / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.51e-07/0.5672, allocations: 3.938 kB / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.5672, allocations: 0 / 0.7257 GB, free: 11.19 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.0004613/0.5677, allocations: 375.2 kB / 0.7261 GB, free: 10.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.5677, allocations: 8.031 kB / 0.7261 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.5678, allocations: 4.938 kB / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.5679, allocations: 164.4 kB / 0.7262 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.5679, allocations: 4.359 kB / 0.7262 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.5679, allocations: 4.375 kB / 0.7263 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.568, allocations: 42.19 kB / 0.7263 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.5681, allocations: 192 / 0.7263 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.5681, allocations: 3.938 kB / 0.7263 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.5681, allocations: 0 / 0.7263 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.721e-05/0.5681, allocations: 4 kB / 0.7263 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.5683, allocations: 157.7 kB / 0.7265 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.661e-05/0.5684, allocations: 38.55 kB / 0.7265 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/0.5684, allocations: 8.859 kB / 0.7265 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.5684, allocations: 0 / 0.7265 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.5686, allocations: 59.42 kB / 0.7266 GB, free: 10.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.5686, allocations: 4 kB / 0.7266 GB, free: 10.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001894/0.5688, allocations: 77.5 kB / 0.7266 GB, free: 10.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.5688, allocations: 55.41 kB / 0.7267 GB, free: 10.01 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.287e-05/0.5689, allocations: 93.86 kB / 0.7268 GB, free: 9.906 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.5689, allocations: 29.7 kB / 0.7268 GB, free: 9.871 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.569, allocations: 80.14 kB / 0.7269 GB, free: 9.789 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.569, allocations: 11.84 kB / 0.7269 GB, free: 9.777 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.569, allocations: 25.7 kB / 0.7269 GB, free: 9.746 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5692, allocations: 311 kB / 0.7272 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.5692, allocations: 19.92 kB / 0.7272 GB, free: 9.414 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.5692, allocations: 35.36 kB / 0.7273 GB, free: 9.367 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.25e-05/0.5693, allocations: 43.38 kB / 0.7273 GB, free: 9.312 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5693, allocations: 0 / 0.7273 GB, free: 9.312 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.124e-05/0.5694, allocations: 73.61 kB / 0.7274 GB, free: 9.234 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.5694, allocations: 7.938 kB / 0.7274 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.5694, allocations: 0 / 0.7274 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.5694, allocations: 4 kB / 0.7274 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.134e-05/0.5695, allocations: 4 kB / 0.7274 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.5695, allocations: 4 kB / 0.7274 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/0.5696, allocations: 7.906 kB / 0.7274 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.5696, allocations: 4 kB / 0.7274 GB, free: 9.203 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.097e-05/0.5697, allocations: 117.9 kB / 0.7275 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.5697, allocations: 7.938 kB / 0.7275 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.5697, allocations: 7.5 kB / 0.7275 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.5697, allocations: 0 / 0.7275 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5697, allocations: 0 / 0.7275 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.5697, allocations: 0 / 0.7275 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.5698, allocations: 149.7 kB / 0.7277 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5699, allocations: 0 / 0.7277 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.31e-05/0.5699, allocations: 4 kB / 0.7277 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5699, allocations: 3.938 kB / 0.7277 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.5699, allocations: 4 kB / 0.7277 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5699, allocations: 0 / 0.7277 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5699, allocations: 3.984 kB / 0.7277 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.57, allocations: 85.06 kB / 0.7278 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.5701, allocations: 81.11 kB / 0.7278 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.5701, allocations: 7.922 kB / 0.7279 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/0.5701, allocations: 0 / 0.7279 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.5702, allocations: 11.94 kB / 0.7279 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.5702, allocations: 4 kB / 0.7279 GB, free: 8.625 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.467e-05/0.5702, allocations: 75.28 kB / 0.7279 GB, free: 8.551 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5702, allocations: 0 / 0.7279 GB, free: 8.551 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002408/0.5705, allocations: 35.98 kB / 0.728 GB, free: 8.516 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.000316/0.5708, allocations: 159.9 kB / 0.7281 GB, free: 8.363 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.903e-05/0.5709, allocations: 35.92 kB / 0.7282 GB, free: 8.328 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5709, allocations: 0 / 0.7282 GB, free: 8.328 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.489e-05/0.5709, allocations: 12 kB / 0.7282 GB, free: 8.316 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.5711, allocations: 0 / 0.7282 GB, free: 8.316 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002223/0.5713, allocations: 110.6 kB / 0.7283 GB, free: 8.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.5716, allocations: 0.677 MB / 0.7289 GB, free: 7.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.194e-05/0.5716, allocations: 8.188 kB / 0.7289 GB, free: 7.473 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/0.5716, allocations: 7.438 kB / 0.729 GB, free: 7.465 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.5716, allocations: 0 / 0.729 GB, free: 7.465 MB / 0.545 GB Notification: Performance of Templates: time 0.00294/0.5746, allocations: 0.9435 MB / 0.7299 GB, free: 6.527 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)