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.001295/0.001295, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001827/0.003122, 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.0007829/0.0007829, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001111/0.001894, 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 0.9961/0.9961, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1188/1.115, 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.456/2.456, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2205/2.677, allocations: 146 MB / 0.8176 GB, free: 3.816 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 1.854e-06/1.854e-06, allocations: 0 / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.211e-05, allocations: 8.922 kB / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002444/0.002466, allocations: 0.9816 MB / 0.8199 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.003509, allocations: 0.9286 MB / 0.8208 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.857e-05/0.003568, allocations: 4 kB / 0.8208 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.663e-05/0.003614, allocations: 19.73 kB / 0.8208 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.00368, allocations: 15.81 kB / 0.8208 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.971e-05/0.00377, allocations: 51.92 kB / 0.8209 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.003929, allocations: 148.2 kB / 0.821 GB, free: 348 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.004084, allocations: 78.5 kB / 0.8211 GB, free: 268 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.004228, allocations: 99.78 kB / 0.8212 GB, free: 168 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/0.004294, allocations: 47.81 kB / 0.8212 GB, free: 120 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.004327, allocations: 16 kB / 0.8212 GB, free: 104 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.984e-05/0.004347, allocations: 20 kB / 0.8213 GB, free: 84 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.04e-05/0.004378, allocations: 27.94 kB / 0.8213 GB, free: 56 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.004421, allocations: 39.88 kB / 0.8213 GB, free: 16 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.004582, allocations: 99.55 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.004593, allocations: 0 / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004594, allocations: 0 / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.004608, allocations: 0 / 0.8214 GB, free: 15.92 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005151/0.005123, allocations: 364 kB / 0.8218 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.005155, allocations: 8.031 kB / 0.8218 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.005204, allocations: 28.92 kB / 0.8218 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.005363, allocations: 141.5 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.005378, allocations: 12.38 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.0054, allocations: 12.38 kB / 0.822 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.00561, allocations: 130.6 kB / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.005619, allocations: 192 / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.005632, allocations: 4.375 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.00564, allocations: 4.375 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.241e-05/0.005712, allocations: 37.17 kB / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.006179, allocations: 319.7 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.006416, allocations: 94.53 kB / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.006467, allocations: 28.84 kB / 0.8225 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.006479, allocations: 0 / 0.8225 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.006507, allocations: 42.55 kB / 0.8226 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.006508, allocations: 0 / 0.8226 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.000186/0.006694, allocations: 85.55 kB / 0.8227 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.006727, allocations: 59.39 kB / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.006802, allocations: 123 kB / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.006816, allocations: 25.7 kB / 0.8229 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.006865, allocations: 116.4 kB / 0.823 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.006904, allocations: 47.53 kB / 0.823 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.00695, allocations: 33.69 kB / 0.8231 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.007046, allocations: 314.8 kB / 0.8234 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.823e-05/0.007074, allocations: 16.23 kB / 0.8234 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.007099, allocations: 14.88 kB / 0.8234 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.267e-05/0.007162, allocations: 44.81 kB / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.007164, allocations: 0 / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001054/0.007269, allocations: 73.61 kB / 0.8235 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.007284, allocations: 13.41 kB / 0.8235 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.007288, allocations: 0 / 0.8235 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.007303, allocations: 7.875 kB / 0.8235 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.00746, allocations: 35.97 kB / 0.8236 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.007465, allocations: 4 kB / 0.8236 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.00751, allocations: 8 kB / 0.8236 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.007516, allocations: 0 / 0.8236 GB, free: 13.56 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 7.688e-05/0.007593, allocations: 129.7 kB / 0.8237 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.007622, allocations: 12 kB / 0.8237 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.007655, allocations: 16.44 kB / 0.8237 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.007659, allocations: 3.938 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.007661, allocations: 0 / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.007666, allocations: 3.984 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.00783, allocations: 113.8 kB / 0.8238 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.007831, allocations: 0 / 0.8238 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.007959, allocations: 35.98 kB / 0.8239 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.007972, allocations: 11.88 kB / 0.8239 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.007976, allocations: 4 kB / 0.8239 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.007985, allocations: 8 kB / 0.8239 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007987, allocations: 0 / 0.8239 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.00799, allocations: 7.922 kB / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.008135, allocations: 180.2 kB / 0.8241 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.008149, allocations: 4 kB / 0.8241 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.00822, allocations: 7.984 kB / 0.8241 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.008262, allocations: 11.98 kB / 0.8241 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.008269, allocations: 7.938 kB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.292e-05/0.008292, allocations: 20.89 kB / 0.8241 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.008292, allocations: 0 / 0.8241 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002245/0.008516, allocations: 27.95 kB / 0.8241 GB, free: 12.91 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 9.756e-05/0.008614, allocations: 88.36 kB / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.008734, allocations: 60.02 kB / 0.8243 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.008744, allocations: 7.984 kB / 0.8243 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.311e-05/0.008807, allocations: 40.84 kB / 0.8243 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.009072, allocations: 79.39 kB / 0.8244 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.009671, allocations: 280.2 kB / 0.8247 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.414e-05/0.009725, allocations: 75.27 kB / 0.8248 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.379e-05/0.009779, allocations: 8.5 kB / 0.8248 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.943e-05/0.009869, allocations: 67.36 kB / 0.8248 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of SimCode: time 7.51e-07/0.009869, allocations: 3.938 kB / 0.8248 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of Templates: time 0.003653/0.01352, allocations: 1.225 MB / 0.826 GB, free: 10.98 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.272677001543343]