Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001535/0.001535, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001821/0.001821, allocations: 216.8 kB / 22.99 MB, free: 4.945 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.298/3.298, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002066/0.002066, allocations: 70.03 kB / 1.187 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3285, allocations: 181.8 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005201/0.3337, allocations: 3.066 MB / 1.368 GB, free: 10.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003895/0.3376, allocations: 2.132 MB / 1.37 GB, free: 8.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007008/0.3383, allocations: 23.88 kB / 1.37 GB, free: 8.316 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.3389, allocations: 178.1 kB / 1.37 GB, free: 8.141 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006546/0.3395, allocations: 150.6 kB / 1.37 GB, free: 7.992 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.3409, allocations: 0.498 MB / 1.371 GB, free: 7.496 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001464/0.3424, allocations: 1.245 MB / 1.372 GB, free: 6.246 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006976/0.3431, allocations: 402.3 kB / 1.372 GB, free: 5.828 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005501/0.3437, allocations: 462.2 kB / 1.373 GB, free: 5.375 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004779/0.3441, allocations: 429.5 kB / 1.373 GB, free: 4.953 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.3443, allocations: 128 kB / 1.373 GB, free: 4.828 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.3445, allocations: 152 kB / 1.373 GB, free: 4.68 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.3447, allocations: 255.1 kB / 1.374 GB, free: 4.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003889/0.3451, allocations: 409.8 kB / 1.374 GB, free: 4.027 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.3466, allocations: 1.447 MB / 1.375 GB, free: 2.574 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3466, allocations: 4 kB / 1.375 GB, free: 2.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3466, allocations: 0 / 1.375 GB, free: 2.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.3466, allocations: 4 kB / 1.375 GB, free: 2.566 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.002731/0.3493, allocations: 1.551 MB / 1.377 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3493, allocations: 8.031 kB / 1.377 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.3495, allocations: 124.2 kB / 1.377 GB, free: 0.832 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009532/0.3505, allocations: 0.5465 MB / 1.377 GB, free: 264 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/0.3506, allocations: 70.38 kB / 1.378 GB, free: 196 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.3507, allocations: 96.38 kB / 1.378 GB, free: 100 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.3523, allocations: 0.9818 MB / 1.379 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.3523, allocations: 4.188 kB / 1.379 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.371e-05/0.3524, allocations: 43.94 kB / 1.379 GB, free: 15.01 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.3524, allocations: 20 kB / 1.379 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.3538, allocations: 0.6324 MB / 1.379 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004291/0.3581, allocations: 2.509 MB / 1.382 GB, free: 11.77 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.3597, allocations: 0.6653 MB / 1.382 GB, free: 11.09 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006578/0.3603, allocations: 346.5 kB / 1.383 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.3604, allocations: 12.64 kB / 1.383 GB, free: 10.73 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007149/0.3611, allocations: 348.7 kB / 1.383 GB, free: 10.38 MB / 1.076 GB Notification: Performance of pre-optimization done (n=68): time 2.755e-06/0.3611, allocations: 3.938 kB / 1.383 GB, free: 10.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=68): time 0.001813/0.3629, allocations: 0.8254 MB / 1.384 GB, free: 9.547 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.363, allocations: 192.6 kB / 1.384 GB, free: 9.316 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007565/0.3638, allocations: 0.5772 MB / 1.385 GB, free: 8.73 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.222e-05/0.3638, allocations: 49.69 kB / 1.385 GB, free: 8.676 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.3642, allocations: 436.6 kB / 1.385 GB, free: 8.242 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.3644, allocations: 249.8 kB / 1.385 GB, free: 7.996 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.3647, allocations: 150.6 kB / 1.385 GB, free: 7.844 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.3649, allocations: 386.7 kB / 1.386 GB, free: 7.457 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007196/0.3656, allocations: 330.4 kB / 1.386 GB, free: 7.125 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.3666, allocations: 0.7509 MB / 1.387 GB, free: 6.238 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.3679, allocations: 0.6774 MB / 1.388 GB, free: 5.52 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3679, allocations: 0 / 1.388 GB, free: 5.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001836/0.3698, allocations: 0.8984 MB / 1.388 GB, free: 4.602 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/0.3698, allocations: 47.88 kB / 1.388 GB, free: 4.551 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.3698, allocations: 8 kB / 1.388 GB, free: 4.543 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.3698, allocations: 8 kB / 1.388 GB, free: 4.535 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/0.3705, allocations: 159.7 kB / 1.389 GB, free: 4.379 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.3705, allocations: 11.98 kB / 1.389 GB, free: 4.367 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006072/0.3711, allocations: 131.5 kB / 1.389 GB, free: 4.238 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.109e-05/0.3712, allocations: 35.94 kB / 1.389 GB, free: 4.203 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000713/0.3719, allocations: 424.8 kB / 1.389 GB, free: 3.777 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008204/0.3727, allocations: 0.6922 MB / 1.39 GB, free: 2.949 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009017/0.3736, allocations: 0.5642 MB / 1.39 GB, free: 2.336 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.979e-06/0.3736, allocations: 3.938 kB / 1.39 GB, free: 2.332 MB / 1.076 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.00138/0.375, allocations: 0.789 MB / 1.391 GB, free: 1.523 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.375, allocations: 41.69 kB / 1.391 GB, free: 1.477 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.375, allocations: 4 kB / 1.391 GB, free: 1.473 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.375, allocations: 4 kB / 1.391 GB, free: 1.469 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/0.3755, allocations: 139.8 kB / 1.391 GB, free: 1.332 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3756, allocations: 11.98 kB / 1.391 GB, free: 1.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/0.3761, allocations: 123.8 kB / 1.392 GB, free: 1.199 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.3762, allocations: 28 kB / 1.392 GB, free: 1.172 MB / 1.076 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.0002613/0.3764, allocations: 236 kB / 1.392 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.764e-05/0.3765, allocations: 71.53 kB / 1.392 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.3778, allocations: 0.6411 MB / 1.392 GB, free: 220 kB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.3779, allocations: 8 kB / 1.392 GB, free: 212 kB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3779, allocations: 0 / 1.392 GB, free: 212 kB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.3779, allocations: 3.984 kB / 1.392 GB, free: 208 kB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.3804, allocations: 1.42 MB / 1.394 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3804, allocations: 12.05 kB / 1.394 GB, free: 14.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005347/0.3809, allocations: 131.8 kB / 1.394 GB, free: 14.57 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.3809, allocations: 8 kB / 1.394 GB, free: 14.57 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.3809, allocations: 15.94 kB / 1.394 GB, free: 14.55 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.381, allocations: 11.94 kB / 1.394 GB, free: 14.54 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.381, allocations: 3.984 kB / 1.394 GB, free: 14.54 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.3829, allocations: 1.084 MB / 1.395 GB, free: 13.41 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.383, allocations: 79.45 kB / 1.395 GB, free: 13.33 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.457e-05/0.3831, allocations: 23.94 kB / 1.395 GB, free: 13.31 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.3834, allocations: 51.94 kB / 1.395 GB, free: 13.26 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/0.3835, allocations: 40.42 kB / 1.395 GB, free: 13.22 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.3835, allocations: 24 kB / 1.395 GB, free: 13.2 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000509/0.384, allocations: 402.8 kB / 1.396 GB, free: 12.8 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.384, allocations: 0 / 1.396 GB, free: 12.8 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008783/0.3849, allocations: 346.8 kB / 1.396 GB, free: 12.46 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (noLimPID.D.x,noLimPID.I.y,limPD.D.x,limPI.I.y,limPID.D.x,limPID.I.y) * 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.0002162/0.3851, allocations: 135 kB / 1.396 GB, free: 12.32 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002164/0.3873, allocations: 1.127 MB / 1.397 GB, free: 11.16 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3873, allocations: 0 / 1.397 GB, free: 11.16 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006033/0.3879, allocations: 304.7 kB / 1.398 GB, free: 10.86 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009066/0.3888, allocations: 175 kB / 1.398 GB, free: 10.7 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.3913, allocations: 1.544 MB / 1.399 GB, free: 9.09 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.3918, allocations: 392.2 kB / 1.4 GB, free: 8.672 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.392, allocations: 63.41 kB / 1.4 GB, free: 8.609 MB / 1.092 GB Notification: Performance of SimCode: time 7.01e-07/0.392, allocations: 0 / 1.4 GB, free: 8.609 MB / 1.092 GB Notification: Performance of Templates: time 0.01664/0.4086, allocations: 10.14 MB / 1.41 GB, free: 14.51 MB / 1.107 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.264051240868866]