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.001944/0.001944, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002256/0.002256, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.574/1.574, allocations: 177.1 MB / 203.9 MB, free: 5.617 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 3.05/3.05, allocations: 377.9 MB / 0.6232 GB, free: 8.539 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 1.904e-06/1.904e-06, allocations: 0 / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.098e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002188/0.002219, allocations: 0.8497 MB / 0.8117 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.003827, allocations: 0.8756 MB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.083e-05/0.003887, allocations: 0 / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.861e-05/0.003926, allocations: 9.469 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.004037, allocations: 19.8 kB / 0.8125 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 8.792e-05/0.004125, allocations: 31.97 kB / 0.8126 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.0043, allocations: 115.7 kB / 0.8127 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.004451, allocations: 39.33 kB / 0.8127 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.004592, allocations: 67.86 kB / 0.8128 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.004665, allocations: 31.91 kB / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.004694, allocations: 12 kB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.283e-05/0.004717, allocations: 12.78 kB / 0.8128 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.428e-05/0.004752, allocations: 27.91 kB / 0.8129 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.004798, allocations: 24.45 kB / 0.8129 GB, free: 0 / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.005033, allocations: 151.5 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.005035, allocations: 0.7188 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.91e-07/0.005036, allocations: 0 / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.005041, allocations: 0.5312 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.000672/0.005713, allocations: 449 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.005754, allocations: 12.03 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.005809, allocations: 13.42 kB / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.006035, allocations: 145.8 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.006051, allocations: 4.375 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.006073, allocations: 12.38 kB / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.00636, allocations: 107.4 kB / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.00637, allocations: 192 / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.006382, allocations: 384 / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.006389, allocations: 5.625 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.006658, allocations: 87.88 kB / 0.8138 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006126/0.00727, allocations: 393.2 kB / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.007638, allocations: 119.8 kB / 0.8143 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.007784, allocations: 48.52 kB / 0.8144 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.007803, allocations: 4 kB / 0.8144 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.007834, allocations: 34.61 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.007835, allocations: 0 / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0005136/0.008348, allocations: 159 kB / 0.8146 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.008399, allocations: 51.41 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.008554, allocations: 181.9 kB / 0.8148 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.00858, allocations: 31.42 kB / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.008691, allocations: 150.7 kB / 0.815 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.008738, allocations: 39.69 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.008795, allocations: 27.36 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002935/0.009089, allocations: 0.4922 MB / 0.8155 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.009215, allocations: 38.59 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.009318, allocations: 31.98 kB / 0.8156 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.009538, allocations: 75.66 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.009541, allocations: 0 / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002842/0.009825, allocations: 122.6 kB / 0.8158 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.00984, allocations: 9.875 kB / 0.8158 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.009845, allocations: 0 / 0.8158 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.00986, allocations: 0 / 0.8158 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.009978, allocations: 23.92 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.009984, allocations: 0 / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.233e-05/0.01006, allocations: 16.8 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.01007, allocations: 3.938 kB / 0.8158 GB, free: 12.82 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.000136/0.0102, allocations: 169.3 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.01023, allocations: 9.281 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.01027, allocations: 12.44 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01028, allocations: 0 / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01028, allocations: 0 / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.01029, allocations: 7 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.01051, allocations: 164.5 kB / 0.8162 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01051, allocations: 0 / 0.8162 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.01063, allocations: 23.98 kB / 0.8162 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01063, allocations: 0 / 0.8162 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.01064, allocations: 0 / 0.8162 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.01064, allocations: 0 / 0.8162 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01064, allocations: 0 / 0.8162 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003952/0.01104, allocations: 278.3 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.01105, allocations: 11.94 kB / 0.8165 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.01107, allocations: 0 / 0.8165 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.01115, allocations: 11.94 kB / 0.8165 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.01121, allocations: 7.984 kB / 0.8165 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.01122, allocations: 4.938 kB / 0.8165 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.172e-05/0.01131, allocations: 135.2 kB / 0.8166 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01131, allocations: 1.125 kB / 0.8166 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002248/0.01154, allocations: 23.94 kB / 0.8166 GB, free: 11.92 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.0001405/0.01168, allocations: 106.6 kB / 0.8167 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003092/0.01199, allocations: 92.55 kB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01199, allocations: 0 / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.01213, allocations: 61.61 kB / 0.8169 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.01243, allocations: 21.58 kB / 0.8169 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005329/0.01296, allocations: 228.3 kB / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.962e-05/0.01306, allocations: 79.33 kB / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.061e-05/0.01311, allocations: 10.14 kB / 0.8172 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.01316, allocations: 12.5 kB / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of SimCode: time 4.2e-07/0.01316, allocations: 0 / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of Templates: time 0.004541/0.0177, allocations: 1.083 MB / 0.8183 GB, free: 10.26 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 240] 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.10267696599476]