Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.276/5.276, allocations: 0.5623 GB / 0.5776 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002527/0.002527, allocations: 351.9 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.505/4.505, allocations: 410.7 MB / 1.113 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001821/0.001821, allocations: 180.4 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005126/0.0005129, allocations: 16 kB / 1.349 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8498/0.8503, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.002568/0.8529, allocations: 1.582 MB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002606/0.8556, allocations: 1.515 MB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000356/0.856, allocations: 11.94 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.489e-05/0.8561, allocations: 35.58 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004374/0.8565, allocations: 68.62 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007827/0.8573, allocations: 231.1 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000711/0.8581, allocations: 0.5718 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004377/0.8585, allocations: 231.9 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.8587, allocations: 159.2 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.859, allocations: 192.7 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.298e-05/0.8591, allocations: 16 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.8592, allocations: 31.98 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.263e-05/0.8593, allocations: 84.3 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.8594, allocations: 101.5 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006324/0.8601, allocations: 0.6025 MB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8601, allocations: 0 / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8601, allocations: 1.625 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.8601, allocations: 0 / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001804/0.8619, allocations: 0.8332 MB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.862, allocations: 11.62 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.8621, allocations: 67.19 kB / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006971/0.8629, allocations: 417.8 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/0.8629, allocations: 38.03 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.863, allocations: 55.98 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.8642, allocations: 466.2 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.8642, allocations: 1.219 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.682e-05/0.8643, allocations: 25.55 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.8643, allocations: 12 kB / 1.469 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000989/0.8653, allocations: 334.1 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.8682, allocations: 1.485 MB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.8694, allocations: 0.8727 MB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.8699, allocations: 210.6 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.076e-05/0.87, allocations: 4 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006186/0.8706, allocations: 239.4 kB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=41): time 3.626e-06/0.8707, allocations: 0.5 kB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=41): time 0.001519/0.8722, allocations: 0.4976 MB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.8722, allocations: 110.8 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005402/0.8728, allocations: 389.6 kB / 1.473 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.631e-05/0.8729, allocations: 38.95 kB / 1.473 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.8731, allocations: 268.2 kB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.8732, allocations: 138 kB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.8733, allocations: 9 kB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.8734, allocations: 355.8 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/0.8739, allocations: 171 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/0.8745, allocations: 258.2 kB / 1.474 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/0.8751, allocations: 215.6 kB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8751, allocations: 0 / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001386/0.8765, allocations: 0.5305 MB / 1.474 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.72e-05/0.8766, allocations: 181.2 kB / 1.475 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.8766, allocations: 4.5 kB / 1.475 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/0.8767, allocations: 8.719 kB / 1.475 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/0.8773, allocations: 88.77 kB / 1.475 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.8773, allocations: 7.188 kB / 1.475 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006981/0.8781, allocations: 88.97 kB / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.8781, allocations: 20 kB / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/0.8781, allocations: 4.812 kB / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009674/0.8791, allocations: 422.3 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.8791, allocations: 0.9688 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/0.8792, allocations: 4 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.8797, allocations: 81.66 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.8797, allocations: 7.984 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007021/0.8804, allocations: 86.66 kB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/0.8805, allocations: 20 kB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * 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.0003493/0.8808, allocations: 254.8 kB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.8809, allocations: 47.42 kB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.8811, allocations: 50.27 kB / 1.476 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.8811, allocations: 4 kB / 1.476 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8811, allocations: 0 / 1.476 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.266e-05/0.8812, allocations: 128.4 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/0.8813, allocations: 8.75 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.8816, allocations: 29.56 kB / 1.476 GB, free: 269 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.6e-05/0.8817, allocations: 29.27 kB / 1.476 GB, free: 269 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001609/0.8834, allocations: 0.4905 MB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001617/0.885, allocations: 0.7411 MB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004601/0.8855, allocations: 180.1 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004113/0.8859, allocations: 279.2 kB / 1.478 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of Backend: time 5.81e-07/0.8859, allocations: 1.219 kB / 1.478 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001866/0.8878, allocations: 0.6815 MB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.002051/0.8899, allocations: 1.461 MB / 1.48 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.01676/0.9066, allocations: 6.42 MB / 1.486 GB, free: 259 MB / 0.8542 GB