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.0007344/0.0007344, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001124/0.001859, 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.00069/0.00069, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000958/0.001648, 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.009/1.009, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1289/1.138, allocations: 53.67 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.474/2.474, allocations: 447.1 MB / 0.675 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2853/2.759, allocations: 146 MB / 0.8176 GB, free: 3.836 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.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: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 0.8189 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.77e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.003181/0.003209, allocations: 1.3 MB / 0.8202 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.004978, allocations: 1.073 MB / 0.8212 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.005188, allocations: 4 kB / 0.8212 GB, free: 136 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.005288, allocations: 31.59 kB / 0.8213 GB, free: 104 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.005464, allocations: 35.59 kB / 0.8213 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.005705, allocations: 116 kB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.006103, allocations: 348.2 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003299/0.006433, allocations: 166.5 kB / 0.8219 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.006787, allocations: 219.6 kB / 0.8221 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.006927, allocations: 99.69 kB / 0.8222 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.777e-05/0.006994, allocations: 44 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.323e-05/0.007038, allocations: 44 kB / 0.8223 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.656e-05/0.007104, allocations: 63.81 kB / 0.8223 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.184e-05/0.007196, allocations: 79.81 kB / 0.8224 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.007515, allocations: 215.2 kB / 0.8226 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-05/0.007535, allocations: 0 / 0.8226 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.663e-06/0.007537, allocations: 0 / 0.8226 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.007555, allocations: 0 / 0.8226 GB, free: 14.7 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008055/0.008361, allocations: 0.5117 MB / 0.8231 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.008405, allocations: 11.97 kB / 0.8231 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.577e-05/0.00849, allocations: 44.91 kB / 0.8232 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.008763, allocations: 185.2 kB / 0.8234 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.00879, allocations: 25.03 kB / 0.8234 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.00883, allocations: 28.38 kB / 0.8234 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.009219, allocations: 211.3 kB / 0.8236 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.009233, allocations: 192 / 0.8236 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.009256, allocations: 16.38 kB / 0.8236 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.009269, allocations: 8.375 kB / 0.8236 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.009416, allocations: 72.5 kB / 0.8237 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009543/0.01037, allocations: 0.5476 MB / 0.8242 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.01071, allocations: 154.4 kB / 0.8244 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.666e-05/0.0108, allocations: 56.78 kB / 0.8244 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.01082, allocations: 4 kB / 0.8244 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.01085, allocations: 34.56 kB / 0.8245 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 2.024e-06/0.01085, allocations: 0 / 0.8245 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.000276/0.01112, allocations: 136.2 kB / 0.8246 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.01116, allocations: 51.41 kB / 0.8247 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.01127, allocations: 149.2 kB / 0.8248 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.01129, allocations: 25.7 kB / 0.8248 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.427e-05/0.01138, allocations: 168.5 kB / 0.825 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/0.01145, allocations: 87.22 kB / 0.8251 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.207e-05/0.01152, allocations: 45.92 kB / 0.8251 GB, free: 12 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.01163, allocations: 330.7 kB / 0.8254 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/0.01167, allocations: 20.45 kB / 0.8254 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.828e-05/0.01174, allocations: 50.3 kB / 0.8255 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.01188, allocations: 97.44 kB / 0.8256 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.01188, allocations: 0 / 0.8256 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001819/0.01206, allocations: 117.5 kB / 0.8257 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.01208, allocations: 12.06 kB / 0.8257 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01209, allocations: 0 / 0.8257 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.0121, allocations: 0 / 0.8257 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.01235, allocations: 63.97 kB / 0.8258 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.01236, allocations: 0 / 0.8258 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.862e-05/0.01244, allocations: 27.88 kB / 0.8258 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.01245, allocations: 4 kB / 0.8258 GB, free: 11.27 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 (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 9.75e-05/0.01255, allocations: 125.7 kB / 0.8259 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.01259, allocations: 19.98 kB / 0.8259 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.01263, allocations: 29.28 kB / 0.826 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.01263, allocations: 0 / 0.826 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01264, allocations: 0 / 0.826 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.01264, allocations: 3.984 kB / 0.826 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.01289, allocations: 173.6 kB / 0.8261 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01289, allocations: 0 / 0.8261 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.0131, allocations: 63.84 kB / 0.8262 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.01311, allocations: 11.89 kB / 0.8262 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.01312, allocations: 4 kB / 0.8262 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.01313, allocations: 8 kB / 0.8262 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01313, allocations: 0 / 0.8262 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01313, allocations: 0 / 0.8262 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.01336, allocations: 221.9 kB / 0.8264 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.01338, allocations: 7.984 kB / 0.8264 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.652e-05/0.01348, allocations: 12 kB / 0.8265 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.01354, allocations: 23.95 kB / 0.8265 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.01354, allocations: 4 kB / 0.8265 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.841e-05/0.01358, allocations: 32.78 kB / 0.8265 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01358, allocations: 0 / 0.8265 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002664/0.01385, allocations: 59.78 kB / 0.8266 GB, free: 10.44 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 (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.0001435/0.01399, allocations: 86.42 kB / 0.8267 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001921/0.01419, allocations: 108 kB / 0.8268 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/0.0142, allocations: 4 kB / 0.8268 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.01432, allocations: 72.72 kB / 0.8268 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.01466, allocations: 125.3 kB / 0.8269 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.01566, allocations: 481.3 kB / 0.8274 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.679e-05/0.01573, allocations: 87.97 kB / 0.8275 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.875e-05/0.01583, allocations: 21.47 kB / 0.8275 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.01595, allocations: 75.36 kB / 0.8276 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of SimCode: time 1.393e-06/0.01595, allocations: 0 / 0.8276 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of Templates: time 0.005471/0.02142, allocations: 1.877 MB / 0.8294 GB, free: 7.512 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.489611309021711]