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.001424/0.001424, allocations: 78.8 kB / 19.76 MB, free: 2.035 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.001686/0.001686, allocations: 159.2 kB / 23.01 MB, free: 4.945 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.7/1.7, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.911/2.911, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 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.00212/0.00212, allocations: 63.91 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9935/0.9956, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.00294/0.9985, allocations: 0.8291 MB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.9997, allocations: 0.8726 MB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.657e-05/0.9998, allocations: 1.656 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.123e-05/0.9998, allocations: 10.91 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.9999, allocations: 19.95 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 9.07e-05/1, allocations: 34.53 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001784/1, allocations: 113.2 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/1, allocations: 39.08 kB / 1.189 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/1, allocations: 54.12 kB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/1.001, allocations: 50.88 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/1.001, allocations: 11.56 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 2.293e-05/1.001, allocations: 14.16 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/1.001, allocations: 23.14 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/1.001, allocations: 38.78 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/1.001, allocations: 142.6 kB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.001, allocations: 0 / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.094e-06/1.001, allocations: 1.281 kB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.392e-06/1.001, allocations: 0 / 1.189 GB, free: 14.76 MB / 1.076 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.0006736/1.002, allocations: 359 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.002, allocations: 9.625 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/1.002, allocations: 14.91 kB / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/1.002, allocations: 138 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/1.002, allocations: 7.203 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/1.002, allocations: 10.44 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/1.002, allocations: 135 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.002, allocations: 1.375 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/1.002, allocations: 4.656 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.002, allocations: 2.625 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/1.003, allocations: 120.2 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/1.003, allocations: 323.7 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/1.004, allocations: 101.5 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/1.004, allocations: 68.69 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/1.004, allocations: 1.828 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/1.004, allocations: 32.62 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/1.004, allocations: 0 / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0007934/1.005, allocations: 205.1 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/1.005, allocations: 53.02 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.207e-05/1.005, allocations: 127.2 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/1.005, allocations: 27.02 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/1.005, allocations: 109.5 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/1.005, allocations: 28.55 kB / 1.191 GB, free: 13.43 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/1.005, allocations: 29.47 kB / 1.191 GB, free: 13.41 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.271e-05/1.005, allocations: 327.5 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/1.005, allocations: 57.83 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/1.006, allocations: 65.39 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/1.006, allocations: 127.4 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.006, allocations: 1.219 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005004/1.007, allocations: 156.6 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.007, allocations: 5.734 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.007, allocations: 5.156 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/1.007, allocations: 4.031 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/1.007, allocations: 30.64 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/1.007, allocations: 5.312 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/1.007, allocations: 21.69 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/1.007, allocations: 10.44 kB / 1.191 GB, free: 12.92 MB / 1.076 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 9.404e-05/1.007, allocations: 115.8 kB / 1.192 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/1.007, allocations: 8.406 kB / 1.192 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/1.007, allocations: 19.02 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.007, allocations: 1.188 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.007, allocations: 0.6094 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/1.007, allocations: 1.859 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/1.007, allocations: 143 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.007, allocations: 0 / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/1.008, allocations: 29 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/1.008, allocations: 1.5 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/1.008, allocations: 0 / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.008, allocations: 1.891 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.008, allocations: 4.703 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005897/1.008, allocations: 263.1 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/1.008, allocations: 10.98 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/1.008, allocations: 1.188 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/1.008, allocations: 25.39 kB / 1.192 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/1.008, allocations: 6.531 kB / 1.192 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/1.008, allocations: 2.375 kB / 1.192 GB, free: 12.45 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.174e-05/1.008, allocations: 102.6 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.008, allocations: 0 / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002402/1.009, allocations: 16.61 kB / 1.192 GB, free: 12.36 MB / 1.076 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.0001286/1.009, allocations: 107.2 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000592/1.009, allocations: 126.1 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.009, allocations: 1.281 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000264/1.01, allocations: 62.47 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/1.01, allocations: 19.95 kB / 1.192 GB, free: 12.22 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/1.011, allocations: 212.4 kB / 1.193 GB, free: 12.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.895e-05/1.011, allocations: 83.42 kB / 1.193 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.669e-05/1.011, allocations: 13.19 kB / 1.193 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/1.011, allocations: 13.22 kB / 1.193 GB, free: 11.97 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/1.011, allocations: 3.938 kB / 1.193 GB, free: 11.96 MB / 1.076 GB Notification: Performance of Templates: time 0.005035/1.016, allocations: 1.284 MB / 1.194 GB, free: 11.84 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.540931065916084]