Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.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.002155/0.002155, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001775/0.001775, allocations: 209.6 kB / 22.99 MB, free: 4.957 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.091/3.091, allocations: 0.505 GB / 0.8108 GB, free: 23.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") [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.00195/0.00195, allocations: 68.83 kB / 1.178 GB, free: 16.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3217, allocations: 180.2 MB / 1.354 GB, free: 7.461 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002244/0.324, allocations: 0.9018 MB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3251, allocations: 0.9016 MB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.3252, allocations: 0 / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.241e-05/0.3252, allocations: 19.73 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.299e-05/0.3253, allocations: 15.81 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.3254, allocations: 51.94 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.3256, allocations: 156.2 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.3258, allocations: 82.11 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.3259, allocations: 63.78 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.517e-05/0.326, allocations: 67.69 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.326, allocations: 20 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.272e-05/0.326, allocations: 16 kB / 1.356 GB, free: 5.156 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.3261, allocations: 35.91 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.3261, allocations: 51.73 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.3264, allocations: 219 kB / 1.357 GB, free: 4.855 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3264, allocations: 0 / 1.357 GB, free: 4.855 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3264, allocations: 0 / 1.357 GB, free: 4.855 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3264, allocations: 0 / 1.357 GB, free: 4.855 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006591/0.3271, allocations: 386.9 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3271, allocations: 8.031 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.3271, allocations: 16.84 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.3274, allocations: 154.3 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.3274, allocations: 8.375 kB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.3274, allocations: 20.38 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.3278, allocations: 173.6 kB / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3278, allocations: 192 / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.3278, allocations: 7.938 kB / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3279, allocations: 4 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/0.3282, allocations: 143.9 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000628/0.3289, allocations: 399.9 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.3293, allocations: 146.6 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.3295, allocations: 84.73 kB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.3295, allocations: 0 / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.3296, allocations: 34.5 kB / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.3296, allocations: 8 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.000645/0.3302, allocations: 213.2 kB / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.3303, allocations: 63.39 kB / 1.358 GB, free: 2.895 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.3304, allocations: 113.8 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3304, allocations: 25.7 kB / 1.359 GB, free: 2.742 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.3304, allocations: 120.3 kB / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.755e-05/0.3305, allocations: 59.53 kB / 1.359 GB, free: 2.562 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.3305, allocations: 25.7 kB / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3307, allocations: 318.8 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.3309, allocations: 51.95 kB / 1.359 GB, free: 2.16 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.331, allocations: 55.95 kB / 1.359 GB, free: 2.105 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.3314, allocations: 128.7 kB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3314, allocations: 0 / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004183/0.3318, allocations: 169.5 kB / 1.359 GB, free: 1.805 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3318, allocations: 4 kB / 1.359 GB, free: 1.801 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3318, allocations: 0 / 1.359 GB, free: 1.801 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3318, allocations: 0 / 1.359 GB, free: 1.801 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.332, allocations: 39.97 kB / 1.359 GB, free: 1.762 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.332, allocations: 3.938 kB / 1.359 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.824e-05/0.3321, allocations: 23.88 kB / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3321, allocations: 7.984 kB / 1.359 GB, free: 1.727 MB / 1.045 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 (14): * Single equations (assignments): 14 * 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.0001069/0.3322, allocations: 125.8 kB / 1.36 GB, free: 1.594 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.3323, allocations: 11.89 kB / 1.36 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.3323, allocations: 16.44 kB / 1.36 GB, free: 1.566 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3323, allocations: 4 kB / 1.36 GB, free: 1.562 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3323, allocations: 4 kB / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3323, allocations: 0 / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.3325, allocations: 157.3 kB / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3325, allocations: 4 kB / 1.36 GB, free: 1.371 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.3327, allocations: 43.84 kB / 1.36 GB, free: 1.328 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3327, allocations: 0 / 1.36 GB, free: 1.328 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.3327, allocations: 7.984 kB / 1.36 GB, free: 1.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3327, allocations: 4 kB / 1.36 GB, free: 1.316 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3327, allocations: 0 / 1.36 GB, free: 1.316 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.3332, allocations: 260.4 kB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.3332, allocations: 23.78 kB / 1.36 GB, free: 1.023 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.3332, allocations: 8 kB / 1.36 GB, free: 1.016 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.3333, allocations: 7.984 kB / 1.36 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.3334, allocations: 11.98 kB / 1.36 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.3334, allocations: 4 kB / 1.36 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.582e-05/0.3334, allocations: 91.27 kB / 1.36 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3334, allocations: 7.938 kB / 1.36 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002331/0.3337, allocations: 27.95 kB / 1.36 GB, free: 0.8672 MB / 1.045 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 (14): * Single equations (assignments): 14 * 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.0001104/0.3338, allocations: 115.2 kB / 1.36 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000408/0.3342, allocations: 124.8 kB / 1.36 GB, free: 0.625 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3342, allocations: 0 / 1.36 GB, free: 0.625 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.3344, allocations: 71.89 kB / 1.361 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.3347, allocations: 19.92 kB / 1.361 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.3352, allocations: 273.1 kB / 1.361 GB, free: 252 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.933e-05/0.3353, allocations: 101.6 kB / 1.361 GB, free: 128 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.205e-05/0.3354, allocations: 12.34 kB / 1.361 GB, free: 116 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.3354, allocations: 15.38 kB / 1.361 GB, free: 100 kB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.3354, allocations: 8 kB / 1.361 GB, free: 92 kB / 1.045 GB Notification: Performance of Templates: time 0.004142/0.3396, allocations: 1.304 MB / 1.362 GB, free: 14.84 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.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.482062800001586]