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.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.001338/0.001338, allocations: 116.4 kB / 17.13 MB, free: 6.004 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.001472/0.001472, allocations: 215.2 kB / 20.1 MB, free: 3.051 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.522/1.522, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.072/3.072, allocations: 0.49 GB / 0.7923 GB, free: 1.309 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.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_12_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_12_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.002044/0.002044, allocations: 71.88 kB / 1.15 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9228/0.9248, allocations: 176.1 MB / 1.322 GB, free: 25.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.001834/0.9266, allocations: 0.9706 MB / 1.323 GB, free: 24.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007363/0.9274, allocations: 0.9074 MB / 1.324 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.241e-05/0.9274, allocations: 6.594 kB / 1.324 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.344e-05/0.9275, allocations: 15.05 kB / 1.324 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.09e-05/0.9275, allocations: 17.95 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.247e-05/0.9276, allocations: 46.27 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.9277, allocations: 161 kB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.9279, allocations: 73.27 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.345e-05/0.928, allocations: 64.7 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.219e-05/0.928, allocations: 70.75 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.9281, allocations: 16.91 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.597e-05/0.9281, allocations: 17.59 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.9281, allocations: 33.41 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.9281, allocations: 73.02 kB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.9283, allocations: 214.9 kB / 1.325 GB, free: 23.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.9283, allocations: 0 / 1.325 GB, free: 23.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9283, allocations: 0 / 1.325 GB, free: 23.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.9283, allocations: 0 / 1.325 GB, free: 23.32 MB / 1.061 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.0005154/0.9288, allocations: 456.9 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.9289, allocations: 11.22 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.9289, allocations: 18.53 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.9291, allocations: 223.1 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.9291, allocations: 10.19 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.9291, allocations: 13.78 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.9294, allocations: 167.1 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.9295, allocations: 2.781 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.9295, allocations: 11.94 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.9295, allocations: 2.844 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003736/0.9298, allocations: 146.1 kB / 1.326 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.9304, allocations: 0.4898 MB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.9308, allocations: 153.8 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.931, allocations: 76.02 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.931, allocations: 3 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.931, allocations: 38.5 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.931, allocations: 0 / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0005985/0.9316, allocations: 222 kB / 1.327 GB, free: 21.92 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.9316, allocations: 51.41 kB / 1.327 GB, free: 21.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.911e-05/0.9317, allocations: 128.6 kB / 1.327 GB, free: 21.74 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.9317, allocations: 29.7 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.9317, allocations: 117.1 kB / 1.327 GB, free: 21.6 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.9318, allocations: 46.83 kB / 1.327 GB, free: 21.56 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.9318, allocations: 26.84 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.9319, allocations: 324.8 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.932, allocations: 50.62 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.9322, allocations: 59.48 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.9326, allocations: 128.7 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.9326, allocations: 3.938 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004417/0.933, allocations: 158.4 kB / 1.328 GB, free: 21.08 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.933, allocations: 5.062 kB / 1.328 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.933, allocations: 0 / 1.328 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.933, allocations: 1.031 kB / 1.328 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.9332, allocations: 47.12 kB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.9332, allocations: 1 kB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.686e-05/0.9333, allocations: 14.56 kB / 1.328 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.9333, allocations: 7.281 kB / 1.328 GB, free: 21.06 MB / 1.061 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 7.583e-05/0.9334, allocations: 127.3 kB / 1.328 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.9335, allocations: 7.453 kB / 1.328 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.9335, allocations: 14.41 kB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.9335, allocations: 6.344 kB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9335, allocations: 0 / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.9335, allocations: 0 / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.9337, allocations: 247.2 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9337, allocations: 0 / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.9339, allocations: 43.92 kB / 1.328 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.9339, allocations: 0 / 1.328 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.9339, allocations: 4.594 kB / 1.328 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.9339, allocations: 4.844 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9339, allocations: 3.984 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.9343, allocations: 266.9 kB / 1.328 GB, free: 20.49 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.9344, allocations: 87.91 kB / 1.328 GB, free: 20.39 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.9344, allocations: 5.531 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.9345, allocations: 11.42 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.9345, allocations: 19.97 kB / 1.329 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.9346, allocations: 6.188 kB / 1.329 GB, free: 20.37 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.9346, allocations: 88.81 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9346, allocations: 0 / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002403/0.9348, allocations: 31.83 kB / 1.329 GB, free: 20.28 MB / 1.061 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 9.941e-05/0.9349, allocations: 108.3 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004233/0.9354, allocations: 128.2 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9354, allocations: 4.438 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.9356, allocations: 71.06 kB / 1.329 GB, free: 20.14 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.9359, allocations: 19.23 kB / 1.329 GB, free: 20.13 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.9364, allocations: 305.7 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.9366, allocations: 0.7069 MB / 1.33 GB, free: 19.21 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.9366, allocations: 13.91 kB / 1.33 GB, free: 19.2 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.9366, allocations: 0.5312 kB / 1.33 GB, free: 19.2 MB / 1.061 GB Notification: Performance of Templates: time 0.003346/0.94, allocations: 1.495 MB / 1.331 GB, free: 19.06 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.551275614998303]