Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.001374/0.001374, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001475/0.001475, allocations: 160.6 kB / 23.01 MB, free: 4.949 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.511/1.511, 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.822/2.822, allocations: 377.9 MB / 0.6228 GB, free: 12.6 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.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [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.002121/0.002121, allocations: 71.88 kB / 0.982 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.049, allocations: 176.1 MB / 1.154 GB, free: 33.54 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002659/1.052, allocations: 1.129 MB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001159/1.053, allocations: 0.9921 MB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/1.053, allocations: 3.062 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 6.899e-05/1.053, allocations: 26.58 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/1.053, allocations: 41.36 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/1.053, allocations: 89.41 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002519/1.054, allocations: 310.4 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/1.054, allocations: 140.4 kB / 1.157 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/1.054, allocations: 124.4 kB / 1.157 GB, free: 31.63 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/1.054, allocations: 101.1 kB / 1.157 GB, free: 31.58 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.562e-05/1.054, allocations: 34.09 kB / 1.157 GB, free: 31.58 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.886e-05/1.054, allocations: 36.97 kB / 1.157 GB, free: 31.58 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/1.054, allocations: 67.5 kB / 1.157 GB, free: 31.53 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.069e-05/1.054, allocations: 100 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004117/1.055, allocations: 455.3 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.055, allocations: 2.844 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.084e-06/1.055, allocations: 0 / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.811e-05/1.055, allocations: 0 / 1.157 GB, free: 31.3 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008383/1.056, allocations: 482 kB / 1.158 GB, free: 30.91 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/1.056, allocations: 8.906 kB / 1.158 GB, free: 30.91 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/1.056, allocations: 31.53 kB / 1.158 GB, free: 30.9 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/1.056, allocations: 202 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/1.056, allocations: 20.22 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/1.056, allocations: 25.28 kB / 1.158 GB, free: 30.7 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/1.057, allocations: 261.5 kB / 1.158 GB, free: 30.59 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/1.057, allocations: 6.688 kB / 1.158 GB, free: 30.58 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/1.057, allocations: 15.94 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/1.057, allocations: 8.344 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006032/1.057, allocations: 236 kB / 1.159 GB, free: 30.5 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009605/1.058, allocations: 0.5952 MB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/1.059, allocations: 207.3 kB / 1.159 GB, free: 30 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/1.059, allocations: 124.9 kB / 1.16 GB, free: 29.95 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/1.059, allocations: 0 / 1.16 GB, free: 29.95 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/1.059, allocations: 33.19 kB / 1.16 GB, free: 29.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.102e-06/1.059, allocations: 0 / 1.16 GB, free: 29.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0008877/1.06, allocations: 317.5 kB / 1.16 GB, free: 29.8 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/1.06, allocations: 57.23 kB / 1.16 GB, free: 29.74 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/1.06, allocations: 135.9 kB / 1.16 GB, free: 29.63 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/1.06, allocations: 29.7 kB / 1.16 GB, free: 29.59 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/1.06, allocations: 158.1 kB / 1.16 GB, free: 29.46 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/1.06, allocations: 67.88 kB / 1.16 GB, free: 29.41 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/1.06, allocations: 36.94 kB / 1.16 GB, free: 29.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.944e-05/1.06, allocations: 325.1 kB / 1.161 GB, free: 29.06 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/1.061, allocations: 90.64 kB / 1.161 GB, free: 29.03 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/1.061, allocations: 103 kB / 1.161 GB, free: 28.99 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/1.061, allocations: 191.5 kB / 1.161 GB, free: 28.92 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.061, allocations: 0 / 1.161 GB, free: 28.92 MB / 1.076 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005494/1.062, allocations: 237.2 kB / 1.161 GB, free: 28.83 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/1.062, allocations: 11.94 kB / 1.161 GB, free: 28.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.062, allocations: 7.125 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/1.062, allocations: 0 / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/1.062, allocations: 57.52 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.062, allocations: 0 / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/1.062, allocations: 30.06 kB / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/1.062, allocations: 9.812 kB / 1.161 GB, free: 28.8 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 (21): * Single equations (assignments): 21 * 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.0001027/1.062, allocations: 136.6 kB / 1.162 GB, free: 28.67 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/1.063, allocations: 17.84 kB / 1.162 GB, free: 28.66 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/1.063, allocations: 20.47 kB / 1.162 GB, free: 28.64 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/1.063, allocations: 7.922 kB / 1.162 GB, free: 28.64 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.063, allocations: 2.969 kB / 1.162 GB, free: 28.64 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/1.063, allocations: 7.172 kB / 1.162 GB, free: 28.63 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/1.063, allocations: 207.6 kB / 1.162 GB, free: 28.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.063, allocations: 0 / 1.162 GB, free: 28.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/1.063, allocations: 55.33 kB / 1.162 GB, free: 28.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/1.063, allocations: 3.656 kB / 1.162 GB, free: 28.45 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/1.063, allocations: 4 kB / 1.162 GB, free: 28.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/1.063, allocations: 3.281 kB / 1.162 GB, free: 28.45 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.063, allocations: 0 / 1.162 GB, free: 28.45 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/1.064, allocations: 332.6 kB / 1.162 GB, free: 28.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/1.064, allocations: 14.53 kB / 1.162 GB, free: 28.24 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/1.064, allocations: 18.03 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/1.064, allocations: 21.31 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/1.064, allocations: 13.11 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/1.064, allocations: 6.906 kB / 1.162 GB, free: 28.22 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.324e-05/1.064, allocations: 109.5 kB / 1.162 GB, free: 28.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.064, allocations: 0 / 1.162 GB, free: 28.14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002783/1.064, allocations: 47.62 kB / 1.162 GB, free: 28.12 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 (20): * Single equations (assignments): 20 * 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.0001166/1.064, allocations: 102.8 kB / 1.162 GB, free: 28.03 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005921/1.065, allocations: 195 kB / 1.163 GB, free: 27.98 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/1.065, allocations: 0 / 1.163 GB, free: 27.98 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002649/1.065, allocations: 102.2 kB / 1.163 GB, free: 27.96 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/1.066, allocations: 35.16 kB / 1.163 GB, free: 27.94 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/1.066, allocations: 427.9 kB / 1.163 GB, free: 27.66 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.532e-05/1.066, allocations: 124.2 kB / 1.163 GB, free: 27.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.293e-05/1.067, allocations: 14.84 kB / 1.163 GB, free: 27.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/1.067, allocations: 18.25 kB / 1.163 GB, free: 27.58 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/1.067, allocations: 3.938 kB / 1.163 GB, free: 27.57 MB / 1.076 GB Notification: Performance of Templates: time 0.005186/1.072, allocations: 1.713 MB / 1.165 GB, free: 27.35 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.329860877012834]