Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.726/4.726, allocations: 0.5623 GB / 0.5769 GB, free: 3.258 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.00242/0.00242, allocations: 358.3 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.322/4.322, allocations: 410.7 MB / 1.112 GB, free: 5.895 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.003125/0.003125, allocations: 186.3 kB / 1.225 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005911/0.0005914, allocations: 12 kB / 1.348 GB, free: 8.145 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6947/0.6954, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.003807/0.6992, allocations: 3.647 MB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.7013, allocations: 1.035 MB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005271/0.7018, allocations: 25.06 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.702, allocations: 79.08 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000591/0.7026, allocations: 143 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.7032, allocations: 269.4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009153/0.7041, allocations: 1.022 MB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006817/0.7048, allocations: 473.4 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.705, allocations: 250.4 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.7053, allocations: 314.9 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.602e-05/0.7054, allocations: 24 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.875e-05/0.7055, allocations: 29.25 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.7056, allocations: 143.2 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.7057, allocations: 181.1 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0008424/0.7066, allocations: 1.086 MB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.291e-06/0.7066, allocations: 0 / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.201e-06/0.7066, allocations: 0.6875 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.7066, allocations: 0 / 1.469 GB, free: 275.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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002025/0.7087, allocations: 1.249 MB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.7087, allocations: 15.62 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.7089, allocations: 125.5 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009116/0.7098, allocations: 0.5987 MB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-05/0.7099, allocations: 74 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.7101, allocations: 100 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.7118, allocations: 0.9132 MB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.7119, allocations: 0.6875 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/0.712, allocations: 40 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.712, allocations: 24.88 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.7136, allocations: 0.674 MB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00468/0.7183, allocations: 2.89 MB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.7198, allocations: 0.7274 MB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007952/0.7206, allocations: 414.5 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.384e-05/0.7207, allocations: 9.188 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007922/0.7215, allocations: 374.9 kB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=74): time 5.09e-06/0.7215, allocations: 0 / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=74): time 0.001994/0.7235, allocations: 0.8802 MB / 1.478 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.7236, allocations: 164 kB / 1.478 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008369/0.7244, allocations: 0.6254 MB / 1.479 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.292e-05/0.7245, allocations: 42.23 kB / 1.479 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.7248, allocations: 461.3 kB / 1.479 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.725, allocations: 252.3 kB / 1.48 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.725, allocations: 12 kB / 1.48 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.061e-05/0.7251, allocations: 334.7 kB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006301/0.7257, allocations: 253.3 kB / 1.48 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007072/0.7264, allocations: 399.5 kB / 1.481 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006814/0.7271, allocations: 297.1 kB / 1.481 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.724e-06/0.7272, allocations: 0 / 1.481 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001644/0.7288, allocations: 0.7605 MB / 1.482 GB, free: 262.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.1e-05/0.7289, allocations: 128.1 kB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.601e-06/0.7289, allocations: 4 kB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.729, allocations: 7.938 kB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007605/0.7297, allocations: 167.2 kB / 1.482 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.7298, allocations: 4 kB / 1.482 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.7303, allocations: 117.5 kB / 1.482 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.7303, allocations: 28.95 kB / 1.482 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.246e-06/0.7304, allocations: 4 kB / 1.482 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009981/0.7314, allocations: 0.5422 MB / 1.483 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.7314, allocations: 3.938 kB / 1.483 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.309e-06/0.7314, allocations: 4 kB / 1.483 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.732, allocations: 139.8 kB / 1.483 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.853e-06/0.732, allocations: 4 kB / 1.483 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.7325, allocations: 86.16 kB / 1.483 GB, free: 261.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.7325, allocations: 20 kB / 1.483 GB, free: 261.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,$whenCondition1,limPIDInp.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.000455/0.733, allocations: 316.8 kB / 1.483 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.7332, allocations: 82.97 kB / 1.483 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.7333, allocations: 84.95 kB / 1.483 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.623e-06/0.7333, allocations: 9.188 kB / 1.483 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.429e-06/0.7334, allocations: 0 / 1.483 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.7334, allocations: 5.766 kB / 1.483 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/0.7362, allocations: 1.648 MB / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.528e-06/0.7362, allocations: 0 / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007445/0.737, allocations: 149.7 kB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.912e-06/0.737, allocations: 0 / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.853e-05/0.7371, allocations: 15.98 kB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.011e-06/0.7371, allocations: 4 kB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.359e-06/0.7371, allocations: 1.281 kB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.7392, allocations: 1.102 MB / 1.486 GB, free: 258.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.7394, allocations: 164 kB / 1.486 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.7395, allocations: 16 kB / 1.486 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.7399, allocations: 51.62 kB / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.74, allocations: 40.59 kB / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/0.7401, allocations: 27.98 kB / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005879/0.7407, allocations: 432.3 kB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.63e-07/0.7407, allocations: 0 / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008878/0.7416, allocations: 338.3 kB / 1.487 GB, free: 257 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 (74): * Single equations (assignments): 74 * 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.0001499/0.7418, allocations: 131.7 kB / 1.487 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001901/0.7437, allocations: 0.93 MB / 1.488 GB, free: 256 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.142e-06/0.7437, allocations: 1.344 kB / 1.488 GB, free: 256 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006483/0.7444, allocations: 331.2 kB / 1.488 GB, free: 255.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009575/0.7453, allocations: 157.3 kB / 1.489 GB, free: 255.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.7482, allocations: 1.993 MB / 1.491 GB, free: 253.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.7487, allocations: 1.03 MB / 1.492 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000499/0.7492, allocations: 92.8 kB / 1.492 GB, free: 252.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.7494, allocations: 59.42 kB / 1.492 GB, free: 252.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.654e-06/0.7494, allocations: 0 / 1.492 GB, free: 252.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.01786/0.7673, allocations: 7.162 MB / 1.499 GB, free: 245.4 MB / 0.8542 GB