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.PIIntegralTime.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.0008036/0.0008036, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001/0.001804, 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.0007095/0.0007095, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008234/0.001533, 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 0.9701/0.9701, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1033/1.073, allocations: 53.66 MB / 243.2 MB, free: 15.61 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.505/2.505, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.279/2.784, allocations: 145.9 MB / 0.817 GB, free: 4.223 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.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.488e-05, allocations: 4.562 kB / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002448/0.002483, allocations: 0.9697 MB / 0.8192 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.003767, allocations: 0.9286 MB / 0.8201 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.798e-05/0.003845, allocations: 4 kB / 0.8201 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.209e-05/0.003907, allocations: 23.73 kB / 0.8202 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.949e-05/0.003997, allocations: 19.8 kB / 0.8202 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000108/0.004105, allocations: 51.94 kB / 0.8202 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.004285, allocations: 152.2 kB / 0.8204 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.004485, allocations: 70.52 kB / 0.8204 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.004662, allocations: 99.78 kB / 0.8205 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.823e-05/0.00475, allocations: 47.81 kB / 0.8206 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.00479, allocations: 20 kB / 0.8206 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 2.08e-05/0.004811, allocations: 16 kB / 0.8206 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.126e-05/0.004852, allocations: 27.94 kB / 0.8206 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 5.433e-05/0.004906, allocations: 35.94 kB / 0.8207 GB, free: 460 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.005071, allocations: 99.48 kB / 0.8208 GB, free: 360 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.781e-05/0.005089, allocations: 0 / 0.8208 GB, free: 360 kB / 0.7917 GB Notification: Performance of FrontEnd: time 8.12e-07/0.00509, allocations: 0 / 0.8208 GB, free: 360 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.111e-05/0.005111, allocations: 4 kB / 0.8208 GB, free: 356 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006131/0.005724, allocations: 360.1 kB / 0.8211 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.005775, allocations: 12.62 kB / 0.8211 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.005825, allocations: 20.88 kB / 0.8212 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.006023, allocations: 153.5 kB / 0.8213 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.00604, allocations: 8.375 kB / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.006064, allocations: 16.38 kB / 0.8213 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.006305, allocations: 130.3 kB / 0.8214 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.006315, allocations: 192 / 0.8214 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.006333, allocations: 8.375 kB / 0.8215 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.006341, allocations: 4.375 kB / 0.8215 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.75e-05/0.006419, allocations: 35.86 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.006901, allocations: 319.7 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.007107, allocations: 91.28 kB / 0.8219 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.986e-05/0.007147, allocations: 36.83 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.007159, allocations: 4 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.007182, allocations: 34.56 kB / 0.822 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.007183, allocations: 0 / 0.822 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0001438/0.007327, allocations: 96.67 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.007362, allocations: 55.39 kB / 0.8221 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.495e-05/0.007417, allocations: 118.7 kB / 0.8222 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.007429, allocations: 33.7 kB / 0.8222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.007469, allocations: 112.4 kB / 0.8224 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.007505, allocations: 55.52 kB / 0.8224 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.007539, allocations: 25.7 kB / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.792e-05/0.007627, allocations: 322.8 kB / 0.8227 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.007646, allocations: 11.98 kB / 0.8228 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.797e-05/0.007664, allocations: 12.25 kB / 0.8228 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.00771, allocations: 44.81 kB / 0.8228 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007712, allocations: 0 / 0.8228 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.336e-05/0.007785, allocations: 80.11 kB / 0.8229 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.007797, allocations: 4 kB / 0.8229 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.007802, allocations: 4 kB / 0.8229 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.007812, allocations: 7.938 kB / 0.8229 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.007927, allocations: 35.97 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.00793, allocations: 0 / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.007957, allocations: 4 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.007963, allocations: 4 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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 6.078e-05/0.008024, allocations: 117.7 kB / 0.8231 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.008045, allocations: 15.98 kB / 0.8231 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.008071, allocations: 16.44 kB / 0.8231 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.008076, allocations: 7.938 kB / 0.8231 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.008078, allocations: 0 / 0.8231 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.008083, allocations: 7.922 kB / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.008199, allocations: 105.8 kB / 0.8232 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.008203, allocations: 7.969 kB / 0.8232 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.838e-05/0.008281, allocations: 35.98 kB / 0.8232 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.008292, allocations: 15.88 kB / 0.8233 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.008293, allocations: 0 / 0.8233 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.008298, allocations: 0 / 0.8233 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.0083, allocations: 8 kB / 0.8233 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.008303, allocations: 3.938 kB / 0.8233 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.008417, allocations: 175.5 kB / 0.8234 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.008428, allocations: 4 kB / 0.8234 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.033e-05/0.008469, allocations: 11.98 kB / 0.8235 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.008518, allocations: 11.98 kB / 0.8235 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.008523, allocations: 3.938 kB / 0.8235 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.797e-05/0.008541, allocations: 20.83 kB / 0.8235 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008541, allocations: 0 / 0.8235 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001326/0.008673, allocations: 27.95 kB / 0.8235 GB, free: 13.34 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 (14): * Single equations (assignments): 14 * 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 8.336e-05/0.008757, allocations: 88.36 kB / 0.8236 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.27e-05/0.008849, allocations: 48.84 kB / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.008858, allocations: 4 kB / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.667e-05/0.008895, allocations: 36.03 kB / 0.8237 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.009078, allocations: 27.98 kB / 0.8237 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005432/0.009621, allocations: 289 kB / 0.824 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.22e-05/0.009663, allocations: 67.34 kB / 0.824 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.198e-05/0.009705, allocations: 8.484 kB / 0.8241 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.852e-05/0.009774, allocations: 67.38 kB / 0.8241 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.009775, allocations: 0 / 0.8241 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of Templates: time 0.002858/0.01263, allocations: 1.226 MB / 0.8253 GB, free: 11.5 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.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.5350052844733]