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.001772/0.001772, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002263/0.002263, allocations: 218.7 kB / 23 MB, free: 4.965 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.616/1.616, allocations: 230.6 MB / 256.8 MB, free: 7.816 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 3.434/3.434, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.002159/0.002159, allocations: 65.02 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3903, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.005243/0.3956, allocations: 3.062 MB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004438/0.4, allocations: 2.136 MB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005362/0.4006, allocations: 23.88 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004869/0.401, allocations: 182.1 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004207/0.4015, allocations: 142.6 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.4029, allocations: 0.5036 MB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001564/0.4045, allocations: 1.248 MB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007943/0.4053, allocations: 430.3 kB / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005738/0.4058, allocations: 466.2 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006392/0.4065, allocations: 485.5 kB / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.4067, allocations: 128 kB / 1.336 GB, free: 8.137 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.4069, allocations: 144 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003022/0.4072, allocations: 251.1 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004102/0.4076, allocations: 417.8 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.4094, allocations: 1.447 MB / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4094, allocations: 0 / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4094, allocations: 0 / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.4094, allocations: 0 / 1.338 GB, free: 5.887 MB / 1.029 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.003222/0.4126, allocations: 1.563 MB / 1.339 GB, free: 4.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.4127, allocations: 8.031 kB / 1.339 GB, free: 4.262 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.4129, allocations: 124.2 kB / 1.34 GB, free: 4.141 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.4139, allocations: 0.5349 MB / 1.34 GB, free: 3.578 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.056e-05/0.414, allocations: 74.38 kB / 1.34 GB, free: 3.508 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.4142, allocations: 92.38 kB / 1.34 GB, free: 3.418 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.416, allocations: 0.9857 MB / 1.341 GB, free: 2.375 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.416, allocations: 4.125 kB / 1.341 GB, free: 2.371 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.501e-05/0.4161, allocations: 39.94 kB / 1.341 GB, free: 2.332 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.4161, allocations: 27.98 kB / 1.341 GB, free: 2.305 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.4175, allocations: 0.6285 MB / 1.342 GB, free: 1.676 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005087/0.4226, allocations: 2.524 MB / 1.344 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.4243, allocations: 0.6612 MB / 1.345 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007269/0.425, allocations: 346.5 kB / 1.345 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.302e-05/0.4251, allocations: 12.64 kB / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007331/0.4258, allocations: 348.3 kB / 1.346 GB, free: 13.68 MB / 1.045 GB Notification: Performance of pre-optimization done (n=68): time 3.867e-06/0.4258, allocations: 0 / 1.346 GB, free: 13.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=68): time 0.001968/0.4278, allocations: 0.8293 MB / 1.346 GB, free: 12.85 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.4279, allocations: 188.6 kB / 1.347 GB, free: 12.62 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009782/0.4289, allocations: 0.5811 MB / 1.347 GB, free: 12.03 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.429, allocations: 45.7 kB / 1.347 GB, free: 11.98 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004858/0.4295, allocations: 453.6 kB / 1.348 GB, free: 11.53 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/0.4298, allocations: 241.9 kB / 1.348 GB, free: 11.29 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/0.4301, allocations: 142.7 kB / 1.348 GB, free: 11.15 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0003288/0.4304, allocations: 382.8 kB / 1.348 GB, free: 10.77 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008755/0.4313, allocations: 326.3 kB / 1.349 GB, free: 10.44 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.4324, allocations: 0.7587 MB / 1.349 GB, free: 9.539 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.4338, allocations: 0.6812 MB / 1.35 GB, free: 8.812 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.4338, allocations: 4 kB / 1.35 GB, free: 8.809 MB / 1.045 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002193/0.436, allocations: 0.9024 MB / 1.351 GB, free: 7.887 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.511e-05/0.4361, allocations: 37.7 kB / 1.351 GB, free: 7.844 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.4361, allocations: 8 kB / 1.351 GB, free: 7.836 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.4361, allocations: 4 kB / 1.351 GB, free: 7.832 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007602/0.4369, allocations: 167.7 kB / 1.351 GB, free: 7.668 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.4369, allocations: 8.094 kB / 1.351 GB, free: 7.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00073/0.4376, allocations: 127.5 kB / 1.351 GB, free: 7.535 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.961e-05/0.4377, allocations: 31.98 kB / 1.351 GB, free: 7.504 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008187/0.4385, allocations: 423.8 kB / 1.352 GB, free: 7.078 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008843/0.4394, allocations: 0.6929 MB / 1.352 GB, free: 6.25 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009713/0.4404, allocations: 0.5681 MB / 1.353 GB, free: 5.637 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.4404, allocations: 0 / 1.353 GB, free: 5.637 MB / 1.045 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001624/0.442, allocations: 0.785 MB / 1.354 GB, free: 4.832 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.859e-05/0.442, allocations: 42.06 kB / 1.354 GB, free: 4.785 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.442, allocations: 4 kB / 1.354 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.4421, allocations: 8 kB / 1.354 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.4426, allocations: 143.8 kB / 1.354 GB, free: 4.633 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4426, allocations: 7.984 kB / 1.354 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006254/0.4433, allocations: 115.7 kB / 1.354 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.657e-05/0.4433, allocations: 31.97 kB / 1.354 GB, free: 4.48 MB / 1.045 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.0003113/0.4437, allocations: 240.5 kB / 1.354 GB, free: 4.238 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.4438, allocations: 75.53 kB / 1.354 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.4452, allocations: 0.6411 MB / 1.355 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.4453, allocations: 3.984 kB / 1.355 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.4453, allocations: 0 / 1.355 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.4454, allocations: 91.27 kB / 1.355 GB, free: 3.422 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.349e-05/0.4455, allocations: 16 kB / 1.355 GB, free: 3.406 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.4458, allocations: 43.95 kB / 1.355 GB, free: 3.363 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/0.4459, allocations: 40.52 kB / 1.355 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001692/0.4476, allocations: 0.7275 MB / 1.356 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002034/0.4496, allocations: 1.122 MB / 1.357 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005499/0.4502, allocations: 265.1 kB / 1.357 GB, free: 1.191 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005512/0.4507, allocations: 410.8 kB / 1.358 GB, free: 0.793 MB / 1.045 GB Notification: Performance of Backend: time 1.022e-06/0.4507, allocations: 0 / 1.358 GB, free: 0.793 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002567/0.4533, allocations: 0.9952 MB / 1.359 GB, free: 15.76 MB / 1.061 GB Notification: Performance of SimCode: time 0.003067/0.4564, allocations: 1.838 MB / 1.36 GB, free: 13.86 MB / 1.061 GB Notification: Performance of Templates: time 0.0266/0.483, allocations: 14.16 MB / 1.374 GB, free: 15.88 MB / 1.076 GB " [Timeout remaining time 300] 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: 10.07395187599468]