Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, 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.0009573/0.0009574, allocations: 194.7 kB / 16.14 MB, free: 6.703 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.157/1.157, allocations: 205.1 MB / 222 MB, free: 4.977 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.338/1.338, allocations: 251.6 MB / 0.5088 GB, free: 3.324 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.001266/0.001267, allocations: 64.47 kB / 0.6216 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3602, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002707/0.363, allocations: 1.651 MB / 0.7254 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004022/0.3634, allocations: 192.3 kB / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.3635, allocations: 0 / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.342e-05/0.3636, allocations: 11.92 kB / 0.7256 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.581e-05/0.3637, allocations: 15.86 kB / 0.7256 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.3638, allocations: 27.97 kB / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.364, allocations: 103.6 kB / 0.7258 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.3641, allocations: 52.8 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.3643, allocations: 39.86 kB / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.3644, allocations: 43.77 kB / 0.7259 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.3644, allocations: 8 kB / 0.7259 GB, free: 11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.889e-05/0.3644, allocations: 4 kB / 0.7259 GB, free: 11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.925e-05/0.3645, allocations: 31.83 kB / 0.7259 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.12e-05/0.3646, allocations: 39.73 kB / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.3647, allocations: 113.6 kB / 0.7261 GB, free: 10.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3647, allocations: 4 kB / 0.7261 GB, free: 10.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.92e-07/0.3647, allocations: 3.938 kB / 0.7261 GB, free: 10.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3647, allocations: 0 / 0.7261 GB, free: 10.81 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007839/0.3655, allocations: 463 kB / 0.7265 GB, free: 10.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.3656, allocations: 8.031 kB / 0.7265 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.3656, allocations: 12.75 kB / 0.7265 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.3657, allocations: 180.2 kB / 0.7267 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.3657, allocations: 4.375 kB / 0.7267 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.3658, allocations: 8.375 kB / 0.7267 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.366, allocations: 90.22 kB / 0.7268 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.366, allocations: 8.188 kB / 0.7268 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.366, allocations: 7.875 kB / 0.7268 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.366, allocations: 3.984 kB / 0.7268 GB, free: 9.945 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.3662, allocations: 67.91 kB / 0.7269 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00064/0.3668, allocations: 412.3 kB / 0.7273 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.367, allocations: 58.56 kB / 0.7274 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.3671, allocations: 40.95 kB / 0.7274 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.3671, allocations: 0 / 0.7274 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.3671, allocations: 30.56 kB / 0.7274 GB, free: 9.277 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.3671, allocations: 0 / 0.7274 GB, free: 9.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0003089/0.3674, allocations: 113.5 kB / 0.7275 GB, free: 9.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.3674, allocations: 51.41 kB / 0.7276 GB, free: 9.098 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3676, allocations: 161.1 kB / 0.7277 GB, free: 8.934 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.3676, allocations: 29.7 kB / 0.7278 GB, free: 8.898 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.3677, allocations: 112.1 kB / 0.7279 GB, free: 8.785 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.3677, allocations: 7.812 kB / 0.7279 GB, free: 8.777 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.3677, allocations: 21.7 kB / 0.7279 GB, free: 8.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3679, allocations: 322.8 kB / 0.7282 GB, free: 8.426 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.088e-05/0.3679, allocations: 27.98 kB / 0.7282 GB, free: 8.398 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-05/0.368, allocations: 31.98 kB / 0.7283 GB, free: 8.367 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.3681, allocations: 48.83 kB / 0.7283 GB, free: 8.316 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3681, allocations: 0 / 0.7283 GB, free: 8.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001923/0.3683, allocations: 101.5 kB / 0.7284 GB, free: 8.211 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3684, allocations: 7.984 kB / 0.7284 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.3684, allocations: 0 / 0.7284 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.3684, allocations: 0 / 0.7284 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.3685, allocations: 12 kB / 0.7284 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3685, allocations: 4.172 kB / 0.7284 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.3686, allocations: 27.95 kB / 0.7285 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3687, allocations: 3.938 kB / 0.7285 GB, free: 8.156 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * 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.009e-05/0.3687, allocations: 117.8 kB / 0.7286 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.3688, allocations: 15.81 kB / 0.7286 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.3688, allocations: 12.31 kB / 0.7286 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3688, allocations: 0 / 0.7286 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3688, allocations: 3.938 kB / 0.7286 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3688, allocations: 4 kB / 0.7286 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.369, allocations: 205.5 kB / 0.7288 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.369, allocations: 0 / 0.7288 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-05/0.3691, allocations: 15.92 kB / 0.7288 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3691, allocations: 0 / 0.7288 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.3691, allocations: 0 / 0.7288 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3691, allocations: 4.25 kB / 0.7288 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3691, allocations: 15.91 kB / 0.7288 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.3693, allocations: 179.4 kB / 0.729 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.3694, allocations: 85 kB / 0.7291 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.3694, allocations: 4 kB / 0.7291 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.3696, allocations: 27.97 kB / 0.7291 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.3697, allocations: 15.92 kB / 0.7291 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.3697, allocations: 0 / 0.7291 GB, free: 7.371 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.393e-05/0.3697, allocations: 115.2 kB / 0.7292 GB, free: 7.258 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3697, allocations: 3.938 kB / 0.7292 GB, free: 7.254 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000208/0.37, allocations: 12 kB / 0.7293 GB, free: 7.242 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 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 8.585e-05/0.3701, allocations: 107.2 kB / 0.7294 GB, free: 7.129 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001903/0.3702, allocations: 63.95 kB / 0.7294 GB, free: 7.066 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.3703, allocations: 0 / 0.7294 GB, free: 7.066 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.743e-05/0.3703, allocations: 35.92 kB / 0.7295 GB, free: 7.031 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.3706, allocations: 8 kB / 0.7295 GB, free: 7.023 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.371, allocations: 233.4 kB / 0.7297 GB, free: 6.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.3712, allocations: 0.6965 MB / 0.7304 GB, free: 6.047 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.057e-05/0.3713, allocations: 15.92 kB / 0.7304 GB, free: 6.031 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.3713, allocations: 15.42 kB / 0.7304 GB, free: 6.016 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.3713, allocations: 0 / 0.7304 GB, free: 6.016 MB / 0.545 GB Notification: Performance of Templates: time 0.002714/0.374, allocations: 1.115 MB / 0.7315 GB, free: 4.914 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)