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.001884/0.001884, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002363/0.002363, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.495/1.495, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.805/2.805, allocations: 377.9 MB / 0.6228 GB, free: 12.52 MB / 0.5919 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.002322/0.002322, allocations: 64.09 kB / 0.982 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9799/0.9822, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.001963/0.9841, allocations: 0.9122 MB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008484/0.985, allocations: 0.8985 MB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.9851, allocations: 2.719 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 6.142e-05/0.9851, allocations: 15.23 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.552e-05/0.9852, allocations: 11.81 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 8.673e-05/0.9853, allocations: 52.25 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.9854, allocations: 150.7 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.9856, allocations: 67.61 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.124e-05/0.9857, allocations: 66.94 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.9858, allocations: 60.8 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.9858, allocations: 21.5 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.9858, allocations: 20.69 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.9859, allocations: 35.86 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.9859, allocations: 55.31 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.9861, allocations: 212.4 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9861, allocations: 6.75 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9861, allocations: 0 / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.9861, allocations: 0 / 1.156 GB, free: 31.66 MB / 1.076 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.0005532/0.9866, allocations: 384.1 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.9867, allocations: 10.38 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.9867, allocations: 13.81 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.9869, allocations: 158.9 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.9869, allocations: 9.844 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.9869, allocations: 14.66 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.9873, allocations: 158.6 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.9873, allocations: 192 / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.9873, allocations: 14.72 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.9873, allocations: 6.781 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.9877, allocations: 143.4 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.9882, allocations: 393.8 kB / 1.158 GB, free: 30.74 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.9886, allocations: 159.2 kB / 1.158 GB, free: 30.67 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.9888, allocations: 80.25 kB / 1.158 GB, free: 30.64 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.9888, allocations: 0 / 1.158 GB, free: 30.64 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.9888, allocations: 33.47 kB / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.9888, allocations: 0 / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.0006156/0.9894, allocations: 223.3 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.9895, allocations: 58.5 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.26e-05/0.9895, allocations: 114.4 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.9895, allocations: 29.7 kB / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.9896, allocations: 117.7 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.9896, allocations: 47.84 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.9896, allocations: 26.34 kB / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.986e-05/0.9897, allocations: 320.7 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.9899, allocations: 58.7 kB / 1.159 GB, free: 29.81 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.99, allocations: 50.89 kB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.9903, allocations: 128.4 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.9903, allocations: 0 / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003563/0.9907, allocations: 174.9 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.9907, allocations: 8.875 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.9907, allocations: 0 / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.9907, allocations: 0 / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.9909, allocations: 35.91 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.9909, allocations: 3.938 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.272e-05/0.991, allocations: 26.55 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.991, allocations: 2.562 kB / 1.159 GB, free: 29.66 MB / 1.076 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 6.417e-05/0.9911, allocations: 122.8 kB / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.9911, allocations: 13.17 kB / 1.159 GB, free: 29.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.9911, allocations: 15 kB / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.9911, allocations: 0 / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.9911, allocations: 0 / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.9911, allocations: 9.391 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.9913, allocations: 157.3 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.9913, allocations: 3.938 kB / 1.16 GB, free: 29.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.9914, allocations: 45.05 kB / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.9914, allocations: 2.875 kB / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.9915, allocations: 8 kB / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.9915, allocations: 0 / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.9915, allocations: 0 / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.9918, allocations: 265.6 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.9918, allocations: 18.52 kB / 1.16 GB, free: 29.15 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.9919, allocations: 4 kB / 1.16 GB, free: 29.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.992, allocations: 15 kB / 1.16 GB, free: 29.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.992, allocations: 10.56 kB / 1.16 GB, free: 29.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.992, allocations: 2.656 kB / 1.16 GB, free: 29.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.275e-05/0.9921, allocations: 93.28 kB / 1.16 GB, free: 29.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9921, allocations: 0 / 1.16 GB, free: 29.06 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002304/0.9923, allocations: 31.92 kB / 1.16 GB, free: 29.05 MB / 1.076 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.38e-05/0.9924, allocations: 105.1 kB / 1.16 GB, free: 28.96 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003966/0.9928, allocations: 131.7 kB / 1.16 GB, free: 28.93 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9928, allocations: 0 / 1.16 GB, free: 28.93 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.993, allocations: 71.09 kB / 1.16 GB, free: 28.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.9933, allocations: 18.23 kB / 1.16 GB, free: 28.91 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.9938, allocations: 275.9 kB / 1.161 GB, free: 28.71 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.186e-05/0.9938, allocations: 102.5 kB / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.423e-05/0.9939, allocations: 6.625 kB / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.9939, allocations: 17 kB / 1.161 GB, free: 28.62 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.9939, allocations: 0 / 1.161 GB, free: 28.62 MB / 1.076 GB Notification: Performance of Templates: time 0.003643/0.9976, allocations: 1.179 MB / 1.162 GB, free: 28.48 MB / 1.076 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 -s ida -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: 8.999536736984737]