Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 114.1 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 205.5 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.893/2.893, allocations: 0.49 GB / 0.7923 GB, free: 1.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 79.89 kB / 1.15 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9582/0.9602, allocations: 176.1 MB / 1.322 GB, free: 25.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.003995/0.9642, allocations: 3.625 MB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002907/0.9672, allocations: 2.17 MB / 1.328 GB, free: 20.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003936/0.9675, allocations: 25.25 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.9679, allocations: 173.3 kB / 1.328 GB, free: 20.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.9682, allocations: 154.4 kB / 1.328 GB, free: 20.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000881/0.9691, allocations: 0.4923 MB / 1.328 GB, free: 20.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001364/0.9704, allocations: 1.258 MB / 1.33 GB, free: 19.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007186/0.9712, allocations: 433.3 kB / 1.33 GB, free: 19.22 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000581/0.9717, allocations: 457.5 kB / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004401/0.9722, allocations: 489.3 kB / 1.331 GB, free: 18.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002141/0.9724, allocations: 128.8 kB / 1.331 GB, free: 18.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.9726, allocations: 147.2 kB / 1.331 GB, free: 18.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.9728, allocations: 248.1 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003769/0.9732, allocations: 0.5053 MB / 1.332 GB, free: 18.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.9748, allocations: 1.434 MB / 1.333 GB, free: 17.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9748, allocations: 0 / 1.333 GB, free: 17.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9748, allocations: 1.031 kB / 1.333 GB, free: 17.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.477e-05/0.9748, allocations: 0 / 1.333 GB, free: 17.51 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002491/0.9773, allocations: 1.403 MB / 1.335 GB, free: 16.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.9774, allocations: 12.95 kB / 1.335 GB, free: 16.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/0.9776, allocations: 124.3 kB / 1.335 GB, free: 16.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008325/0.9784, allocations: 0.6056 MB / 1.336 GB, free: 16.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.616e-05/0.9785, allocations: 69.33 kB / 1.336 GB, free: 16.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.9786, allocations: 95.31 kB / 1.336 GB, free: 15.99 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.9803, allocations: 0.8655 MB / 1.337 GB, free: 15.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.9803, allocations: 192 / 1.337 GB, free: 15.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.9804, allocations: 41.5 kB / 1.337 GB, free: 15.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.9804, allocations: 21 kB / 1.337 GB, free: 15.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.982, allocations: 0.634 MB / 1.337 GB, free: 15.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004528/0.9866, allocations: 2.977 MB / 1.34 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.988, allocations: 0.6471 MB / 1.341 GB, free: 13.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006264/0.9887, allocations: 351.3 kB / 1.341 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.545e-05/0.9887, allocations: 10.41 kB / 1.341 GB, free: 13.19 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006865/0.9894, allocations: 352 kB / 1.341 GB, free: 13.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=68): time 3.056e-06/0.9894, allocations: 0 / 1.341 GB, free: 13.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=68): time 0.001864/0.9913, allocations: 0.8337 MB / 1.342 GB, free: 12.72 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.9913, allocations: 189.5 kB / 1.342 GB, free: 12.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008436/0.9922, allocations: 0.6823 MB / 1.343 GB, free: 12.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.842e-05/0.9922, allocations: 39.69 kB / 1.343 GB, free: 12.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.9925, allocations: 439.8 kB / 1.344 GB, free: 11.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.9926, allocations: 245.1 kB / 1.344 GB, free: 11.62 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.9929, allocations: 146.2 kB / 1.344 GB, free: 11.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.219e-05/0.9929, allocations: 337.1 kB / 1.344 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00071/0.9936, allocations: 296.5 kB / 1.345 GB, free: 11.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007474/0.9944, allocations: 482.4 kB / 1.345 GB, free: 10.81 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.9956, allocations: 0.6745 MB / 1.346 GB, free: 10.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.9956, allocations: 5 kB / 1.346 GB, free: 10.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001862/0.9974, allocations: 0.8839 MB / 1.347 GB, free: 10.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.9975, allocations: 39.38 kB / 1.347 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.9975, allocations: 3.281 kB / 1.347 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.9975, allocations: 7.078 kB / 1.347 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000668/0.9982, allocations: 166 kB / 1.347 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.9982, allocations: 7.766 kB / 1.347 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007069/0.9989, allocations: 142.4 kB / 1.347 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.196e-05/0.999, allocations: 30.52 kB / 1.347 GB, free: 9.926 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006502/0.9996, allocations: 399.4 kB / 1.347 GB, free: 9.699 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005128/1, allocations: 417.6 kB / 1.348 GB, free: 9.402 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007486/1.001, allocations: 0.5708 MB / 1.348 GB, free: 9.035 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/1.001, allocations: 1.344 kB / 1.348 GB, free: 9.035 MB / 1.061 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001317/1.002, allocations: 0.7679 MB / 1.349 GB, free: 8.672 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/1.002, allocations: 36.16 kB / 1.349 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/1.002, allocations: 3.188 kB / 1.349 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/1.002, allocations: 10.97 kB / 1.349 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/1.003, allocations: 137.1 kB / 1.349 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/1.003, allocations: 11.09 kB / 1.349 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005953/1.003, allocations: 118.9 kB / 1.349 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/1.003, allocations: 31.91 kB / 1.349 GB, free: 8.562 MB / 1.061 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,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001995/1.004, allocations: 223.5 kB / 1.35 GB, free: 8.352 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/1.004, allocations: 85.45 kB / 1.35 GB, free: 8.305 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/1.005, allocations: 0.6593 MB / 1.35 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/1.005, allocations: 6.562 kB / 1.35 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.005, allocations: 0 / 1.35 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/1.005, allocations: 4.719 kB / 1.35 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/1.008, allocations: 1.67 MB / 1.352 GB, free: 7.117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/1.008, allocations: 7.453 kB / 1.352 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005475/1.008, allocations: 129.8 kB / 1.352 GB, free: 7.102 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/1.008, allocations: 5.219 kB / 1.352 GB, free: 7.102 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/1.008, allocations: 21.09 kB / 1.352 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/1.008, allocations: 5.656 kB / 1.352 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.008, allocations: 6.25 kB / 1.352 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/1.01, allocations: 1.092 MB / 1.353 GB, free: 6.516 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/1.01, allocations: 175 kB / 1.353 GB, free: 6.355 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.528e-05/1.01, allocations: 16.2 kB / 1.353 GB, free: 6.348 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/1.011, allocations: 53.34 kB / 1.353 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/1.011, allocations: 43.23 kB / 1.353 GB, free: 6.324 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/1.011, allocations: 22.92 kB / 1.353 GB, free: 6.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005756/1.011, allocations: 483.2 kB / 1.354 GB, free: 6.105 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.011, allocations: 96 / 1.354 GB, free: 6.105 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009152/1.012, allocations: 331.1 kB / 1.354 GB, free: 6 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001949/1.012, allocations: 137.9 kB / 1.354 GB, free: 5.887 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002023/1.014, allocations: 1.069 MB / 1.355 GB, free: 5.438 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.014, allocations: 1.25 kB / 1.355 GB, free: 5.438 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005582/1.015, allocations: 301.5 kB / 1.356 GB, free: 5.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000929/1.016, allocations: 181.5 kB / 1.356 GB, free: 5.277 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/1.018, allocations: 1.55 MB / 1.357 GB, free: 4.359 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/1.019, allocations: 0.9799 MB / 1.358 GB, free: 3.637 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/1.019, allocations: 69.48 kB / 1.358 GB, free: 3.625 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/1.019, allocations: 0 / 1.358 GB, free: 3.625 MB / 1.061 GB Notification: Performance of Templates: time 0.01803/1.037, allocations: 10.18 MB / 1.368 GB, free: 2.48 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.395559791999403]