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.001047/0.001047, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001561/0.001561, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.765/1.765, allocations: 251.9 MB / 0.51 GB, free: 4.914 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.0006372/0.0006373, allocations: 16 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6998/0.7004, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001663/0.7022, allocations: 0.9222 MB / 0.7289 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009006/0.7031, allocations: 365.2 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.7031, allocations: 0 / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.7032, allocations: 3.938 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.7032, allocations: 3.984 kB / 0.7292 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005706/0.7038, allocations: 75.73 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.064e-05/0.7039, allocations: 11.98 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.312e-05/0.7039, allocations: 7.984 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.697e-05/0.704, allocations: 4 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.522e-05/0.704, allocations: 11.92 kB / 0.7293 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.704, allocations: 4 kB / 0.7293 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.7042, allocations: 59.94 kB / 0.7294 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.7043, allocations: 3.984 kB / 0.7294 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.7043, allocations: 29.7 kB / 0.7294 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.7045, allocations: 55.92 kB / 0.7295 GB, free: 9.867 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.7045, allocations: 7.938 kB / 0.7295 GB, free: 9.859 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.375e-06/0.7045, allocations: 0 / 0.7295 GB, free: 9.859 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.7045, allocations: 0 / 0.7295 GB, free: 9.859 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.0005578/0.7051, allocations: 370.9 kB / 0.7298 GB, free: 9.445 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.7052, allocations: 8.031 kB / 0.7298 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.7052, allocations: 4 kB / 0.7298 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.7054, allocations: 167 kB / 0.73 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.7055, allocations: 0 / 0.73 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.7055, allocations: 12 kB / 0.73 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.7056, allocations: 37.67 kB / 0.73 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.7056, allocations: 0 / 0.73 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.7056, allocations: 0 / 0.73 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.7056, allocations: 3.984 kB / 0.7301 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.598e-05/0.7057, allocations: 8 kB / 0.7301 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.706, allocations: 161.6 kB / 0.7302 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.048e-05/0.7061, allocations: 26.61 kB / 0.7302 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.7061, allocations: 4 kB / 0.7302 GB, free: 8.918 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.7062, allocations: 51.5 kB / 0.7303 GB, free: 8.855 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.7063, allocations: 0 / 0.7303 GB, free: 8.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002279/0.7065, allocations: 73.52 kB / 0.7304 GB, free: 8.777 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.7065, allocations: 51.41 kB / 0.7304 GB, free: 8.715 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.335e-05/0.7066, allocations: 101.8 kB / 0.7305 GB, free: 8.605 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.7067, allocations: 29.83 kB / 0.7305 GB, free: 8.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.7067, allocations: 80.14 kB / 0.7306 GB, free: 8.488 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.7068, allocations: 15.83 kB / 0.7306 GB, free: 8.473 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.7068, allocations: 7.938 kB / 0.7306 GB, free: 8.465 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.7069, allocations: 314.8 kB / 0.7309 GB, free: 8.148 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.7069, allocations: 7.984 kB / 0.7309 GB, free: 8.141 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-05/0.707, allocations: 31.44 kB / 0.731 GB, free: 8.098 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.468e-05/0.707, allocations: 15.95 kB / 0.731 GB, free: 8.082 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.707, allocations: 0 / 0.731 GB, free: 8.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001074/0.7071, allocations: 69.55 kB / 0.7311 GB, free: 8.008 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.7072, allocations: 4 kB / 0.7311 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.7072, allocations: 4 kB / 0.7311 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.7072, allocations: 3.938 kB / 0.7311 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.873e-05/0.7073, allocations: 12 kB / 0.7311 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.7073, allocations: 4.094 kB / 0.7311 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.7073, allocations: 0 / 0.7311 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.7073, allocations: 4 kB / 0.7311 GB, free: 7.977 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.7075, allocations: 121.7 kB / 0.7312 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.7075, allocations: 7.891 kB / 0.7312 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.7075, allocations: 3.5 kB / 0.7312 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7075, allocations: 0 / 0.7312 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.7075, allocations: 4 kB / 0.7312 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.7075, allocations: 0 / 0.7312 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.7077, allocations: 157.7 kB / 0.7314 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.7078, allocations: 3.953 kB / 0.7314 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/0.7078, allocations: 0 / 0.7314 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.7078, allocations: 0 / 0.7314 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.7078, allocations: 0 / 0.7314 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.7078, allocations: 4 kB / 0.7314 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7078, allocations: 0 / 0.7314 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.708, allocations: 81.34 kB / 0.7315 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.708, allocations: 85 kB / 0.7315 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.708, allocations: 4 kB / 0.7315 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.487e-05/0.7081, allocations: 4.031 kB / 0.7315 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.7081, allocations: 7.984 kB / 0.7315 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.7081, allocations: 0 / 0.7315 GB, free: 7.402 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001469/0.7083, allocations: 79.28 kB / 0.7316 GB, free: 7.324 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.71e-07/0.7083, allocations: 0 / 0.7316 GB, free: 7.324 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002598/0.7085, allocations: 31.98 kB / 0.7317 GB, free: 7.293 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003929/0.7089, allocations: 165.2 kB / 0.7318 GB, free: 7.133 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.7091, allocations: 35.86 kB / 0.7318 GB, free: 7.098 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7091, allocations: 0 / 0.7318 GB, free: 7.098 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.446e-05/0.7091, allocations: 8 kB / 0.7319 GB, free: 7.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.7092, allocations: 3.688 kB / 0.7319 GB, free: 7.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.7095, allocations: 112.9 kB / 0.732 GB, free: 6.957 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.7099, allocations: 0.6809 MB / 0.7326 GB, free: 6.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.957e-05/0.7099, allocations: 0 / 0.7326 GB, free: 6.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.584e-05/0.7099, allocations: 11.44 kB / 0.7326 GB, free: 6.238 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.7099, allocations: 0 / 0.7326 GB, free: 6.238 MB / 0.545 GB Notification: Performance of Templates: time 0.003531/0.7135, allocations: 0.9315 MB / 0.7336 GB, free: 5.312 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: