Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.229/5.229, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 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.002368/0.002367, allocations: 356.4 kB / 0.644 GB, free: 185.7 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.293/4.293, allocations: 410.7 MB / 1.112 GB, free: 5.906 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.001833/0.001833, allocations: 188.8 kB / 1.225 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005059/0.0005061, allocations: 16 kB / 1.348 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6155/0.616, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.004044/0.6201, allocations: 1.654 MB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004583/0.6248, allocations: 1.585 MB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000605/0.6255, allocations: 11.94 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.6257, allocations: 39.52 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007966/0.6265, allocations: 79.02 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.6283, allocations: 314 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.6297, allocations: 0.6528 MB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008446/0.6306, allocations: 247.4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004003/0.631, allocations: 192.1 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.6315, allocations: 220 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.6317, allocations: 24 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.6319, allocations: 35.98 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.6321, allocations: 79.56 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.6323, allocations: 115.9 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.6335, allocations: 0.6682 MB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.629e-06/0.6336, allocations: 0 / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.98e-06/0.6336, allocations: 0 / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.412e-05/0.6336, allocations: 0 / 1.467 GB, free: 278.6 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002928/0.6366, allocations: 0.8816 MB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.6367, allocations: 11.62 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003339/0.637, allocations: 75.14 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.6384, allocations: 438.5 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.6386, allocations: 41.88 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002433/0.6389, allocations: 63.84 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.641, allocations: 498.5 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/0.6411, allocations: 0 / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.6413, allocations: 24 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.6413, allocations: 12 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.6433, allocations: 360.8 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00547/0.6488, allocations: 1.58 MB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.6507, allocations: 0.8898 MB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004848/0.6512, allocations: 229.8 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.6513, allocations: 10.77 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005519/0.6518, allocations: 258.1 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=47): time 3.78e-06/0.6519, allocations: 4.562 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of matching and sorting (n=47): time 0.001305/0.6532, allocations: 0.5505 MB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.6532, allocations: 115.2 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004991/0.6537, allocations: 406.9 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.889e-05/0.6538, allocations: 41.7 kB / 1.473 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.654, allocations: 261.6 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.6541, allocations: 159.1 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.6542, allocations: 12 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.6543, allocations: 358.8 kB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005037/0.6548, allocations: 191.8 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.6554, allocations: 295 kB / 1.474 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005226/0.6559, allocations: 267.4 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.64e-06/0.6559, allocations: 0.5625 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001412/0.6574, allocations: 0.6317 MB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/0.6575, allocations: 199.5 kB / 1.475 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.474e-06/0.6575, allocations: 0 / 1.475 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.6575, allocations: 4.656 kB / 1.475 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.658, allocations: 91.05 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.658, allocations: 7.938 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006823/0.6587, allocations: 131.2 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.6588, allocations: 25.83 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.6588, allocations: 4 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001049/0.6599, allocations: 0.5302 MB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.967e-06/0.6599, allocations: 5.641 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.83e-06/0.6599, allocations: 4 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.6603, allocations: 75.84 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.738e-06/0.6603, allocations: 8.609 kB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006258/0.6609, allocations: 129 kB / 1.476 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.661, allocations: 23.98 kB / 1.476 GB, free: 268.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0003369/0.6613, allocations: 255.8 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.6615, allocations: 47.42 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.6616, allocations: 53.19 kB / 1.476 GB, free: 268 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.815e-06/0.6616, allocations: 4 kB / 1.476 GB, free: 268 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.69e-06/0.6616, allocations: 3.953 kB / 1.476 GB, free: 268 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.6616, allocations: 3.984 kB / 1.476 GB, free: 268 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.6635, allocations: 1.089 MB / 1.477 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-06/0.6635, allocations: 3.938 kB / 1.477 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/0.6639, allocations: 77.38 kB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.059e-06/0.664, allocations: 3.953 kB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.664, allocations: 11.98 kB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.901e-06/0.664, allocations: 1.906 kB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.421e-06/0.664, allocations: 0 / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.6654, allocations: 0.7147 MB / 1.478 GB, free: 266.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.6655, allocations: 128.4 kB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.693e-05/0.6656, allocations: 17.17 kB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.6659, allocations: 29.33 kB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.666, allocations: 29.92 kB / 1.478 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.666, allocations: 12 kB / 1.478 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003884/0.6664, allocations: 291.1 kB / 1.479 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.81e-07/0.6664, allocations: 7.938 kB / 1.479 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008448/0.6673, allocations: 216.1 kB / 1.479 GB, free: 265.3 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: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000202/0.6675, allocations: 125 kB / 1.479 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001748/0.6693, allocations: 0.9511 MB / 1.48 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.733e-06/0.6693, allocations: 0 / 1.48 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004507/0.6698, allocations: 211.5 kB / 1.48 GB, free: 264 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008199/0.6706, allocations: 89.94 kB / 1.48 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.6724, allocations: 1.113 MB / 1.481 GB, free: 262.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.6728, allocations: 0.8698 MB / 1.482 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003318/0.6731, allocations: 53.16 kB / 1.482 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.6733, allocations: 39.42 kB / 1.482 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.954e-06/0.6733, allocations: 0 / 1.482 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.01516/0.6884, allocations: 6.492 MB / 1.489 GB, free: 255.6 MB / 0.8542 GB