Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.038/5.038, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.002361/0.00236, allocations: 356.5 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.145/4.145, allocations: 410.7 MB / 1.112 GB, free: 6.02 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.001808/0.001807, allocations: 189.4 kB / 1.225 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004954, allocations: 12 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5818/0.5823, 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.PID): time 0.00309/0.5854, allocations: 2.861 MB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003212/0.5887, allocations: 1.982 MB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008391/0.5896, allocations: 19.94 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.5898, allocations: 79.03 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007702/0.5906, allocations: 167.1 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.5916, allocations: 365.2 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001165/0.5928, allocations: 1.062 MB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000645/0.5935, allocations: 400.2 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.5938, allocations: 274.4 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.5941, allocations: 342.3 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.767e-05/0.5942, allocations: 30.97 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.5944, allocations: 43.98 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.5945, allocations: 135.2 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.5946, allocations: 173.1 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009088/0.5956, allocations: 1.069 MB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.108e-06/0.5956, allocations: 0 / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.704e-06/0.5956, allocations: 0 / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.958e-05/0.5956, allocations: 0 / 1.47 GB, free: 275.4 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002418/0.5981, allocations: 1.27 MB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5981, allocations: 11.62 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/0.5984, allocations: 118.6 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.5995, allocations: 0.6231 MB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.751e-05/0.5996, allocations: 62 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.5997, allocations: 89.03 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.6015, allocations: 0.8298 MB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.6015, allocations: 1.312 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.425e-05/0.6016, allocations: 33.25 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.6016, allocations: 20 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.6032, allocations: 0.64 MB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004715/0.608, allocations: 2.856 MB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.6097, allocations: 0.7134 MB / 1.477 GB, free: 268 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007364/0.6104, allocations: 360.4 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.207e-05/0.6105, allocations: 12.55 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007812/0.6113, allocations: 341.6 kB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=59): time 4.262e-06/0.6113, allocations: 0 / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=59): time 0.002112/0.6134, allocations: 0.8259 MB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.6135, allocations: 189.5 kB / 1.478 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.6145, allocations: 0.7039 MB / 1.479 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.795e-05/0.6147, allocations: 42.39 kB / 1.479 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.615, allocations: 452.2 kB / 1.479 GB, free: 265 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.6152, allocations: 204.6 kB / 1.48 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.6152, allocations: 16 kB / 1.48 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.946e-05/0.6153, allocations: 326 kB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007439/0.6161, allocations: 275.3 kB / 1.48 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008005/0.6169, allocations: 462.1 kB / 1.481 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/0.6177, allocations: 340.6 kB / 1.481 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.577e-06/0.6177, allocations: 0 / 1.481 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00207/0.6198, allocations: 0.8391 MB / 1.482 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.6199, allocations: 218.3 kB / 1.482 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.6199, allocations: 4 kB / 1.482 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.62, allocations: 4.594 kB / 1.482 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007038/0.6207, allocations: 157.7 kB / 1.482 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.6207, allocations: 4.688 kB / 1.482 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007978/0.6215, allocations: 168.9 kB / 1.482 GB, free: 262 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/0.6216, allocations: 33.25 kB / 1.482 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.6216, allocations: 4 kB / 1.482 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001197/0.6228, allocations: 0.6009 MB / 1.483 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.496e-06/0.6229, allocations: 0 / 1.483 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.6229, allocations: 8 kB / 1.483 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005682/0.6235, allocations: 124.3 kB / 1.483 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.6235, allocations: 8.734 kB / 1.483 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006763/0.6242, allocations: 135.1 kB / 1.483 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/0.6243, allocations: 24 kB / 1.483 GB, free: 261 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,$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 (81): * Single equations (assignments): 80 * 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.0004473/0.6247, allocations: 305.6 kB / 1.484 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.6249, allocations: 79.06 kB / 1.484 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.625, allocations: 85.7 kB / 1.484 GB, free: 260.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.485e-06/0.625, allocations: 8 kB / 1.484 GB, free: 260.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.381e-06/0.6251, allocations: 3.953 kB / 1.484 GB, free: 260.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.6251, allocations: 5.062 kB / 1.484 GB, free: 260.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008712/0.626, allocations: 0.7678 MB / 1.484 GB, free: 259.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.626, allocations: 0 / 1.484 GB, free: 259.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006496/0.6266, allocations: 130.2 kB / 1.485 GB, free: 259.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.6267, allocations: 0 / 1.485 GB, free: 259.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/0.6267, allocations: 13.5 kB / 1.485 GB, free: 259.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.6267, allocations: 4 kB / 1.485 GB, free: 259.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.6267, allocations: 3.984 kB / 1.485 GB, free: 259.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.6288, allocations: 0.9377 MB / 1.486 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.629, allocations: 164 kB / 1.486 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.6291, allocations: 12.12 kB / 1.486 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.6295, allocations: 71.45 kB / 1.486 GB, free: 258.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.6296, allocations: 28.52 kB / 1.486 GB, free: 258.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/0.6297, allocations: 21.23 kB / 1.486 GB, free: 258.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006921/0.6304, allocations: 495 kB / 1.486 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.99e-07/0.6304, allocations: 0 / 1.486 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009515/0.6314, allocations: 319.7 kB / 1.487 GB, free: 257.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($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 (59): * Single equations (assignments): 58 * 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.00019/0.6316, allocations: 123.1 kB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002147/0.6337, allocations: 1.074 MB / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.873e-06/0.6338, allocations: 0.9375 kB / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006559/0.6344, allocations: 290.6 kB / 1.488 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.6355, allocations: 166.7 kB / 1.488 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.6381, allocations: 1.73 MB / 1.49 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.6386, allocations: 1.003 MB / 1.491 GB, free: 253.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005611/0.6392, allocations: 95.69 kB / 1.491 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.6394, allocations: 59.42 kB / 1.491 GB, free: 253 MB / 0.8542 GB Notification: Performance of SimCode: time 1.581e-06/0.6394, allocations: 0 / 1.491 GB, free: 253 MB / 0.8542 GB Notification: Performance of Templates: time 0.02046/0.6599, allocations: 8.422 MB / 1.499 GB, free: 244.8 MB / 0.8542 GB