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.00134/0.00134, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001584/0.001584, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.288/3.288, allocations: 0.4892 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002094/0.002094, allocations: 82.73 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3691, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002107/0.3712, allocations: 0.8169 MB / 1.327 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3724, allocations: 0.8704 MB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.027e-05/0.3724, allocations: 8 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.139e-05/0.3725, allocations: 7.875 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.14e-05/0.3725, allocations: 19.78 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.077e-05/0.3726, allocations: 31.97 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.3728, allocations: 111.8 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.373, allocations: 37.64 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.122e-05/0.373, allocations: 43.78 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/0.3731, allocations: 43.77 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.3731, allocations: 12 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.3732, allocations: 8 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.3732, allocations: 35.91 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.778e-05/0.3732, allocations: 39.8 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.3734, allocations: 135.4 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.3734, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3734, allocations: 4 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.3734, allocations: 0 / 1.328 GB, free: 15.67 MB / 1.029 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.0006139/0.3741, allocations: 337.9 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3741, allocations: 12.03 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.3741, allocations: 16.88 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.3743, allocations: 146.3 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.3744, allocations: 8.375 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.3744, allocations: 8.359 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.3747, allocations: 124 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3747, allocations: 192 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.3747, allocations: 7.938 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3747, allocations: 4 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.3751, allocations: 107.9 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.3756, allocations: 320 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.376, allocations: 110.6 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.3762, allocations: 68.81 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.3762, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.3763, allocations: 38.69 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 9.91e-07/0.3763, allocations: 0 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006173/0.3769, allocations: 181.4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.3769, allocations: 59.34 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.377, allocations: 117.8 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.3771, allocations: 25.7 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.3771, allocations: 104 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.3772, allocations: 35.69 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.3772, allocations: 17.72 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3774, allocations: 322.8 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.3775, allocations: 39.95 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.3777, allocations: 43.97 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.378, allocations: 104.7 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.378, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003714/0.3784, allocations: 137.6 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3784, allocations: 4 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3784, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3784, allocations: 7.938 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.3786, allocations: 19.98 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.3786, allocations: 20.5 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.039e-05/0.3787, allocations: 7.984 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3787, allocations: 4 kB / 1.331 GB, free: 12.99 MB / 1.029 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 9.833e-05/0.3788, allocations: 122.4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.3788, allocations: 7.953 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.3788, allocations: 8.375 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3788, allocations: 4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3788, allocations: 7.875 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3788, allocations: 3.984 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.379, allocations: 141.2 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.379, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.3792, allocations: 23.92 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3792, allocations: 4 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3792, allocations: 8 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3792, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3792, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.3796, allocations: 239.3 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.3796, allocations: 7.938 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.3796, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.3798, allocations: 15.97 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.3798, allocations: 19.92 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.3798, allocations: 0 / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.563e-05/0.3799, allocations: 91.28 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3799, allocations: 0 / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002324/0.3801, allocations: 19.95 kB / 1.332 GB, free: 12.22 MB / 1.029 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.0001343/0.3803, allocations: 103.2 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000396/0.3807, allocations: 99.86 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3807, allocations: 4 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.3808, allocations: 55.89 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.3812, allocations: 20.45 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.3817, allocations: 247.4 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.811e-05/0.3818, allocations: 86.2 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.3818, allocations: 15.38 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3818, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of Templates: time 0.003066/0.3849, allocations: 1.215 MB / 1.333 GB, free: 10.33 MB / 1.029 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/jenkins1/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: 11.109815316274762]