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.PIDGain.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.001683/0.001683, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.002205/0.002205, allocations: 159.2 kB / 23.01 MB, free: 4.941 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.539/1.539, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.808/2.808, allocations: 377.9 MB / 0.6228 GB, free: 12.55 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.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [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.002113/0.002113, allocations: 71.89 kB / 0.982 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.001795/1.023, allocations: 0.8241 MB / 1.155 GB, free: 32.81 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007741/1.024, allocations: 0.8721 MB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/1.024, allocations: 0 / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/1.024, allocations: 10.91 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.12e-05/1.024, allocations: 27.12 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 7.066e-05/1.024, allocations: 35.8 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/1.024, allocations: 107 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/1.024, allocations: 41.72 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.336e-05/1.024, allocations: 52.64 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.991e-05/1.024, allocations: 43.38 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/1.024, allocations: 10.41 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.522e-05/1.024, allocations: 13.38 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/1.025, allocations: 26.02 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/1.025, allocations: 39.28 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/1.025, allocations: 139.7 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.025, allocations: 0 / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.432e-06/1.025, allocations: 3.938 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.28e-06/1.025, allocations: 0 / 1.156 GB, free: 31.88 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005387/1.025, allocations: 363.6 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/1.025, allocations: 10.28 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/1.025, allocations: 10.11 kB / 1.156 GB, free: 31.56 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/1.025, allocations: 140.2 kB / 1.157 GB, free: 31.42 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/1.025, allocations: 10.14 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/1.025, allocations: 9.812 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/1.026, allocations: 126 kB / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/1.026, allocations: 0 / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/1.026, allocations: 6.594 kB / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.026, allocations: 2.656 kB / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00043/1.026, allocations: 122.8 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/1.027, allocations: 323 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/1.027, allocations: 108.3 kB / 1.157 GB, free: 31.01 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/1.027, allocations: 68.83 kB / 1.157 GB, free: 30.99 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/1.027, allocations: 0 / 1.157 GB, free: 30.99 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/1.027, allocations: 33.66 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/1.027, allocations: 0 / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0007144/1.028, allocations: 209.9 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/1.028, allocations: 51.41 kB / 1.158 GB, free: 30.82 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.935e-05/1.028, allocations: 133.8 kB / 1.158 GB, free: 30.7 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/1.028, allocations: 25.7 kB / 1.158 GB, free: 30.67 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/1.028, allocations: 111.8 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/1.028, allocations: 36.02 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/1.028, allocations: 17.94 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.871e-05/1.028, allocations: 325.2 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/1.029, allocations: 56.94 kB / 1.158 GB, free: 30.19 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/1.029, allocations: 67.47 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/1.029, allocations: 123.7 kB / 1.159 GB, free: 30.12 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.029, allocations: 0 / 1.159 GB, free: 30.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004477/1.03, allocations: 162.5 kB / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/1.03, allocations: 2.906 kB / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/1.03, allocations: 2.656 kB / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/1.03, allocations: 0 / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/1.03, allocations: 30.5 kB / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.03, allocations: 2.844 kB / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/1.03, allocations: 25.28 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/1.03, allocations: 6.875 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 5.74e-05/1.03, allocations: 123.3 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/1.03, allocations: 10.48 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/1.03, allocations: 11.62 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.03, allocations: 3.375 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/1.03, allocations: 0 / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/1.03, allocations: 0 / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/1.03, allocations: 147.2 kB / 1.159 GB, free: 29.76 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.03, allocations: 0 / 1.159 GB, free: 29.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/1.03, allocations: 37.27 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.03, allocations: 2.938 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/1.03, allocations: 4 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.03, allocations: 0 / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.03, allocations: 3.938 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/1.031, allocations: 255.4 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/1.031, allocations: 6.984 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/1.031, allocations: 10.83 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/1.031, allocations: 15.64 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/1.031, allocations: 10.19 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/1.031, allocations: 2.938 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.834e-05/1.031, allocations: 97.77 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.031, allocations: 0 / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002333/1.031, allocations: 19.75 kB / 1.159 GB, free: 29.48 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 (8): * Single equations (assignments): 8 * 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 8.419e-05/1.031, allocations: 104.1 kB / 1.16 GB, free: 29.39 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004614/1.032, allocations: 118.8 kB / 1.16 GB, free: 29.37 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.032, allocations: 2.75 kB / 1.16 GB, free: 29.37 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/1.032, allocations: 66.53 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/1.032, allocations: 17.42 kB / 1.16 GB, free: 29.35 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/1.033, allocations: 223 kB / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.155e-05/1.033, allocations: 86.53 kB / 1.16 GB, free: 29.1 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.058e-05/1.033, allocations: 6.234 kB / 1.16 GB, free: 29.1 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/1.033, allocations: 18.62 kB / 1.16 GB, free: 29.09 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/1.033, allocations: 0 / 1.16 GB, free: 29.09 MB / 1.076 GB Notification: Performance of Templates: time 0.003683/1.037, allocations: 1.276 MB / 1.161 GB, free: 28.95 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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: 9.133741823025048]