Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001568/0.001568, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001739/0.001739, allocations: 222.9 kB / 23 MB, free: 4.91 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.208/3.208, allocations: 0.4892 GB / 0.7951 GB, free: 35.63 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.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_12_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_12_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.002124/0.002124, allocations: 64.66 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3554, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002363/0.3578, allocations: 0.8272 MB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.359, allocations: 0.8743 MB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.485e-05/0.3591, allocations: 4 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.3591, allocations: 11.86 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.401e-05/0.3592, allocations: 19.81 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.487e-05/0.3593, allocations: 35.95 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.3595, allocations: 111.8 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.3596, allocations: 41.19 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3597, allocations: 55.72 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.543e-05/0.3598, allocations: 43.77 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.3598, allocations: 8 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.925e-05/0.3599, allocations: 12 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/0.3599, allocations: 27.92 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.3599, allocations: 39.8 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.3602, allocations: 135.4 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3602, allocations: 0 / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3602, allocations: 4 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.3602, allocations: 0 / 1.329 GB, free: 15.62 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006958/0.3609, allocations: 354 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3609, allocations: 8.031 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.3609, allocations: 16.89 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.3612, allocations: 142.5 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.3612, allocations: 8.562 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.3612, allocations: 16.31 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.3616, allocations: 121.7 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.3616, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.3616, allocations: 4 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.3616, allocations: 4 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.3621, allocations: 131.8 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006099/0.3627, allocations: 320.3 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.3631, allocations: 102.6 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.3633, allocations: 64.78 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.3633, allocations: 4 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.3634, allocations: 38.55 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.3634, allocations: 3.938 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0007607/0.3641, allocations: 205.5 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.3642, allocations: 51.41 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.3643, allocations: 132.4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.3643, allocations: 25.7 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.291e-05/0.3644, allocations: 120.1 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.3644, allocations: 23.75 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.3645, allocations: 25.7 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3647, allocations: 318.8 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.3649, allocations: 55.94 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.3651, allocations: 77.53 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.3655, allocations: 117.6 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3655, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004898/0.366, allocations: 165.5 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.366, allocations: 4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.366, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3661, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.3662, allocations: 35.97 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3662, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.3663, allocations: 24 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.3664, allocations: 3.938 kB / 1.331 GB, free: 12.77 MB / 1.029 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.0001151/0.3665, allocations: 122.3 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.3665, allocations: 7.953 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.3665, allocations: 16.7 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3665, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3666, allocations: 3.938 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3666, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.3667, allocations: 153.2 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3667, allocations: 4 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.3669, allocations: 27.97 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3669, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3669, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3669, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3669, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/0.3675, allocations: 255.3 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.3675, allocations: 11.89 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.3675, allocations: 11.98 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.3676, allocations: 11.98 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.3677, allocations: 11.98 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.3677, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.515e-05/0.3678, allocations: 99.25 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3678, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002312/0.368, allocations: 24 kB / 1.332 GB, free: 11.96 MB / 1.029 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.0001312/0.3681, allocations: 103.2 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005028/0.3686, allocations: 123.8 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3686, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.3689, allocations: 67.98 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.3692, allocations: 20.98 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.3698, allocations: 239.9 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.434e-05/0.3699, allocations: 89.12 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.3699, allocations: 15.38 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3699, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of Templates: time 0.00329/0.3732, allocations: 1.337 MB / 1.334 GB, free: 9.93 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.133651061914861]