Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.314/5.314, allocations: 0.5623 GB / 0.5769 GB, free: 3.359 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.002374/0.002374, allocations: 359.8 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.312/4.312, allocations: 410.7 MB / 1.112 GB, free: 6.102 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.001803/0.001803, allocations: 198.9 kB / 1.225 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005235/0.0005238, allocations: 16 kB / 1.348 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6491/0.6496, 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.PIDWithReset): time 0.002857/0.6525, allocations: 2.607 MB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002471/0.655, allocations: 1.638 MB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006526/0.6557, allocations: 19.94 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.6559, allocations: 67.17 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006736/0.6566, allocations: 133.1 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.6572, allocations: 236.7 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009647/0.6582, allocations: 0.9438 MB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006788/0.6589, allocations: 440.2 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.6591, allocations: 246.5 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.6594, allocations: 295.7 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.223e-05/0.6595, allocations: 24 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.536e-05/0.6596, allocations: 29.09 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.6597, allocations: 135.2 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.6598, allocations: 165.1 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000787/0.6606, allocations: 0.97 MB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.707e-06/0.6606, allocations: 0 / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.199e-06/0.6607, allocations: 0 / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.6607, allocations: 0 / 1.468 GB, free: 276.5 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002024/0.6627, allocations: 1.187 MB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.6628, allocations: 11.62 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.663, allocations: 119.4 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008941/0.6639, allocations: 0.5704 MB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.115e-05/0.6639, allocations: 74.62 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.6641, allocations: 89.59 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.6657, allocations: 0.8549 MB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.6658, allocations: 3.938 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.639e-05/0.6659, allocations: 36.97 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.6659, allocations: 25.27 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.6674, allocations: 0.624 MB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004528/0.672, allocations: 2.721 MB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.6736, allocations: 1.327 MB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007367/0.6744, allocations: 385.8 kB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.937e-05/0.6745, allocations: 9.984 kB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007717/0.6753, allocations: 355 kB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=68): time 4.188e-06/0.6753, allocations: 0 / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=68): time 0.001863/0.6772, allocations: 0.8161 MB / 1.477 GB, free: 267 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.6772, allocations: 162.8 kB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007895/0.678, allocations: 0.5906 MB / 1.478 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/0.6781, allocations: 41.7 kB / 1.478 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.6784, allocations: 412.8 kB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.6785, allocations: 233.6 kB / 1.479 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.6786, allocations: 23.88 kB / 1.479 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.6787, allocations: 384.4 kB / 1.479 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005799/0.6793, allocations: 224.5 kB / 1.479 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006347/0.6799, allocations: 354.1 kB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/0.6806, allocations: 257.7 kB / 1.48 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.03e-06/0.6806, allocations: 0 / 1.48 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001523/0.6821, allocations: 0.6861 MB / 1.481 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.6822, allocations: 113 kB / 1.481 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.469e-06/0.6822, allocations: 0 / 1.481 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.6822, allocations: 4 kB / 1.481 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000677/0.6829, allocations: 154.8 kB / 1.481 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.683, allocations: 4 kB / 1.481 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000501/0.6835, allocations: 106 kB / 1.481 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.6835, allocations: 25.08 kB / 1.481 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.212e-06/0.6836, allocations: 4 kB / 1.481 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008541/0.6844, allocations: 472.8 kB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.083e-06/0.6844, allocations: 0 / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.6845, allocations: 7.953 kB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.685, allocations: 124.5 kB / 1.482 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.482e-06/0.685, allocations: 4 kB / 1.482 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.6854, allocations: 86.03 kB / 1.482 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.6855, allocations: 16 kB / 1.482 GB, free: 262.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,limPIDInp.trigger,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * 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.00041/0.6859, allocations: 293.7 kB / 1.482 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.686, allocations: 77.09 kB / 1.482 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.6862, allocations: 82.95 kB / 1.482 GB, free: 262 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.079e-06/0.6862, allocations: 7.953 kB / 1.482 GB, free: 262 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.838e-06/0.6862, allocations: 0 / 1.482 GB, free: 262 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.662e-06/0.6863, allocations: 3.984 kB / 1.482 GB, free: 262 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/0.6891, allocations: 1.584 MB / 1.484 GB, free: 260.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.594e-06/0.6891, allocations: 1 kB / 1.484 GB, free: 260.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008081/0.6899, allocations: 133.6 kB / 1.484 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.093e-06/0.69, allocations: 0 / 1.484 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/0.69, allocations: 15.98 kB / 1.484 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.225e-06/0.6901, allocations: 8.625 kB / 1.484 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.76e-06/0.6901, allocations: 0 / 1.484 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.6923, allocations: 1.025 MB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.6925, allocations: 160 kB / 1.485 GB, free: 259 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.6926, allocations: 12 kB / 1.485 GB, free: 259 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/0.6931, allocations: 58.48 kB / 1.485 GB, free: 259 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-05/0.6932, allocations: 37.64 kB / 1.485 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.6933, allocations: 26.8 kB / 1.485 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005584/0.6938, allocations: 416.8 kB / 1.486 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.27e-07/0.6938, allocations: 3.938 kB / 1.486 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008505/0.6947, allocations: 302.4 kB / 1.486 GB, free: 258.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001695/0.6949, allocations: 128.5 kB / 1.486 GB, free: 258.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001775/0.6967, allocations: 0.823 MB / 1.487 GB, free: 257.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.794e-06/0.6967, allocations: 8.5 kB / 1.487 GB, free: 257.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006894/0.6974, allocations: 299 kB / 1.487 GB, free: 257 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.6985, allocations: 139.5 kB / 1.487 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.7013, allocations: 1.811 MB / 1.489 GB, free: 255 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.7018, allocations: 0.9978 MB / 1.49 GB, free: 254 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00048/0.7023, allocations: 85.8 kB / 1.49 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.7025, allocations: 59.42 kB / 1.49 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of SimCode: time 3.675e-06/0.7025, allocations: 4.531 kB / 1.49 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.01736/0.7199, allocations: 6.527 MB / 1.496 GB, free: 247.6 MB / 0.8542 GB