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.001346/0.001346, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001511/0.001511, allocations: 159.2 kB / 22.45 MB, free: 5.375 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.505/1.505, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.869/2.869, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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 4.278e-06/4.278e-06, allocations: 0 / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.538e-05/3.965e-05, allocations: 5.516 kB / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002091/0.002131, allocations: 0.8007 MB / 0.9822 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003278, allocations: 0.8782 MB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.689e-05/0.003335, allocations: 0 / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.552e-05/0.003391, allocations: 11.86 kB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.003491, allocations: 15.81 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.462e-05/0.003575, allocations: 35.95 kB / 0.9832 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.003737, allocations: 115.6 kB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.003904, allocations: 45.55 kB / 0.9833 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.004038, allocations: 67.88 kB / 0.9834 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.509e-05/0.004113, allocations: 31.89 kB / 0.9834 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.004142, allocations: 12 kB / 0.9834 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.75e-05/0.004159, allocations: 12 kB / 0.9834 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.004195, allocations: 27.91 kB / 0.9835 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.004238, allocations: 27.92 kB / 0.9835 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.004431, allocations: 143.5 kB / 0.9836 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.004434, allocations: 3.938 kB / 0.9836 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004434, allocations: 0 / 0.9836 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.004439, allocations: 4 kB / 0.9836 GB, free: 9.688 MB / 0.9356 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.0006248/0.005064, allocations: 337.9 kB / 0.984 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.00511, allocations: 12.03 kB / 0.984 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.005157, allocations: 16.83 kB / 0.984 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.00537, allocations: 137.7 kB / 0.9841 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.005388, allocations: 12.31 kB / 0.9841 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.005409, allocations: 12.36 kB / 0.9841 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.005756, allocations: 122.2 kB / 0.9843 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.005765, allocations: 192 / 0.9843 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.00578, allocations: 4.375 kB / 0.9843 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.005789, allocations: 4.375 kB / 0.9843 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003888/0.006177, allocations: 111.8 kB / 0.9844 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.006693, allocations: 308.1 kB / 0.9847 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.007095, allocations: 122.6 kB / 0.9848 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.007314, allocations: 56.81 kB / 0.9848 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.007329, allocations: 0 / 0.9848 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.007363, allocations: 34.56 kB / 0.9849 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.007364, allocations: 0 / 0.9849 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0006696/0.008034, allocations: 185.7 kB / 0.985 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.00809, allocations: 51.41 kB / 0.9851 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.008192, allocations: 113.8 kB / 0.9852 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.008215, allocations: 37.64 kB / 0.9852 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.008289, allocations: 104 kB / 0.9853 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.008329, allocations: 31.73 kB / 0.9854 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.008375, allocations: 21.72 kB / 0.9854 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.008516, allocations: 326.8 kB / 0.9857 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.008698, allocations: 47.89 kB / 0.9857 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.008866, allocations: 40.34 kB / 0.9858 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.00921, allocations: 100.9 kB / 0.9859 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.009212, allocations: 4 kB / 0.9859 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004101/0.009622, allocations: 137.5 kB / 0.986 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.009638, allocations: 4 kB / 0.986 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.009642, allocations: 0 / 0.986 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.009658, allocations: 4 kB / 0.986 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.009811, allocations: 19.98 kB / 0.986 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.009818, allocations: 8 kB / 0.9861 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.009919, allocations: 23.91 kB / 0.9861 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.009928, allocations: 3.938 kB / 0.9861 GB, free: 7.008 MB / 0.9356 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.0001004/0.01003, allocations: 117.8 kB / 0.9862 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.01006, allocations: 7.953 kB / 0.9862 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/0.01009, allocations: 12.44 kB / 0.9862 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.0101, allocations: 4 kB / 0.9862 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.0101, allocations: 0 / 0.9862 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.01011, allocations: 0 / 0.9862 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.01029, allocations: 149.2 kB / 0.9864 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01029, allocations: 0 / 0.9864 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.01044, allocations: 27.97 kB / 0.9864 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.01044, allocations: 0 / 0.9864 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.01045, allocations: 0 / 0.9864 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.01046, allocations: 3.984 kB / 0.9864 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01046, allocations: 0 / 0.9864 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004778/0.01094, allocations: 247.3 kB / 0.9866 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-06/0.01095, allocations: 3.984 kB / 0.9866 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.01097, allocations: 4 kB / 0.9866 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.01109, allocations: 11.97 kB / 0.9866 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.01115, allocations: 15.98 kB / 0.9867 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.01116, allocations: 4 kB / 0.9867 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.874e-05/0.01122, allocations: 99.53 kB / 0.9868 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.01122, allocations: 0 / 0.9868 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002409/0.01146, allocations: 23.89 kB / 0.9868 GB, free: 6.234 MB / 0.9356 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.0001319/0.01159, allocations: 107.2 kB / 0.9869 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004141/0.01201, allocations: 107.8 kB / 0.987 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01201, allocations: 0 / 0.987 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.0122, allocations: 51.95 kB / 0.987 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.01257, allocations: 19.98 kB / 0.9871 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/0.01314, allocations: 213.2 kB / 0.9873 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.178e-05/0.01323, allocations: 77.45 kB / 0.9873 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.142e-05/0.01328, allocations: 11.98 kB / 0.9873 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.01332, allocations: 12.5 kB / 0.9874 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.01332, allocations: 0 / 0.9874 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of Templates: time 0.004211/0.01753, allocations: 1.048 MB / 0.9884 GB, free: 4.598 MB / 0.9356 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: 8.155775852501392]