Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.001676/0.001676, allocations: 95.92 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.001983/0.001983, allocations: 212.3 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.346/3.346, allocations: 0.505 GB / 0.8109 GB, free: 23.55 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.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [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.002079/0.002079, allocations: 72.92 kB / 1.178 GB, free: 16.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4009, allocations: 180.2 MB / 1.354 GB, free: 7.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.004132/0.405, allocations: 1.21 MB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.4068, allocations: 1.03 MB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.407, allocations: 4 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.4071, allocations: 31.59 kB / 1.356 GB, free: 5.156 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.4073, allocations: 35.61 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.4075, allocations: 119.9 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004326/0.4079, allocations: 356.3 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.4083, allocations: 174.4 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.4085, allocations: 127.6 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.4086, allocations: 139.3 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.172e-05/0.4087, allocations: 44 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.354e-05/0.4087, allocations: 48 kB / 1.357 GB, free: 4.129 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.432e-05/0.4088, allocations: 83.77 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.4089, allocations: 123.5 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.4095, allocations: 0.537 MB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4095, allocations: 0 / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4095, allocations: 0 / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.4095, allocations: 0 / 1.358 GB, free: 3.387 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001044/0.4106, allocations: 0.5133 MB / 1.359 GB, free: 2.84 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.4106, allocations: 8.031 kB / 1.359 GB, free: 2.832 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.349e-05/0.4107, allocations: 32.75 kB / 1.359 GB, free: 2.801 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.411, allocations: 216.2 kB / 1.359 GB, free: 2.566 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.4111, allocations: 25.03 kB / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.4111, allocations: 28.38 kB / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007155/0.4118, allocations: 314.6 kB / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4118, allocations: 192 / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.4119, allocations: 19.94 kB / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.4119, allocations: 8 kB / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007488/0.4126, allocations: 282.4 kB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.4139, allocations: 0.6994 MB / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006986/0.4146, allocations: 246.7 kB / 1.36 GB, free: 0.918 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003651/0.415, allocations: 135.6 kB / 1.36 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.415, allocations: 4 kB / 1.36 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.415, allocations: 38.5 kB / 1.36 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.415, allocations: 0 / 1.36 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.001038/0.4161, allocations: 361.9 kB / 1.361 GB, free: 384 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.4161, allocations: 59.39 kB / 1.361 GB, free: 312 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.4163, allocations: 139.5 kB / 1.361 GB, free: 164 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.4163, allocations: 33.7 kB / 1.361 GB, free: 124 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.4165, allocations: 164.7 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.551e-05/0.4166, allocations: 91.2 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-05/0.4167, allocations: 41.95 kB / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4168, allocations: 330.6 kB / 1.362 GB, free: 15.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.4171, allocations: 96.41 kB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.4175, allocations: 128.6 kB / 1.362 GB, free: 15.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006132/0.4181, allocations: 234.6 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4181, allocations: 3.938 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006905/0.4188, allocations: 285.3 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4188, allocations: 8 kB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4188, allocations: 0 / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4188, allocations: 0 / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.4191, allocations: 71.89 kB / 1.362 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.4191, allocations: 4 kB / 1.362 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.4193, allocations: 35.8 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.4193, allocations: 4 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (27): * Single equations (assignments): 27 * 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.0001615/0.4195, allocations: 153.8 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-05/0.4195, allocations: 11.91 kB / 1.363 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.292e-05/0.4196, allocations: 25.28 kB / 1.363 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4196, allocations: 0 / 1.363 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4196, allocations: 3.984 kB / 1.363 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/0.4196, allocations: 23.78 kB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.4196, allocations: 0 / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.4198, allocations: 23.97 kB / 1.363 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.4199, allocations: 15.97 kB / 1.363 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008852/0.4208, allocations: 384.9 kB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007899/0.4215, allocations: 462.3 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003057/0.4218, allocations: 111.9 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.221e-05/0.4219, allocations: 109.1 kB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of Backend: time 7.72e-07/0.4219, allocations: 0 / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007172/0.4227, allocations: 210.3 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of SimCode: time 0.001095/0.4238, allocations: 0.7943 MB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of Templates: time 0.006571/0.4303, allocations: 2.737 MB / 1.367 GB, free: 9.539 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.464315028999408]