Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode") translateModel(Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01123/0.01123, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004521, allocations: 7.781 kB / 0.9158 GB, free: 33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4383, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode): time 0.003248/0.4416, allocations: 2.217 MB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003214/0.4449, allocations: 1.817 MB / 1.078 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.4452, allocations: 15.94 kB / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.4458, allocations: 167.1 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.4461, allocations: 115.4 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008257/0.4469, allocations: 343.1 kB / 1.079 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000937/0.4479, allocations: 0.9734 MB / 1.08 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007839/0.4487, allocations: 0.5073 MB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.449, allocations: 270.6 kB / 1.08 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004092/0.4494, allocations: 338 kB / 1.081 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.357e-05/0.4495, allocations: 24 kB / 1.081 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.4497, allocations: 59.97 kB / 1.081 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.4499, allocations: 219.1 kB / 1.081 GB, free: 460 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.4503, allocations: 367.2 kB / 1.081 GB, free: 84 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.4513, allocations: 1.238 MB / 1.083 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4514, allocations: 0 / 1.083 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4514, allocations: 0 / 1.083 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.4514, allocations: 0 / 1.083 GB, free: 14.84 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.001922/0.4533, allocations: 1.079 MB / 1.084 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4534, allocations: 12.03 kB / 1.084 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.4536, allocations: 103.7 kB / 1.084 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000816/0.4544, allocations: 0.5989 MB / 1.084 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/0.4544, allocations: 62.38 kB / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.4546, allocations: 76.38 kB / 1.084 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.4559, allocations: 0.7991 MB / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.456, allocations: 3.938 kB / 1.085 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.571e-05/0.456, allocations: 35.98 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.4561, allocations: 20 kB / 1.085 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.4571, allocations: 0.5817 MB / 1.086 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003801/0.461, allocations: 2.522 MB / 1.088 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.4625, allocations: 1.07 MB / 1.089 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006227/0.4632, allocations: 406.3 kB / 1.09 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.4632, allocations: 12.55 kB / 1.09 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000816/0.4641, allocations: 480.1 kB / 1.09 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=73): time 2.365e-06/0.4641, allocations: 0 / 1.09 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73): time 0.001854/0.4659, allocations: 1.078 MB / 1.091 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.538e-05/0.466, allocations: 162.9 kB / 1.091 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008632/0.4669, allocations: 0.6913 MB / 1.092 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.428e-05/0.467, allocations: 49.7 kB / 1.092 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.4673, allocations: 344.8 kB / 1.092 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.4675, allocations: 220.8 kB / 1.093 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.71e-05/0.4676, allocations: 73.67 kB / 1.093 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4678, allocations: 386.8 kB / 1.093 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/0.4683, allocations: 273.8 kB / 1.093 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000737/0.469, allocations: 0.5163 MB / 1.094 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.4701, allocations: 0.7242 MB / 1.095 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.4701, allocations: 0 / 1.095 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001372/0.4715, allocations: 0.8275 MB / 1.095 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.4717, allocations: 220.8 kB / 1.096 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.4717, allocations: 4 kB / 1.096 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.4717, allocations: 7.938 kB / 1.096 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.4722, allocations: 127.8 kB / 1.096 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.4722, allocations: 4 kB / 1.096 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006634/0.4729, allocations: 121.2 kB / 1.096 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.139e-05/0.473, allocations: 47.89 kB / 1.096 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.473, allocations: 4 kB / 1.096 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00101/0.474, allocations: 0.6707 MB / 1.097 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.474, allocations: 4 kB / 1.097 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/0.474, allocations: 8 kB / 1.097 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.4744, allocations: 107.8 kB / 1.097 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.4744, allocations: 11.98 kB / 1.097 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.475, allocations: 103.2 kB / 1.097 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.4751, allocations: 43.97 kB / 1.097 GB, free: 15.61 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 29 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mode.idx,$PRE.mode.idx,mode.y[1],$PRE.mode.y[1],limPIPar.addPar.y,limPIPar.isDis.y,limPIPar.cha.down,limPIPar.cha.up,limPIPar.cha.y,limPIPar.cha.u,$PRE.limPIPar.cha.u,limPIDPar.addPar.y,limPIDPar.isDis.y,limPIDPar.cha.down,limPIDPar.cha.up,limPIDPar.cha.y,limPIDPar.cha.u,$PRE.limPIDPar.cha.u,$whenCondition9,$whenCondition10,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 2 * 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.0004946/0.4756, allocations: 402.5 kB / 1.097 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.4757, allocations: 75.06 kB / 1.097 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.4771, allocations: 0.8594 MB / 1.098 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.4771, allocations: 8 kB / 1.098 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4771, allocations: 4 kB / 1.098 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4771, allocations: 3.984 kB / 1.098 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/0.4798, allocations: 1.883 MB / 1.1 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.4798, allocations: 7.938 kB / 1.1 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/0.4802, allocations: 107.9 kB / 1.1 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.4802, allocations: 4 kB / 1.1 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.4803, allocations: 19.98 kB / 1.1 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.4803, allocations: 4 kB / 1.1 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.4803, allocations: 3.938 kB / 1.1 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.4822, allocations: 1.356 MB / 1.101 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.4824, allocations: 168.1 kB / 1.102 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.4824, allocations: 20 kB / 1.102 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.4828, allocations: 42 kB / 1.102 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.4829, allocations: 60.48 kB / 1.102 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.579e-05/0.483, allocations: 39.97 kB / 1.102 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006077/0.4836, allocations: 487 kB / 1.102 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4836, allocations: 0 / 1.102 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008768/0.4845, allocations: 287.1 kB / 1.103 GB, free: 9.641 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (limPIDPar.conPID.I.y,limPIDPar.conPID.D.x,intWitRes1.y,limPIPar.conPID.I.y,intWitRes3.y) * Number of discrete variables: 24 (limPIDPar.cha.y,limPIPar.cha.y,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,limPIDPar.cha.u,limPIDPar.cha.up,limPIDPar.cha.down,limPIDPar.isDis.y,limPIDPar.addPar.y,limPIPar.cha.u,limPIPar.cha.up,limPIPar.cha.down,limPIPar.isDis.y,limPIPar.addPar.y,mode.y[1],mode.idx) * Number of discrete states: 2 (limPIPar.cha.u,limPIDPar.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 2 * 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.0002768/0.4848, allocations: 148.8 kB / 1.103 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001816/0.4866, allocations: 1.232 MB / 1.104 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.4867, allocations: 3.938 kB / 1.104 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006027/0.4873, allocations: 487.3 kB / 1.104 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008219/0.4881, allocations: 142.9 kB / 1.104 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.4906, allocations: 1.823 MB / 1.106 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.4912, allocations: 0.9669 MB / 1.107 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004224/0.4916, allocations: 145.2 kB / 1.107 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.4918, allocations: 63.42 kB / 1.107 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/0.4918, allocations: 3.938 kB / 1.107 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of Templates: time 0.01586/0.5077, allocations: 8.578 MB / 1.116 GB, free: 12 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.sim & ./Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Controls.Validation.PIDWithOperatingMode.pipe 2>&1)