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.001651/0.001651, allocations: 77.47 kB / 19.76 MB, free: 2.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.001746/0.001746, allocations: 157.9 kB / 23.02 MB, free: 4.949 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.479/1.479, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.954/2.954, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 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.002409/0.002409, allocations: 67.91 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094/1.097, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002057/1.099, allocations: 0.9153 MB / 1.188 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001001/1.1, allocations: 0.8936 MB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/1.1, allocations: 2.406 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.869e-05/1.1, allocations: 15.33 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.043e-05/1.1, allocations: 19.17 kB / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 9.384e-05/1.1, allocations: 51.55 kB / 1.188 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/1.1, allocations: 152.4 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/1.101, allocations: 67.97 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.71e-05/1.101, allocations: 70.28 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.197e-05/1.101, allocations: 56.09 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/1.101, allocations: 17.03 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.587e-05/1.101, allocations: 17.56 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/1.101, allocations: 41.84 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/1.101, allocations: 55.14 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/1.101, allocations: 217.3 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/1.101, allocations: 0.6562 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.482e-06/1.101, allocations: 0 / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.033e-05/1.101, allocations: 0 / 1.189 GB, free: 14.56 MB / 1.076 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.000565/1.102, allocations: 379.1 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/1.102, allocations: 9.984 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/1.102, allocations: 16.62 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/1.102, allocations: 160.2 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/1.102, allocations: 11.05 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/1.102, allocations: 14.12 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/1.102, allocations: 164.8 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.102, allocations: 1.25 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/1.102, allocations: 12.97 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/1.102, allocations: 3.594 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/1.103, allocations: 141.3 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/1.103, allocations: 408.1 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/1.104, allocations: 151.9 kB / 1.191 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/1.104, allocations: 74.16 kB / 1.191 GB, free: 13.53 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/1.104, allocations: 6.156 kB / 1.191 GB, free: 13.53 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/1.104, allocations: 36.59 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/1.104, allocations: 0 / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.0006419/1.105, allocations: 219.8 kB / 1.191 GB, free: 13.4 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/1.105, allocations: 52.62 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.945e-05/1.105, allocations: 118.5 kB / 1.191 GB, free: 13.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/1.105, allocations: 26.83 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/1.105, allocations: 120.1 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/1.105, allocations: 52.86 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/1.105, allocations: 28.3 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.593e-05/1.105, allocations: 320.4 kB / 1.192 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/1.105, allocations: 56.31 kB / 1.192 GB, free: 12.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/1.105, allocations: 54.38 kB / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/1.106, allocations: 124.7 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.106, allocations: 3.938 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003936/1.106, allocations: 163.1 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/1.106, allocations: 5.031 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.257e-06/1.106, allocations: 1.344 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.106, allocations: 0 / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/1.106, allocations: 43.27 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/1.106, allocations: 1.906 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.593e-05/1.106, allocations: 19.97 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/1.107, allocations: 7.469 kB / 1.192 GB, free: 12.55 MB / 1.076 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.523e-05/1.107, allocations: 128.4 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/1.107, allocations: 13.2 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/1.107, allocations: 14.95 kB / 1.192 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/1.107, allocations: 1.219 kB / 1.192 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.107, allocations: 9.672 kB / 1.192 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.107, allocations: 0.6562 kB / 1.192 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/1.107, allocations: 159.6 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.107, allocations: 1.344 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/1.107, allocations: 42.78 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.107, allocations: 1.25 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/1.107, allocations: 5.312 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/1.107, allocations: 0 / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.107, allocations: 1.828 kB / 1.192 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/1.107, allocations: 271.5 kB / 1.193 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/1.107, allocations: 15.2 kB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/1.107, allocations: 1.344 kB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/1.108, allocations: 15.48 kB / 1.193 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/1.108, allocations: 10 kB / 1.193 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/1.108, allocations: 3.281 kB / 1.193 GB, free: 12.03 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.764e-05/1.108, allocations: 96.45 kB / 1.193 GB, free: 11.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.108, allocations: 4 kB / 1.193 GB, free: 11.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002391/1.108, allocations: 30.95 kB / 1.193 GB, free: 11.93 MB / 1.076 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.306e-05/1.108, allocations: 102.8 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004244/1.108, allocations: 127.8 kB / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.108, allocations: 0 / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/1.109, allocations: 74.55 kB / 1.193 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/1.109, allocations: 19.47 kB / 1.193 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/1.11, allocations: 263.8 kB / 1.193 GB, free: 11.6 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.027e-05/1.11, allocations: 104.1 kB / 1.193 GB, free: 11.52 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.082e-05/1.11, allocations: 7.453 kB / 1.193 GB, free: 11.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/1.11, allocations: 15.03 kB / 1.193 GB, free: 11.52 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/1.11, allocations: 4 kB / 1.194 GB, free: 11.51 MB / 1.076 GB Notification: Performance of Templates: time 0.004399/1.114, allocations: 1.18 MB / 1.195 GB, free: 11.38 MB / 1.076 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 -s ida -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: 9.342844967031851]