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.002006/0.002006, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.002742/0.002742, allocations: 158.2 kB / 23.01 MB, free: 4.961 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.452/1.452, allocations: 177.2 MB / 203.4 MB, free: 8.938 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.966/2.966, allocations: 394.2 MB / 0.6386 GB, free: 11.91 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.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.002137/0.002137, allocations: 67.89 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 181.8 MB / 1.187 GB, free: 16.25 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.003239/1.059, allocations: 1.217 MB / 1.188 GB, free: 15.46 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001481/1.06, allocations: 1.026 MB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/1.06, allocations: 4.156 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 7.764e-05/1.061, allocations: 31.03 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000148/1.061, allocations: 30.75 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/1.061, allocations: 118.7 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003668/1.061, allocations: 352 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003364/1.062, allocations: 160.9 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/1.062, allocations: 133.1 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/1.062, allocations: 119.6 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.496e-05/1.062, allocations: 45.47 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.868e-05/1.062, allocations: 48.84 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.968e-05/1.062, allocations: 80.11 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/1.062, allocations: 121.5 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007166/1.063, allocations: 0.5413 MB / 1.191 GB, free: 13.79 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.063, allocations: 0 / 1.191 GB, free: 13.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.084e-06/1.063, allocations: 5.438 kB / 1.191 GB, free: 13.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.696e-06/1.063, allocations: 0 / 1.191 GB, free: 13.79 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009267/1.064, allocations: 0.4999 MB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.064, allocations: 8.812 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.466e-05/1.064, allocations: 32.59 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/1.064, allocations: 215.3 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/1.064, allocations: 21.84 kB / 1.191 GB, free: 13.17 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/1.064, allocations: 36.44 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007298/1.065, allocations: 308.9 kB / 1.192 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/1.065, allocations: 192 / 1.192 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/1.065, allocations: 18.38 kB / 1.192 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/1.065, allocations: 7.656 kB / 1.192 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008203/1.066, allocations: 285.6 kB / 1.192 GB, free: 12.92 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/1.067, allocations: 0.6888 MB / 1.193 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006336/1.068, allocations: 262.8 kB / 1.193 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/1.068, allocations: 130.3 kB / 1.193 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/1.068, allocations: 3.344 kB / 1.193 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/1.068, allocations: 41.36 kB / 1.193 GB, free: 12.25 MB / 1.076 GB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/1.068, allocations: 3.938 kB / 1.193 GB, free: 12.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=25): time 0.001017/1.069, allocations: 367.8 kB / 1.193 GB, free: 12.11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/1.069, allocations: 55.5 kB / 1.193 GB, free: 12.05 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/1.069, allocations: 142.6 kB / 1.194 GB, free: 11.93 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/1.069, allocations: 35.48 kB / 1.194 GB, free: 11.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.488e-05/1.069, allocations: 166.1 kB / 1.194 GB, free: 11.75 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.349e-05/1.07, allocations: 88.64 kB / 1.194 GB, free: 11.68 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/1.07, allocations: 39.02 kB / 1.194 GB, free: 11.65 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.03e-05/1.07, allocations: 326.9 kB / 1.194 GB, free: 11.33 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/1.07, allocations: 94.12 kB / 1.194 GB, free: 11.31 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/1.07, allocations: 131.7 kB / 1.194 GB, free: 11.25 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006095/1.071, allocations: 234.7 kB / 1.195 GB, free: 11.15 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.071, allocations: 0 / 1.195 GB, free: 11.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006938/1.072, allocations: 283 kB / 1.195 GB, free: 11.04 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.072, allocations: 6.859 kB / 1.195 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.072, allocations: 1.094 kB / 1.195 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/1.072, allocations: 2.188 kB / 1.195 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/1.072, allocations: 67.11 kB / 1.195 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/1.072, allocations: 1.75 kB / 1.195 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/1.072, allocations: 40.38 kB / 1.195 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/1.072, allocations: 8.719 kB / 1.195 GB, free: 11.01 MB / 1.076 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.0001129/1.072, allocations: 144.7 kB / 1.195 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/1.072, allocations: 18.66 kB / 1.195 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/1.072, allocations: 25.66 kB / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.072, allocations: 2.344 kB / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.072, allocations: 1.094 kB / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/1.072, allocations: 9.719 kB / 1.195 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/1.073, allocations: 243.7 kB / 1.195 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.073, allocations: 0 / 1.195 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/1.073, allocations: 55.97 kB / 1.195 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/1.073, allocations: 1.062 kB / 1.195 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/1.073, allocations: 5.734 kB / 1.195 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/1.073, allocations: 1.219 kB / 1.195 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.073, allocations: 3.938 kB / 1.195 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007025/1.074, allocations: 375.4 kB / 1.196 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.386e-05/1.074, allocations: 19 kB / 1.196 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/1.074, allocations: 9.906 kB / 1.196 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/1.074, allocations: 21.31 kB / 1.196 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/1.074, allocations: 18.38 kB / 1.196 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/1.074, allocations: 9.188 kB / 1.196 GB, free: 10.38 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.923e-05/1.074, allocations: 110.5 kB / 1.196 GB, free: 10.3 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.074, allocations: 0 / 1.196 GB, free: 10.3 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003148/1.074, allocations: 60.66 kB / 1.196 GB, free: 10.27 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 (25): * Single equations (assignments): 25 * 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.0001186/1.074, allocations: 107.1 kB / 1.196 GB, free: 10.18 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006913/1.075, allocations: 229.4 kB / 1.196 GB, free: 10.12 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.075, allocations: 0 / 1.196 GB, free: 10.12 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003232/1.075, allocations: 123.7 kB / 1.197 GB, free: 10.09 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/1.076, allocations: 26.88 kB / 1.197 GB, free: 10.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009776/1.077, allocations: 467.4 kB / 1.197 GB, free: 9.781 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/1.077, allocations: 150.3 kB / 1.197 GB, free: 9.695 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.644e-05/1.077, allocations: 17.38 kB / 1.197 GB, free: 9.688 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/1.077, allocations: 20.09 kB / 1.197 GB, free: 9.676 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/1.077, allocations: 0 / 1.197 GB, free: 9.676 MB / 1.076 GB Notification: Performance of Templates: time 0.006491/1.084, allocations: 1.813 MB / 1.199 GB, free: 9.457 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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.419906912953593]