Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.002/5.002, allocations: 0.5623 GB / 0.5769 GB, free: 3.289 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.002403/0.002402, allocations: 354.9 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.422/4.422, allocations: 410.7 MB / 1.112 GB, free: 5.953 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.001778/0.001778, allocations: 182.6 kB / 1.225 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004908, allocations: 11.98 kB / 1.348 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6308/0.6313, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.006345/0.6377, allocations: 3.687 MB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005187/0.6429, allocations: 1.469 MB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.6444, allocations: 31.81 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004201/0.6449, allocations: 68.27 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.6468, allocations: 207.3 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.65, allocations: 0.523 MB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002768/0.6528, allocations: 1.074 MB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.654, allocations: 358.7 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009178/0.655, allocations: 326 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005938/0.6556, allocations: 335.1 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.6559, allocations: 24 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.656, allocations: 28.5 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.6563, allocations: 140.2 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.6565, allocations: 173.1 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.6578, allocations: 0.8125 MB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.695e-06/0.6578, allocations: 1.125 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.298e-06/0.6578, allocations: 0 / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.011e-05/0.6579, allocations: 0 / 1.47 GB, free: 275.2 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004203/0.6621, allocations: 1.256 MB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.6622, allocations: 12.5 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004585/0.6627, allocations: 126.5 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.6653, allocations: 0.6976 MB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.6655, allocations: 85.42 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002355/0.6657, allocations: 71.91 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.6683, allocations: 0.7333 MB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/0.6684, allocations: 0 / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.6685, allocations: 30.97 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.6686, allocations: 16 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/0.6712, allocations: 0.5264 MB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007999/0.6792, allocations: 2.292 MB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004389/0.6837, allocations: 0.6365 MB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.6856, allocations: 273.1 kB / 1.476 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.6858, allocations: 8.562 kB / 1.476 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002079/0.6879, allocations: 325.8 kB / 1.477 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=60): time 5.085e-06/0.688, allocations: 0.8438 kB / 1.477 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=60): time 0.00205/0.69, allocations: 0.7726 MB / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.6901, allocations: 86.61 kB / 1.477 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.6912, allocations: 0.7575 MB / 1.478 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-05/0.6913, allocations: 37.7 kB / 1.478 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.6916, allocations: 444.5 kB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.6918, allocations: 208.9 kB / 1.479 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.6918, allocations: 16.59 kB / 1.479 GB, free: 265.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.325e-05/0.6919, allocations: 330.9 kB / 1.479 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007583/0.6927, allocations: 206.7 kB / 1.479 GB, free: 265 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000624/0.6933, allocations: 305.5 kB / 1.48 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006222/0.694, allocations: 234.2 kB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.144e-06/0.694, allocations: 4 kB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001602/0.6956, allocations: 0.6594 MB / 1.481 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.6958, allocations: 165.2 kB / 1.481 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.6958, allocations: 4 kB / 1.481 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.6958, allocations: 7.25 kB / 1.481 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008337/0.6967, allocations: 151.7 kB / 1.481 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.6967, allocations: 4 kB / 1.481 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/0.6973, allocations: 86.31 kB / 1.481 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/0.6974, allocations: 20 kB / 1.481 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.6974, allocations: 7.594 kB / 1.481 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001295/0.6987, allocations: 0.5187 MB / 1.481 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.6988, allocations: 5.125 kB / 1.481 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.6988, allocations: 4 kB / 1.481 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009531/0.6998, allocations: 144.3 kB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.6998, allocations: 5.594 kB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005845/0.7004, allocations: 64.36 kB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.7004, allocations: 20 kB / 1.482 GB, free: 262.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.000433/0.7009, allocations: 299.5 kB / 1.482 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.7011, allocations: 94.78 kB / 1.482 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.7013, allocations: 103.2 kB / 1.482 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.117e-06/0.7013, allocations: 8 kB / 1.482 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.673e-06/0.7013, allocations: 0 / 1.482 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.623e-06/0.7013, allocations: 3.984 kB / 1.482 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.7039, allocations: 1.456 MB / 1.484 GB, free: 260.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.7039, allocations: 4 kB / 1.484 GB, free: 260.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007237/0.7047, allocations: 109.8 kB / 1.484 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.892e-06/0.7047, allocations: 0 / 1.484 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.185e-05/0.7048, allocations: 23.92 kB / 1.484 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-06/0.7048, allocations: 4 kB / 1.484 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.96e-06/0.7048, allocations: 1.75 kB / 1.484 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.7069, allocations: 0.9771 MB / 1.485 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004078/0.7074, allocations: 224.7 kB / 1.485 GB, free: 259.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.7075, allocations: 12 kB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005772/0.7081, allocations: 41.88 kB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.7082, allocations: 37.41 kB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.193e-05/0.7083, allocations: 16 kB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000757/0.709, allocations: 0.5119 MB / 1.486 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.03e-07/0.7091, allocations: 0 / 1.486 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009325/0.71, allocations: 283.9 kB / 1.486 GB, free: 258.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0001562/0.7102, allocations: 116.4 kB / 1.486 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002/0.7122, allocations: 0.7981 MB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.586e-06/0.7122, allocations: 0.625 kB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006334/0.7129, allocations: 277.3 kB / 1.487 GB, free: 257.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.7143, allocations: 239.3 kB / 1.487 GB, free: 257 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.7174, allocations: 1.826 MB / 1.489 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.7179, allocations: 1.014 MB / 1.49 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0008118/0.7187, allocations: 122.3 kB / 1.49 GB, free: 254 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.719, allocations: 68.3 kB / 1.49 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.696e-06/0.719, allocations: 3.938 kB / 1.49 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.03132/0.7503, allocations: 8.398 MB / 1.498 GB, free: 245.8 MB / 0.8542 GB