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.PIGain.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.0008276/0.0008276, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001163/0.001991, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007357/0.0007357, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009673/0.001703, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.058/1.058, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1222/1.18, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.566/2.566, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2806/2.847, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.097e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001943/0.001974, allocations: 1.015 MB / 0.8193 GB, free: 1.902 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.003237, allocations: 0.9364 MB / 0.8202 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.528e-05/0.003313, allocations: 4 kB / 0.8202 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.995e-05/0.003362, allocations: 15.8 kB / 0.8202 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.975e-05/0.003442, allocations: 19.73 kB / 0.8202 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.953e-05/0.003542, allocations: 55.94 kB / 0.8203 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.003709, allocations: 168.1 kB / 0.8204 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.003886, allocations: 82.17 kB / 0.8205 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.004047, allocations: 111.7 kB / 0.8206 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.03e-05/0.004117, allocations: 47.81 kB / 0.8207 GB, free: 472 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.00415, allocations: 20 kB / 0.8207 GB, free: 452 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.665e-05/0.004166, allocations: 16 kB / 0.8207 GB, free: 436 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.004193, allocations: 27.94 kB / 0.8207 GB, free: 408 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.004238, allocations: 39.88 kB / 0.8208 GB, free: 368 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.004391, allocations: 103.5 kB / 0.8209 GB, free: 264 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.7e-05/0.004408, allocations: 0 / 0.8209 GB, free: 264 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.583e-06/0.00441, allocations: 0 / 0.8209 GB, free: 264 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.004424, allocations: 0 / 0.8209 GB, free: 264 kB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005659/0.004989, allocations: 400.2 kB / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.005032, allocations: 8.625 kB / 0.8213 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.005073, allocations: 24.92 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.005221, allocations: 132.6 kB / 0.8214 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.005233, allocations: 16.7 kB / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.005249, allocations: 16.38 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.005447, allocations: 137.5 kB / 0.8216 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.005455, allocations: 4.188 kB / 0.8216 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.005466, allocations: 8.312 kB / 0.8216 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.005472, allocations: 4.375 kB / 0.8216 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.053e-05/0.005533, allocations: 44.45 kB / 0.8216 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.00598, allocations: 319.7 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.006089, allocations: 70.53 kB / 0.822 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.006127, allocations: 36.84 kB / 0.822 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.006139, allocations: 4 kB / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.006161, allocations: 30.56 kB / 0.8221 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 2.023e-06/0.006163, allocations: 0 / 0.8221 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.000168/0.006331, allocations: 89.55 kB / 0.8222 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.006367, allocations: 55.41 kB / 0.8222 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.895e-05/0.006446, allocations: 126.7 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.00646, allocations: 29.7 kB / 0.8224 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.006525, allocations: 128.3 kB / 0.8225 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.006555, allocations: 51.56 kB / 0.8225 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.006596, allocations: 25.67 kB / 0.8226 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.006693, allocations: 334.8 kB / 0.8229 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.006716, allocations: 8 kB / 0.8229 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/0.006751, allocations: 32.81 kB / 0.8229 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.95e-05/0.00682, allocations: 70.47 kB / 0.823 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.006824, allocations: 4 kB / 0.823 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001096/0.006933, allocations: 81.59 kB / 0.8231 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.006953, allocations: 7.938 kB / 0.8231 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.006959, allocations: 0 / 0.8231 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.00697, allocations: 12 kB / 0.8231 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.007091, allocations: 31.98 kB / 0.8231 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.007095, allocations: 3.938 kB / 0.8231 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/0.00714, allocations: 15.98 kB / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.007147, allocations: 4 kB / 0.8231 GB, free: 13.77 MB / 0.8073 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 (15): * Single equations (assignments): 15 * 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 7.413e-05/0.007221, allocations: 113.8 kB / 0.8232 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.007244, allocations: 15.98 kB / 0.8233 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.007275, allocations: 16.72 kB / 0.8233 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.007279, allocations: 4 kB / 0.8233 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.007281, allocations: 4 kB / 0.8233 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.007285, allocations: 0 / 0.8233 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.007449, allocations: 113.8 kB / 0.8234 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007451, allocations: 0 / 0.8234 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-05/0.007528, allocations: 31.92 kB / 0.8234 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.00754, allocations: 11.94 kB / 0.8234 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.007543, allocations: 0 / 0.8234 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.007551, allocations: 7.938 kB / 0.8234 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.007554, allocations: 4 kB / 0.8234 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.007556, allocations: 0 / 0.8234 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.007707, allocations: 167.5 kB / 0.8236 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.007722, allocations: 4 kB / 0.8236 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.261e-05/0.007775, allocations: 11.98 kB / 0.8236 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.007826, allocations: 19.91 kB / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.00783, allocations: 0 / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.959e-05/0.00786, allocations: 32.77 kB / 0.8237 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.00786, allocations: 0 / 0.8237 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001487/0.008009, allocations: 23.95 kB / 0.8237 GB, free: 13.15 MB / 0.8073 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 (13): * Single equations (assignments): 13 * 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.0001238/0.008133, allocations: 88.36 kB / 0.8238 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.00824, allocations: 52.78 kB / 0.8238 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.008252, allocations: 4 kB / 0.8238 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.849e-05/0.008291, allocations: 40.77 kB / 0.8239 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.008485, allocations: 35.83 kB / 0.8239 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006506/0.009136, allocations: 289.2 kB / 0.8242 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.378e-05/0.00918, allocations: 67.33 kB / 0.8242 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.005e-05/0.00923, allocations: 12.44 kB / 0.8243 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/0.009308, allocations: 75.36 kB / 0.8243 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of SimCode: time 1.393e-06/0.009309, allocations: 0 / 0.8243 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of Templates: time 0.003588/0.0129, allocations: 1.428 MB / 0.8257 GB, free: 11.09 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.799021448008716]