Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.352/2.352, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001306, allocations: 199.4 kB / 499.1 MB, free: 4.664 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 106.2 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 54 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3372, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.004485/0.3417, allocations: 3.603 MB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.003854/0.3456, allocations: 2.086 MB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008333/0.3466, allocations: 19.94 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004148/0.347, allocations: 130.8 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.3474, allocations: 99.3 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.3487, allocations: 442.5 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001042/0.3497, allocations: 1.155 MB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008788/0.3506, allocations: 0.572 MB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004787/0.3511, allocations: 374.2 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003613/0.3515, allocations: 441.5 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 9.855e-05/0.3516, allocations: 60 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.3517, allocations: 75.98 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.3519, allocations: 187.1 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.3522, allocations: 445.2 kB / 1.228 GB, free: 107.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0008804/0.3531, allocations: 1.318 MB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.3531, allocations: 3.984 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3531, allocations: 0 / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.687e-05/0.3532, allocations: 0 / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.00232/0.3555, allocations: 1.368 MB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.861e-05/0.3556, allocations: 11.98 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.3558, allocations: 115.6 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006784/0.3565, allocations: 0.5947 MB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.3565, allocations: 78.31 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.884e-05/0.3566, allocations: 96.31 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.3578, allocations: 0.8562 MB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.3578, allocations: 8.172 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/0.3579, allocations: 47.92 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.3579, allocations: 20 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.359, allocations: 0.6363 MB / 1.233 GB, free: 102.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.3627, allocations: 2.984 MB / 1.235 GB, free: 99.14 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.364, allocations: 0.6798 MB / 1.236 GB, free: 98.45 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/0.3645, allocations: 378.6 kB / 1.236 GB, free: 98.08 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/0.3646, allocations: 8.562 kB / 1.237 GB, free: 98.07 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006801/0.3653, allocations: 347 kB / 1.237 GB, free: 97.72 MB / 0.823 GB Notification: Performance of pre-optimization done (n=68): time 3.476e-06/0.3653, allocations: 4 kB / 1.237 GB, free: 97.71 MB / 0.823 GB Notification: Performance of matching and sorting (n=68): time 0.001466/0.3667, allocations: 0.8298 MB / 1.238 GB, free: 96.88 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.3669, allocations: 192.5 kB / 1.238 GB, free: 96.65 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007295/0.3676, allocations: 0.6724 MB / 1.238 GB, free: 95.97 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.096e-05/0.3677, allocations: 45.7 kB / 1.239 GB, free: 95.92 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/0.368, allocations: 432.8 kB / 1.239 GB, free: 95.49 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.3681, allocations: 228.7 kB / 1.239 GB, free: 95.26 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.3683, allocations: 150.5 kB / 1.239 GB, free: 95.11 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.3684, allocations: 333.9 kB / 1.24 GB, free: 94.78 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005882/0.369, allocations: 300.7 kB / 1.24 GB, free: 94.48 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006712/0.3697, allocations: 486.2 kB / 1.24 GB, free: 93.93 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.3708, allocations: 0.6731 MB / 1.241 GB, free: 93.21 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.3708, allocations: 4 kB / 1.241 GB, free: 93.21 MB / 0.823 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001515/0.3723, allocations: 0.8688 MB / 1.242 GB, free: 92.32 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/0.3724, allocations: 43.11 kB / 1.242 GB, free: 92.28 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3724, allocations: 384 / 1.242 GB, free: 92.28 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.3725, allocations: 12 kB / 1.242 GB, free: 92.27 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005755/0.373, allocations: 163.7 kB / 1.242 GB, free: 92.11 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.3731, allocations: 11.98 kB / 1.242 GB, free: 92.09 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/0.3737, allocations: 143 kB / 1.242 GB, free: 91.95 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/0.3738, allocations: 31.98 kB / 1.242 GB, free: 91.92 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005476/0.3743, allocations: 398 kB / 1.243 GB, free: 91.53 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004243/0.3748, allocations: 418.2 kB / 1.243 GB, free: 91.05 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006419/0.3754, allocations: 0.5717 MB / 1.244 GB, free: 90.44 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.454e-06/0.3754, allocations: 0 / 1.244 GB, free: 90.44 MB / 0.823 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001007/0.3764, allocations: 0.752 MB / 1.244 GB, free: 89.67 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.3765, allocations: 45.88 kB / 1.244 GB, free: 89.62 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3765, allocations: 4 kB / 1.244 GB, free: 89.62 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.662e-06/0.3765, allocations: 11.94 kB / 1.244 GB, free: 89.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000428/0.3769, allocations: 135.8 kB / 1.245 GB, free: 89.47 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.3769, allocations: 8 kB / 1.245 GB, free: 89.46 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005436/0.3775, allocations: 119.3 kB / 1.245 GB, free: 89.35 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.3775, allocations: 31.98 kB / 1.245 GB, free: 89.32 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0001921/0.3777, allocations: 239.5 kB / 1.245 GB, free: 89.08 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.3778, allocations: 75.06 kB / 1.245 GB, free: 89 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.379, allocations: 0.6516 MB / 1.246 GB, free: 88.34 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.379, allocations: 8 kB / 1.246 GB, free: 88.34 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.379, allocations: 0 / 1.246 GB, free: 88.34 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.379, allocations: 3.984 kB / 1.246 GB, free: 88.33 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.3811, allocations: 1.671 MB / 1.247 GB, free: 86.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3811, allocations: 7.938 kB / 1.247 GB, free: 86.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005048/0.3816, allocations: 127.8 kB / 1.247 GB, free: 86.44 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.3816, allocations: 4 kB / 1.247 GB, free: 86.44 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.3817, allocations: 19.98 kB / 1.247 GB, free: 86.42 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.3817, allocations: 12.2 kB / 1.247 GB, free: 86.41 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3817, allocations: 8 kB / 1.247 GB, free: 86.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006655/0.3883, allocations: 5.088 MB / 1.252 GB, free: 81.12 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.3885, allocations: 168 kB / 1.253 GB, free: 80.94 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.49e-05/0.3886, allocations: 20 kB / 1.253 GB, free: 80.92 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.3889, allocations: 43.95 kB / 1.253 GB, free: 80.88 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.389, allocations: 48.44 kB / 1.253 GB, free: 80.83 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.3891, allocations: 27.98 kB / 1.253 GB, free: 80.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005247/0.3896, allocations: 479 kB / 1.253 GB, free: 80.34 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3896, allocations: 0 / 1.253 GB, free: 80.34 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001295/0.3909, allocations: 410.6 kB / 1.254 GB, free: 79.94 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003508/0.3913, allocations: 132.4 kB / 1.254 GB, free: 79.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002043/0.3933, allocations: 1.147 MB / 1.255 GB, free: 78.62 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.3933, allocations: 0 / 1.255 GB, free: 78.62 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000472/0.3938, allocations: 308.2 kB / 1.255 GB, free: 78.32 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009105/0.3947, allocations: 172.7 kB / 1.255 GB, free: 78.16 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.3975, allocations: 2.242 MB / 1.257 GB, free: 75.84 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.3979, allocations: 0.9942 MB / 1.258 GB, free: 74.82 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003986/0.3983, allocations: 101.9 kB / 1.259 GB, free: 74.72 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.3985, allocations: 71.41 kB / 1.259 GB, free: 74.65 MB / 0.823 GB Notification: Performance of SimCode: time 1.393e-06/0.3985, allocations: 4 kB / 1.259 GB, free: 74.65 MB / 0.823 GB Notification: Performance of Templates: time 0.01668/0.4152, allocations: 10.26 MB / 1.269 GB, free: 64.48 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)