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 4.873/4.873, allocations: 0.5623 GB / 0.5769 GB, free: 3.305 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.002388/0.002388, allocations: 356.7 kB / 0.644 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.459/4.459, allocations: 410.7 MB / 1.112 GB, free: 5.898 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.00183/0.00183, allocations: 188.3 kB / 1.225 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 16 kB / 1.348 GB, free: 8.148 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6157/0.6168, 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.001878/0.6187, allocations: 1.585 MB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002138/0.6209, allocations: 1.51 MB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003929/0.6213, allocations: 11.94 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.911e-05/0.6214, allocations: 35.58 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003891/0.6218, allocations: 78.22 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006436/0.6225, allocations: 223.3 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005278/0.623, allocations: 0.5748 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.6234, allocations: 228.5 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.6236, allocations: 159.2 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.6238, allocations: 192 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.6238, allocations: 20 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.775e-05/0.6239, allocations: 31.98 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.279e-05/0.624, allocations: 76.42 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.606e-05/0.6241, allocations: 105.5 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005006/0.6246, allocations: 0.6026 MB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.696e-06/0.6247, allocations: 7.938 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.221e-06/0.6247, allocations: 1.125 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.26e-06/0.6247, allocations: 0 / 1.466 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.001349/0.626, allocations: 0.8268 MB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.6261, allocations: 11.62 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.6262, allocations: 67.25 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006022/0.6268, allocations: 422.9 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/0.6269, allocations: 37 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.025e-05/0.627, allocations: 52 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009031/0.6279, allocations: 474.3 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.628, allocations: 0 / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.628, allocations: 20.56 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.628, allocations: 12 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008021/0.6289, allocations: 335.5 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.6312, allocations: 1.48 MB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009105/0.6321, allocations: 0.869 MB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000409/0.6326, allocations: 215.2 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.6326, allocations: 4 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005079/0.6332, allocations: 240.2 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=41): time 3.722e-06/0.6332, allocations: 0.9688 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=41): time 0.001168/0.6344, allocations: 0.4885 MB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.6344, allocations: 108.2 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/0.6349, allocations: 401.6 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/0.635, allocations: 37.7 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.6351, allocations: 260.9 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.405e-05/0.6353, allocations: 134 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.6353, allocations: 15.25 kB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.6354, allocations: 358.8 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004181/0.6358, allocations: 164.7 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004638/0.6363, allocations: 264.3 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000542/0.6369, allocations: 214.5 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.272e-06/0.6369, allocations: 5.375 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001158/0.6381, allocations: 0.5266 MB / 1.474 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.723e-05/0.6382, allocations: 186.5 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.483e-06/0.6382, allocations: 0 / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.6382, allocations: 4 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.6387, allocations: 92.7 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.6387, allocations: 4 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000473/0.6392, allocations: 97.31 kB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.6392, allocations: 19.98 kB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.83e-06/0.6393, allocations: 4 kB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008088/0.6401, allocations: 424 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.037e-06/0.6401, allocations: 4 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.246e-06/0.6401, allocations: 4 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.6404, allocations: 75.84 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.701e-06/0.6405, allocations: 4 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/0.6409, allocations: 94.22 kB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/0.641, allocations: 16.52 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.000271/0.6412, allocations: 258.5 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.6413, allocations: 43.44 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.605e-05/0.6414, allocations: 50.02 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.36e-06/0.6414, allocations: 4 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.6415, allocations: 1.078 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.208e-06/0.6415, allocations: 8.688 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.6431, allocations: 1.003 MB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.235e-06/0.6431, allocations: 0 / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.6435, allocations: 73.44 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.161e-06/0.6436, allocations: 3.953 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.6436, allocations: 17.95 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.866e-06/0.6436, allocations: 7.938 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6436, allocations: 0 / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.6449, allocations: 0.6454 MB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.645, allocations: 128.5 kB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.768e-05/0.6451, allocations: 15.95 kB / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.6454, allocations: 29.19 kB / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.6454, allocations: 26.28 kB / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.6455, allocations: 11.94 kB / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003278/0.6458, allocations: 275.8 kB / 1.477 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.43e-07/0.6458, allocations: 0 / 1.477 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007424/0.6466, allocations: 193.1 kB / 1.478 GB, free: 266.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001763/0.6468, allocations: 115.2 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.6481, allocations: 0.7219 MB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.6481, allocations: 0 / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.6485, allocations: 185.5 kB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008093/0.6494, allocations: 84.12 kB / 1.479 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.651, allocations: 1.043 MB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.6513, allocations: 0.8579 MB / 1.48 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002825/0.6516, allocations: 59.25 kB / 1.48 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.6517, allocations: 38.17 kB / 1.481 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of SimCode: time 2.057e-06/0.6518, allocations: 0 / 1.481 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.01269/0.6644, allocations: 5.175 MB / 1.486 GB, free: 258.6 MB / 0.8542 GB