Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008173/0.0008173, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008288/0.0008288, allocations: 174.3 kB / 23.21 MB, free: 1.348 MB / 18.57 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.9109/0.9109, allocations: 177.1 MB / 203.5 MB, free: 5.691 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.772/1.772, allocations: 377.9 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.114e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.001447/0.001478, allocations: 0.8141 MB / 0.983 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008603/0.002339, allocations: 0.8665 MB / 0.9839 GB, free: 384 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.002389, allocations: 4 kB / 0.9839 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.698e-05/0.002426, allocations: 19.73 kB / 0.9839 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.756e-05/0.002504, allocations: 3.938 kB / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 7.627e-05/0.00258, allocations: 39.91 kB / 0.9839 GB, free: 316 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.002706, allocations: 119.6 kB / 0.984 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.002848, allocations: 41.55 kB / 0.9841 GB, free: 152 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.584e-05/0.002944, allocations: 59.88 kB / 0.9841 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.002998, allocations: 35.91 kB / 0.9842 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.003026, allocations: 12 kB / 0.9842 GB, free: 44 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.003036, allocations: 12 kB / 0.9842 GB, free: 32 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.003059, allocations: 23.89 kB / 0.9842 GB, free: 8 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.003101, allocations: 32 kB / 0.9843 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.003245, allocations: 147.4 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003247, allocations: 0 / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003248, allocations: 4 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.003253, allocations: 0 / 0.9844 GB, free: 15.83 MB / 0.948 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.000447/0.0037, allocations: 341.9 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.003738, allocations: 12.03 kB / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.00377, allocations: 12.84 kB / 0.9847 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.004008, allocations: 141.6 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.00402, allocations: 8.375 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.004032, allocations: 8.312 kB / 0.9849 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.004254, allocations: 124.6 kB / 0.985 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.004264, allocations: 4.188 kB / 0.985 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.004278, allocations: 4.375 kB / 0.985 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.004283, allocations: 384 / 0.985 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.004478, allocations: 111.8 kB / 0.9851 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.004852, allocations: 328 kB / 0.9854 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.00511, allocations: 102.6 kB / 0.9855 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.005213, allocations: 64.81 kB / 0.9856 GB, free: 14.49 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.005226, allocations: 3.938 kB / 0.9856 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.005243, allocations: 34.69 kB / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.005244, allocations: 4 kB / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0003552/0.005599, allocations: 177.5 kB / 0.9858 GB, free: 14.26 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.005642, allocations: 55.41 kB / 0.9859 GB, free: 14.19 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.707e-05/0.005709, allocations: 113.8 kB / 0.986 GB, free: 14.07 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.005719, allocations: 25.7 kB / 0.986 GB, free: 14.04 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.005769, allocations: 112 kB / 0.9861 GB, free: 13.93 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.005796, allocations: 35.72 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.00583, allocations: 21.72 kB / 0.9862 GB, free: 13.86 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.457e-05/0.005904, allocations: 322.8 kB / 0.9865 GB, free: 13.54 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.005988, allocations: 39.97 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.836e-05/0.006066, allocations: 43.95 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.006232, allocations: 109.2 kB / 0.9867 GB, free: 13.35 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.006234, allocations: 0 / 0.9867 GB, free: 13.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001957/0.00643, allocations: 129.6 kB / 0.9868 GB, free: 13.21 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.006443, allocations: 4 kB / 0.9868 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.006447, allocations: 0 / 0.9868 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.006459, allocations: 0 / 0.9868 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/0.006539, allocations: 39.91 kB / 0.9868 GB, free: 13.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.006544, allocations: 0 / 0.9868 GB, free: 13.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.00659, allocations: 15.92 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.006597, allocations: 7.938 kB / 0.9868 GB, free: 13.15 MB / 0.948 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 6.416e-05/0.006661, allocations: 117.8 kB / 0.987 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.006676, allocations: 7.953 kB / 0.987 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/0.006697, allocations: 12.42 kB / 0.987 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.0067, allocations: 3.984 kB / 0.987 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.006704, allocations: 4 kB / 0.987 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.006706, allocations: 4 kB / 0.987 GB, free: 12.99 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.006822, allocations: 141.2 kB / 0.9871 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006823, allocations: 0 / 0.9871 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.368e-05/0.006887, allocations: 31.91 kB / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006889, allocations: 0 / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.006896, allocations: 7.938 kB / 0.9872 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.006897, allocations: 0 / 0.9872 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.006898, allocations: 0 / 0.9872 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.007132, allocations: 239.3 kB / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-06/0.007141, allocations: 8 kB / 0.9874 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.007153, allocations: 4 kB / 0.9874 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.315e-05/0.007207, allocations: 11.98 kB / 0.9874 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.007251, allocations: 7.984 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.007255, allocations: 4.188 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.542e-05/0.00729, allocations: 95.27 kB / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.00729, allocations: 3.938 kB / 0.9875 GB, free: 12.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001539/0.007444, allocations: 23.89 kB / 0.9875 GB, free: 12.38 MB / 0.948 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 9.554e-05/0.00754, allocations: 103.2 kB / 0.9876 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.00776, allocations: 103.8 kB / 0.9877 GB, free: 12.17 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.007761, allocations: 0 / 0.9877 GB, free: 12.17 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.765e-05/0.007849, allocations: 59.89 kB / 0.9878 GB, free: 12.11 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.0081, allocations: 12 kB / 0.9878 GB, free: 12.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.008498, allocations: 235 kB / 0.988 GB, free: 11.84 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.032e-05/0.008558, allocations: 89.44 kB / 0.9881 GB, free: 11.72 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.008596, allocations: 16.5 kB / 0.9881 GB, free: 11.7 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/0.008597, allocations: 0 / 0.9881 GB, free: 11.7 MB / 0.948 GB Notification: Performance of Templates: time 0.001901/0.0105, allocations: 1.212 MB / 0.9893 GB, free: 10.5 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.548858981579542]