Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.0009255/0.0009255, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001245/0.002171, allocations: 440 kB / 10.41 MB, free: 284 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.0007345/0.0007345, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009922/0.001727, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.114/1.114, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1104/1.224, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.468/2.468, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2796/2.747, allocations: 146 MB / 0.8176 GB, free: 3.824 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.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.382e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.00249/0.002514, allocations: 1.23 MB / 0.8201 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.003789, allocations: 1.034 MB / 0.8211 GB, free: 248 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.003894, allocations: 4 kB / 0.8211 GB, free: 244 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.515e-05/0.00396, allocations: 23.67 kB / 0.8211 GB, free: 220 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.004072, allocations: 39.59 kB / 0.8212 GB, free: 180 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.004211, allocations: 99.89 kB / 0.8213 GB, free: 80 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.00452, allocations: 299.4 kB / 0.8216 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.004763, allocations: 145.9 kB / 0.8217 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.004997, allocations: 203.5 kB / 0.8219 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.005125, allocations: 79.77 kB / 0.822 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.005173, allocations: 32 kB / 0.822 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.63e-05/0.005209, allocations: 36 kB / 0.822 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.005259, allocations: 51.81 kB / 0.8221 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.747e-05/0.005327, allocations: 67.88 kB / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.005573, allocations: 179.3 kB / 0.8223 GB, free: 15 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.005588, allocations: 0 / 0.8223 GB, free: 15 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005589, allocations: 0 / 0.8223 GB, free: 15 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.005603, allocations: 7.875 kB / 0.8223 GB, free: 15 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006512/0.006255, allocations: 488.1 kB / 0.8228 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.006293, allocations: 8.031 kB / 0.8228 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.006415, allocations: 40.91 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.006626, allocations: 172 kB / 0.823 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.00665, allocations: 21.03 kB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.006683, allocations: 24.38 kB / 0.823 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.006978, allocations: 195.2 kB / 0.8232 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.006993, allocations: 192 / 0.8232 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.007011, allocations: 8.375 kB / 0.8232 GB, free: 14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.007018, allocations: 8.375 kB / 0.8232 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.974e-05/0.007098, allocations: 60.5 kB / 0.8233 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.007648, allocations: 472.5 kB / 0.8238 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.007853, allocations: 130.4 kB / 0.8239 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.007897, allocations: 32.86 kB / 0.8239 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.007911, allocations: 4 kB / 0.8239 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.007935, allocations: 38.55 kB / 0.8239 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.007937, allocations: 0 / 0.8239 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0001758/0.008113, allocations: 113.9 kB / 0.8241 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.008141, allocations: 59.34 kB / 0.8241 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.672e-05/0.008218, allocations: 140.8 kB / 0.8242 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.008232, allocations: 33.7 kB / 0.8243 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.008295, allocations: 148.6 kB / 0.8244 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.008333, allocations: 67.42 kB / 0.8245 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.008374, allocations: 33.69 kB / 0.8245 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002893/0.008663, allocations: 326.8 kB / 0.8248 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.664e-05/0.00869, allocations: 16 kB / 0.8248 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.642e-05/0.008726, allocations: 33.69 kB / 0.8249 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.154e-05/0.008798, allocations: 75.62 kB / 0.8249 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.0088, allocations: 0 / 0.8249 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001062/0.008906, allocations: 104 kB / 0.825 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.008921, allocations: 4 kB / 0.8251 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.008926, allocations: 4 kB / 0.8251 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.008937, allocations: 3.938 kB / 0.8251 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.009097, allocations: 51.91 kB / 0.8251 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.009101, allocations: 4 kB / 0.8251 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.009143, allocations: 23.92 kB / 0.8251 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.00915, allocations: 7.984 kB / 0.8251 GB, free: 11.94 MB / 0.8073 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 (21): * Single equations (assignments): 21 * 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.46e-05/0.009225, allocations: 129.7 kB / 0.8253 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.009246, allocations: 8 kB / 0.8253 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.00928, allocations: 29.09 kB / 0.8253 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.009283, allocations: 0 / 0.8253 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.009284, allocations: 0 / 0.8253 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.009288, allocations: 0 / 0.8253 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.009437, allocations: 145.7 kB / 0.8254 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.009439, allocations: 0 / 0.8254 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.009558, allocations: 59.91 kB / 0.8255 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.009572, allocations: 19.83 kB / 0.8255 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.009574, allocations: 0 / 0.8255 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.009581, allocations: 0 / 0.8255 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.009584, allocations: 4 kB / 0.8255 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.009586, allocations: 0 / 0.8255 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.009723, allocations: 199.3 kB / 0.8257 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.009736, allocations: 7.984 kB / 0.8257 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.131e-05/0.009787, allocations: 8 kB / 0.8257 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.009831, allocations: 23.97 kB / 0.8257 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.009839, allocations: 4 kB / 0.8258 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.74e-05/0.009866, allocations: 31.25 kB / 0.8258 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.41e-07/0.009866, allocations: 0 / 0.8258 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001442/0.01001, allocations: 47.89 kB / 0.8258 GB, free: 11.19 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 (20): * Single equations (assignments): 20 * 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.0001148/0.01013, allocations: 84.36 kB / 0.8259 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.01026, allocations: 83.28 kB / 0.826 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.01027, allocations: 4 kB / 0.826 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.33e-05/0.01033, allocations: 60.88 kB / 0.826 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.01059, allocations: 136.9 kB / 0.8262 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006848/0.01128, allocations: 434.9 kB / 0.8266 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.841e-05/0.01132, allocations: 83.73 kB / 0.8267 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.705e-05/0.01138, allocations: 17.48 kB / 0.8267 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.667e-05/0.01147, allocations: 75.36 kB / 0.8268 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.01147, allocations: 0 / 0.8268 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of Templates: time 0.003808/0.01528, allocations: 1.774 MB / 0.8285 GB, free: 8.453 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.42202274594456]