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.PIDIntegralTime.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.001725/0.001725, allocations: 100.4 kB / 19.73 MB, free: 2.078 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.002195/0.002195, allocations: 215.1 kB / 23.04 MB, free: 4.863 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.597/1.597, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.398/3.398, allocations: 0.5097 GB / 0.8156 GB, free: 18.34 MB / 0.6231 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.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") [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.00204/0.00204, allocations: 71.36 kB / 1.185 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3664, allocations: 181.4 MB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002449/0.3689, allocations: 0.814 MB / 1.363 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.3701, allocations: 0.8704 MB / 1.364 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.615e-05/0.3702, allocations: 0 / 1.364 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.012e-05/0.3703, allocations: 11.86 kB / 1.364 GB, free: 13.83 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.262e-05/0.3703, allocations: 11.88 kB / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 9.158e-05/0.3704, allocations: 35.95 kB / 1.364 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.3706, allocations: 115.7 kB / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.3708, allocations: 41.55 kB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.3709, allocations: 43.86 kB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.371, allocations: 43.77 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.371, allocations: 12 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.768e-05/0.371, allocations: 12 kB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.014e-05/0.3711, allocations: 19.92 kB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.3711, allocations: 39.8 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.3714, allocations: 147.4 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3714, allocations: 0 / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3714, allocations: 4 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.3714, allocations: 0 / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006486/0.372, allocations: 345.9 kB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3721, allocations: 8.031 kB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.3721, allocations: 12.84 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.3723, allocations: 146.3 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.3724, allocations: 8.375 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.3724, allocations: 12.38 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.3727, allocations: 124.4 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3727, allocations: 192 / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.3727, allocations: 7.938 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3727, allocations: 4 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.3731, allocations: 103.8 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.3737, allocations: 328.1 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.374, allocations: 110.6 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.3742, allocations: 56.81 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.3743, allocations: 4 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.3743, allocations: 30.56 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.3743, allocations: 0 / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0006242/0.3749, allocations: 185.6 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.375, allocations: 59.28 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3751, allocations: 121.8 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.3751, allocations: 25.7 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.3752, allocations: 108 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.3752, allocations: 35.73 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.3752, allocations: 17.72 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3754, allocations: 322.8 kB / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.3756, allocations: 39.97 kB / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.3757, allocations: 43.95 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.376, allocations: 100.8 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.376, allocations: 3.938 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003734/0.3764, allocations: 129.6 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3764, allocations: 8 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3764, allocations: 0 / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3764, allocations: 0 / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.3766, allocations: 36.56 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3766, allocations: 3.938 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.985e-05/0.3767, allocations: 11.98 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3767, allocations: 3.938 kB / 1.367 GB, free: 10.62 MB / 1.061 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 (9): * Single equations (assignments): 9 * 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 0.0001038/0.3768, allocations: 117.8 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.3768, allocations: 11.94 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.3769, allocations: 16.38 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3769, allocations: 3.938 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3769, allocations: 3.938 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3769, allocations: 4 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.3771, allocations: 141.2 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3771, allocations: 0 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.3772, allocations: 27.97 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3772, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.3772, allocations: 4 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3772, allocations: 3.938 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.3772, allocations: 4 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.3777, allocations: 243.3 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.3777, allocations: 7.953 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3777, allocations: 0 / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.3778, allocations: 11.98 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.3779, allocations: 11.92 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.3779, allocations: 4 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.53e-05/0.378, allocations: 91.27 kB / 1.368 GB, free: 9.875 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.378, allocations: 0 / 1.368 GB, free: 9.875 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002373/0.3782, allocations: 23.95 kB / 1.368 GB, free: 9.852 MB / 1.061 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 (9): * Single equations (assignments): 9 * 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.0001227/0.3783, allocations: 103.2 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004011/0.3787, allocations: 103.8 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3787, allocations: 0 / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.3789, allocations: 59.89 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.3793, allocations: 12.47 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/0.3798, allocations: 214.8 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.957e-05/0.3799, allocations: 93.25 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.686e-05/0.3799, allocations: 4 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.38, allocations: 11.44 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of SimCode: time 8.41e-07/0.38, allocations: 3.938 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of Templates: time 0.004074/0.3841, allocations: 1.144 MB / 1.369 GB, free: 8.121 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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.4900788879022]