Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.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.001923/0.001923, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002145/0.002145, allocations: 210.6 kB / 23 MB, free: 4.934 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.387/3.387, allocations: 0.505 GB / 0.8109 GB, free: 23.51 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.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.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.002124/0.002124, allocations: 72.14 kB / 1.178 GB, free: 16.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3892, allocations: 180.2 MB / 1.354 GB, free: 7.402 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.0029/0.3921, allocations: 1.132 MB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.3936, allocations: 1.003 MB / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.3937, allocations: 0 / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.609e-05/0.3938, allocations: 23.67 kB / 1.356 GB, free: 5.23 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.394, allocations: 39.62 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.3942, allocations: 95.92 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003646/0.3945, allocations: 315.4 kB / 1.357 GB, free: 4.789 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003407/0.3949, allocations: 146 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.395, allocations: 115.6 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.3952, allocations: 123.4 kB / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.211e-05/0.3953, allocations: 36 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.563e-05/0.3953, allocations: 36 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.978e-05/0.3954, allocations: 63.83 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.3955, allocations: 99.53 kB / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005293/0.396, allocations: 450.2 kB / 1.358 GB, free: 3.738 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.396, allocations: 0 / 1.358 GB, free: 3.738 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.924e-06/0.396, allocations: 0 / 1.358 GB, free: 3.738 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.3961, allocations: 4 kB / 1.358 GB, free: 3.734 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001027/0.3971, allocations: 485.8 kB / 1.358 GB, free: 3.227 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.3971, allocations: 8.031 kB / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.3972, allocations: 24.8 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.3976, allocations: 208.4 kB / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.3977, allocations: 25.03 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.696e-05/0.3977, allocations: 24.38 kB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.3984, allocations: 258.6 kB / 1.359 GB, free: 2.66 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.3984, allocations: 192 / 1.359 GB, free: 2.66 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.3985, allocations: 15.94 kB / 1.359 GB, free: 2.645 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.3985, allocations: 4 kB / 1.359 GB, free: 2.641 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006689/0.3991, allocations: 246.3 kB / 1.359 GB, free: 2.402 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.4003, allocations: 0.5977 MB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/0.4009, allocations: 206.6 kB / 1.36 GB, free: 1.562 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.4012, allocations: 112.7 kB / 1.36 GB, free: 1.449 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.4013, allocations: 0 / 1.36 GB, free: 1.449 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.4013, allocations: 38.56 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.4013, allocations: 0 / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0009483/0.4023, allocations: 315.4 kB / 1.36 GB, free: 1.09 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.4023, allocations: 55.41 kB / 1.36 GB, free: 1.023 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.4025, allocations: 142.9 kB / 1.36 GB, free: 0.875 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.4025, allocations: 33.7 kB / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.4027, allocations: 156.6 kB / 1.36 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.629e-05/0.4027, allocations: 71.38 kB / 1.361 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.4028, allocations: 33.72 kB / 1.361 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.403, allocations: 322.8 kB / 1.361 GB, free: 248 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.4032, allocations: 87.86 kB / 1.361 GB, free: 160 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.4035, allocations: 111.1 kB / 1.361 GB, free: 44 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005154/0.404, allocations: 187.2 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.404, allocations: 0 / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006109/0.4046, allocations: 247.4 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4047, allocations: 4 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4047, allocations: 0 / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.4047, allocations: 0 / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.4049, allocations: 55.89 kB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4049, allocations: 4.031 kB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.4051, allocations: 35.8 kB / 1.362 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.4051, allocations: 8 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.000161/0.4053, allocations: 137.8 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.4053, allocations: 15.91 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.471e-05/0.4054, allocations: 21.12 kB / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4054, allocations: 0 / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4054, allocations: 0 / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.4054, allocations: 19.81 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.4054, allocations: 8 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.4056, allocations: 19.92 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.4057, allocations: 19.91 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008019/0.4065, allocations: 340.7 kB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006816/0.4071, allocations: 416.2 kB / 1.363 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002761/0.4074, allocations: 99.86 kB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.219e-05/0.4075, allocations: 113 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of Backend: time 6.61e-07/0.4075, allocations: 3.938 kB / 1.363 GB, free: 14.28 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006656/0.4082, allocations: 181.3 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of SimCode: time 0.001032/0.4092, allocations: 0.7705 MB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of Templates: time 0.006096/0.4153, allocations: 2.402 MB / 1.366 GB, free: 10.93 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.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: 9.46008871399681]