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.001818/0.001818, allocations: 116.6 kB / 17.13 MB, free: 6.027 MB / 14.72 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.002263/0.002263, allocations: 208.7 kB / 20.1 MB, free: 3.074 MB / 14.72 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.58/1.58, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.059/3.059, allocations: 0.505 GB / 0.8072 GB, free: 2.066 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 1.173 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.062, allocations: 180.2 MB / 1.349 GB, free: 5.391 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002399/1.065, allocations: 0.9749 MB / 1.35 GB, free: 4.742 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001235/1.066, allocations: 0.9075 MB / 1.351 GB, free: 4.051 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/1.066, allocations: 2.406 kB / 1.351 GB, free: 4.051 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.579e-05/1.066, allocations: 15.42 kB / 1.351 GB, free: 4.039 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/1.066, allocations: 15.86 kB / 1.351 GB, free: 4.027 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/1.066, allocations: 52 kB / 1.351 GB, free: 3.996 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001906/1.066, allocations: 155.1 kB / 1.351 GB, free: 3.914 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/1.067, allocations: 71.75 kB / 1.351 GB, free: 3.871 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/1.067, allocations: 67.84 kB / 1.351 GB, free: 3.832 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.167e-05/1.067, allocations: 62.66 kB / 1.351 GB, free: 3.797 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/1.067, allocations: 17.72 kB / 1.351 GB, free: 3.797 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.195e-05/1.067, allocations: 17.66 kB / 1.351 GB, free: 3.797 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.398e-05/1.067, allocations: 34.34 kB / 1.351 GB, free: 3.773 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.93e-05/1.067, allocations: 75.72 kB / 1.351 GB, free: 3.719 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/1.067, allocations: 210.4 kB / 1.352 GB, free: 3.645 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.067, allocations: 1 kB / 1.352 GB, free: 3.645 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.884e-06/1.067, allocations: 0 / 1.352 GB, free: 3.645 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.153e-06/1.067, allocations: 0 / 1.352 GB, free: 3.645 MB / 1.045 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.0006313/1.068, allocations: 462.5 kB / 1.352 GB, free: 3.219 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.068, allocations: 9.281 kB / 1.352 GB, free: 3.219 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/1.068, allocations: 16.41 kB / 1.352 GB, free: 3.211 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/1.068, allocations: 222.2 kB / 1.352 GB, free: 2.98 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/1.068, allocations: 14.31 kB / 1.352 GB, free: 2.973 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/1.068, allocations: 14.22 kB / 1.352 GB, free: 2.969 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000432/1.069, allocations: 164.8 kB / 1.352 GB, free: 2.891 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/1.069, allocations: 192 / 1.352 GB, free: 2.891 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/1.069, allocations: 9.094 kB / 1.352 GB, free: 2.883 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/1.069, allocations: 4.188 kB / 1.352 GB, free: 2.883 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/1.069, allocations: 140.6 kB / 1.353 GB, free: 2.848 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006778/1.07, allocations: 0.4959 MB / 1.353 GB, free: 2.461 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/1.07, allocations: 154.9 kB / 1.353 GB, free: 2.395 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/1.071, allocations: 83.39 kB / 1.353 GB, free: 2.359 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/1.071, allocations: 1.312 kB / 1.353 GB, free: 2.359 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/1.071, allocations: 32.48 kB / 1.353 GB, free: 2.32 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 2.154e-06/1.071, allocations: 5.203 kB / 1.353 GB, free: 2.316 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.0007458/1.071, allocations: 217.5 kB / 1.353 GB, free: 2.234 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/1.071, allocations: 55.17 kB / 1.354 GB, free: 2.172 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.825e-05/1.071, allocations: 116.5 kB / 1.354 GB, free: 2.066 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/1.071, allocations: 30.77 kB / 1.354 GB, free: 2.031 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/1.072, allocations: 120.2 kB / 1.354 GB, free: 1.922 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/1.072, allocations: 49.16 kB / 1.354 GB, free: 1.883 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/1.072, allocations: 30.97 kB / 1.354 GB, free: 1.855 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 6.632e-05/1.072, allocations: 321 kB / 1.354 GB, free: 1.539 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/1.072, allocations: 51.48 kB / 1.354 GB, free: 1.527 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/1.072, allocations: 58.58 kB / 1.354 GB, free: 1.512 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/1.072, allocations: 131.2 kB / 1.354 GB, free: 1.465 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.072, allocations: 3.938 kB / 1.354 GB, free: 1.461 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004482/1.073, allocations: 156.1 kB / 1.355 GB, free: 1.398 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.073, allocations: 5.5 kB / 1.355 GB, free: 1.398 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.073, allocations: 0.6094 kB / 1.355 GB, free: 1.398 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/1.073, allocations: 1.281 kB / 1.355 GB, free: 1.398 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/1.073, allocations: 42.73 kB / 1.355 GB, free: 1.391 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/1.073, allocations: 2.172 kB / 1.355 GB, free: 1.391 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/1.073, allocations: 19.95 kB / 1.355 GB, free: 1.383 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/1.073, allocations: 3.484 kB / 1.355 GB, free: 1.383 MB / 1.045 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 8.213e-05/1.073, allocations: 127.6 kB / 1.355 GB, free: 1.254 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/1.073, allocations: 12.97 kB / 1.355 GB, free: 1.246 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/1.073, allocations: 19.42 kB / 1.355 GB, free: 1.23 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/1.073, allocations: 1.438 kB / 1.355 GB, free: 1.23 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.073, allocations: 0 / 1.355 GB, free: 1.23 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.073, allocations: 5.891 kB / 1.355 GB, free: 1.227 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/1.074, allocations: 242.6 kB / 1.355 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.074, allocations: 0 / 1.355 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/1.074, allocations: 39.28 kB / 1.355 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/1.074, allocations: 0.6094 kB / 1.355 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/1.074, allocations: 1.281 kB / 1.355 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.074, allocations: 1.062 kB / 1.355 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.074, allocations: 8.75 kB / 1.355 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/1.074, allocations: 266.2 kB / 1.355 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.953e-05/1.074, allocations: 89.2 kB / 1.355 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/1.074, allocations: 1.859 kB / 1.355 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/1.075, allocations: 19.94 kB / 1.355 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/1.075, allocations: 7.578 kB / 1.355 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/1.075, allocations: 3.922 kB / 1.355 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.214e-05/1.075, allocations: 108 kB / 1.356 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/1.075, allocations: 0 / 1.356 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002501/1.075, allocations: 30.8 kB / 1.356 GB, free: 0.5977 MB / 1.045 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 0.0001198/1.075, allocations: 102 kB / 1.356 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000451/1.075, allocations: 136.8 kB / 1.356 GB, free: 488 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.075, allocations: 1.062 kB / 1.356 GB, free: 488 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002179/1.076, allocations: 64.14 kB / 1.356 GB, free: 476 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/1.076, allocations: 29.23 kB / 1.356 GB, free: 460 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/1.077, allocations: 295 kB / 1.356 GB, free: 236 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/1.077, allocations: 0.7116 MB / 1.357 GB, free: 15.53 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/1.077, allocations: 15.73 kB / 1.357 GB, free: 15.52 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/1.077, allocations: 4 kB / 1.357 GB, free: 15.52 MB / 1.061 GB Notification: Performance of Templates: time 0.003788/1.081, allocations: 1.494 MB / 1.358 GB, free: 15.38 MB / 1.061 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.951036788988858]