Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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.001682/0.001682, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.002155/0.002155, allocations: 222.5 kB / 23.01 MB, free: 5.086 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.366/3.366, allocations: 0.505 GB / 0.8108 GB, free: 21.98 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.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [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.002101/0.002101, allocations: 65.59 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3649, allocations: 180.2 MB / 1.354 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002313/0.3672, allocations: 0.874 MB / 1.355 GB, free: 7.066 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3684, allocations: 0.8783 MB / 1.356 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.3684, allocations: 0 / 1.356 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.655e-05/0.3685, allocations: 15.8 kB / 1.356 GB, free: 6.16 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.807e-05/0.3686, allocations: 15.88 kB / 1.356 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.745e-05/0.3686, allocations: 35.95 kB / 1.356 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.3688, allocations: 111.7 kB / 1.356 GB, free: 6 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.369, allocations: 41.27 kB / 1.356 GB, free: 5.961 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3691, allocations: 47.84 kB / 1.356 GB, free: 5.914 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.657e-05/0.3692, allocations: 55.7 kB / 1.356 GB, free: 5.859 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.3692, allocations: 12 kB / 1.356 GB, free: 5.848 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.06e-05/0.3692, allocations: 15.94 kB / 1.356 GB, free: 5.832 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.3692, allocations: 19.92 kB / 1.356 GB, free: 5.812 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.515e-05/0.3693, allocations: 51.73 kB / 1.356 GB, free: 5.762 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.3695, allocations: 131.4 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3695, allocations: 4 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3695, allocations: 4 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.3695, allocations: 0 / 1.356 GB, free: 5.625 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007516/0.3702, allocations: 358 kB / 1.357 GB, free: 5.242 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3703, allocations: 8.031 kB / 1.357 GB, free: 5.234 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.56e-05/0.3703, allocations: 12.89 kB / 1.357 GB, free: 5.223 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.3705, allocations: 150.4 kB / 1.357 GB, free: 5.051 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3706, allocations: 8.562 kB / 1.357 GB, free: 5.043 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.3706, allocations: 12.38 kB / 1.357 GB, free: 5.031 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.371, allocations: 126.5 kB / 1.357 GB, free: 4.902 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.371, allocations: 0 / 1.357 GB, free: 4.902 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.371, allocations: 3.938 kB / 1.357 GB, free: 4.898 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.371, allocations: 4 kB / 1.357 GB, free: 4.895 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.3715, allocations: 131.8 kB / 1.357 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006203/0.3721, allocations: 371.7 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.3725, allocations: 102.6 kB / 1.358 GB, free: 4.25 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.3727, allocations: 60.81 kB / 1.358 GB, free: 4.188 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.3727, allocations: 8 kB / 1.358 GB, free: 4.18 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3728, allocations: 34.55 kB / 1.358 GB, free: 4.137 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.3728, allocations: 0 / 1.358 GB, free: 4.137 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0007656/0.3735, allocations: 209.6 kB / 1.358 GB, free: 3.926 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.3736, allocations: 51.41 kB / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.3737, allocations: 136.6 kB / 1.358 GB, free: 3.719 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3737, allocations: 25.7 kB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.3739, allocations: 108 kB / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3739, allocations: 27.75 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.374, allocations: 25.7 kB / 1.358 GB, free: 3.52 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.3742, allocations: 318.8 kB / 1.359 GB, free: 3.199 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.3744, allocations: 51.94 kB / 1.359 GB, free: 3.148 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.3746, allocations: 73.66 kB / 1.359 GB, free: 3.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.375, allocations: 129.8 kB / 1.359 GB, free: 2.938 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.375, allocations: 0 / 1.359 GB, free: 2.938 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004718/0.3755, allocations: 165.5 kB / 1.359 GB, free: 2.77 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3755, allocations: 4 kB / 1.359 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3755, allocations: 4 kB / 1.359 GB, free: 2.762 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3755, allocations: 0 / 1.359 GB, free: 2.762 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.3757, allocations: 27.97 kB / 1.359 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3757, allocations: 0 / 1.359 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.3758, allocations: 27.94 kB / 1.359 GB, free: 2.707 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.3758, allocations: 8 kB / 1.359 GB, free: 2.699 MB / 1.045 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 (9): * Single equations (assignments): 9 * 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.0001102/0.3759, allocations: 122.4 kB / 1.359 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.376, allocations: 7.953 kB / 1.359 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.376, allocations: 12.7 kB / 1.359 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.376, allocations: 4 kB / 1.359 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.376, allocations: 3.938 kB / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.376, allocations: 3.938 kB / 1.359 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.3763, allocations: 180.6 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3763, allocations: 3.938 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.3765, allocations: 31.97 kB / 1.359 GB, free: 2.285 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3765, allocations: 4 kB / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3765, allocations: 0 / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3765, allocations: 192 / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3765, allocations: 0 / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.377, allocations: 259.2 kB / 1.36 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.377, allocations: 11.89 kB / 1.36 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.377, allocations: 4 kB / 1.36 GB, free: 1.996 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.3772, allocations: 19.97 kB / 1.36 GB, free: 1.977 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.3772, allocations: 23.86 kB / 1.36 GB, free: 1.953 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.3773, allocations: 0 / 1.36 GB, free: 1.953 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.366e-05/0.3773, allocations: 95.27 kB / 1.36 GB, free: 1.859 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3773, allocations: 0 / 1.36 GB, free: 1.859 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000244/0.3776, allocations: 20 kB / 1.36 GB, free: 1.84 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001732/0.3777, allocations: 103.2 kB / 1.36 GB, free: 1.73 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004919/0.3782, allocations: 123.8 kB / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3782, allocations: 0 / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.3785, allocations: 63.94 kB / 1.36 GB, free: 1.547 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.3788, allocations: 20.05 kB / 1.36 GB, free: 1.527 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005657/0.3794, allocations: 231.9 kB / 1.36 GB, free: 1.262 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.3797, allocations: 0.704 MB / 1.361 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.3798, allocations: 15.44 kB / 1.361 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of SimCode: time 7.01e-07/0.3798, allocations: 0 / 1.361 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of Templates: time 0.003223/0.383, allocations: 1.307 MB / 1.362 GB, free: 15.22 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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: 11.472285927011399]