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.001911/0.001911, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002429/0.002429, allocations: 161.3 kB / 23.54 MB, free: 0.8633 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 1.518/1.518, allocations: 177.1 MB / 203.9 MB, free: 5.57 MB / 186.7 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.995/2.995, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 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 2.524e-06/2.524e-06, allocations: 0 / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.495e-05/3.748e-05, allocations: 4.297 kB / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002249/0.002287, allocations: 0.8131 MB / 0.8116 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.003697, allocations: 0.8681 MB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.105e-05/0.003758, allocations: 0 / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.404e-05/0.003802, allocations: 11.86 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.003909, allocations: 20.7 kB / 0.8125 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 9.076e-05/0.004, allocations: 37.64 kB / 0.8125 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0004114/0.004411, allocations: 103.8 kB / 0.8126 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.004573, allocations: 53.42 kB / 0.8127 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.004722, allocations: 59.89 kB / 0.8128 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.249e-05/0.004795, allocations: 35.88 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.004826, allocations: 13.53 kB / 0.8128 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/0.004845, allocations: 12 kB / 0.8128 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.453e-05/0.00488, allocations: 23.92 kB / 0.8128 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 7.535e-05/0.004955, allocations: 31.95 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.00518, allocations: 140.6 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.005186, allocations: 4 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.005187, allocations: 0 / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.005191, allocations: 5.406 kB / 0.813 GB, free: 15.85 MB / 0.7761 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.0007595/0.005951, allocations: 342.5 kB / 0.8133 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.00599, allocations: 12.03 kB / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/0.006056, allocations: 21.33 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.006301, allocations: 147.2 kB / 0.8135 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.006316, allocations: 4.375 kB / 0.8135 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.006339, allocations: 12.38 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.006731, allocations: 118.8 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.006742, allocations: 0.9688 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.00676, allocations: 4.375 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.006767, allocations: 4.969 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.00717, allocations: 113.1 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000591/0.007762, allocations: 317.6 kB / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/0.008198, allocations: 112.3 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.008408, allocations: 56.81 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.008426, allocations: 3.25 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.008462, allocations: 38.56 kB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.008463, allocations: 0 / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.000691/0.009154, allocations: 178.8 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.009208, allocations: 55.41 kB / 0.8145 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.009332, allocations: 118.3 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.00936, allocations: 26.2 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.972e-05/0.00945, allocations: 108 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.009505, allocations: 32.3 kB / 0.8148 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.009558, allocations: 22.28 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.00976, allocations: 322.8 kB / 0.8151 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.009943, allocations: 44.95 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.0101, allocations: 43.19 kB / 0.8152 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.01044, allocations: 96.78 kB / 0.8153 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01044, allocations: 0 / 0.8153 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004097/0.01085, allocations: 148.3 kB / 0.8154 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.01087, allocations: 4 kB / 0.8154 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.01088, allocations: 4 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.0109, allocations: 1.219 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.01105, allocations: 27.92 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.01106, allocations: 0.9688 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.01116, allocations: 19.92 kB / 0.8155 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.01117, allocations: 6.188 kB / 0.8155 GB, free: 13.18 MB / 0.7761 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.0001176/0.01128, allocations: 117.8 kB / 0.8156 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.01132, allocations: 8 kB / 0.8156 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.01136, allocations: 12.44 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.01137, allocations: 0 / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.01138, allocations: 1.031 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.01138, allocations: 0 / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.0116, allocations: 149.1 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01161, allocations: 1.125 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.01176, allocations: 31.97 kB / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01176, allocations: 1.031 kB / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.01177, allocations: 3.984 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.01178, allocations: 8.969 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.01179, allocations: 4 kB / 0.8158 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005059/0.01229, allocations: 245.5 kB / 0.816 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.01232, allocations: 3.953 kB / 0.816 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.01233, allocations: 4 kB / 0.816 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.01246, allocations: 13.14 kB / 0.816 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.01252, allocations: 7.984 kB / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.01253, allocations: 0 / 0.816 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.305e-05/0.0126, allocations: 100.4 kB / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0126, allocations: 0 / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002468/0.01285, allocations: 19.94 kB / 0.8162 GB, free: 12.41 MB / 0.7761 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.0001559/0.013, allocations: 104.8 kB / 0.8163 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004278/0.01343, allocations: 108.9 kB / 0.8164 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01343, allocations: 3.344 kB / 0.8164 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.01362, allocations: 55.83 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.01402, allocations: 19.98 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/0.0146, allocations: 219.3 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.01471, allocations: 84.66 kB / 0.8167 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.558e-05/0.01476, allocations: 11.98 kB / 0.8167 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.01481, allocations: 12.5 kB / 0.8168 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.01481, allocations: 0 / 0.8168 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of Templates: time 0.004242/0.01905, allocations: 1.066 MB / 0.8178 GB, free: 10.77 MB / 0.7761 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.04913926392328]