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.002412/0.002412, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.003182/0.003182, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.572/1.572, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.1/3.1, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.8108 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.145e-05, allocations: 7.188 kB / 0.8108 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002307/0.002339, allocations: 0.8358 MB / 0.8116 GB, free: 136 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.003689, allocations: 0.8758 MB / 0.8125 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.75e-05/0.003767, allocations: 0 / 0.8125 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.314e-05/0.00381, allocations: 9.125 kB / 0.8125 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.003931, allocations: 27.78 kB / 0.8125 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 8.497e-05/0.004016, allocations: 29.38 kB / 0.8126 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.004202, allocations: 119.7 kB / 0.8127 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.004358, allocations: 37.22 kB / 0.8127 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.004515, allocations: 71.81 kB / 0.8128 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.058e-05/0.004596, allocations: 36.59 kB / 0.8128 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.004624, allocations: 12 kB / 0.8128 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.387e-05/0.004648, allocations: 12.91 kB / 0.8128 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.004692, allocations: 23.92 kB / 0.8129 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.004745, allocations: 32.56 kB / 0.8129 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.004957, allocations: 139.5 kB / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.004959, allocations: 0.5625 kB / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.82e-07/0.00496, allocations: 5.188 kB / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.004965, allocations: 0 / 0.813 GB, free: 14.71 MB / 0.7292 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.0007225/0.005687, allocations: 450.2 kB / 0.8135 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.005732, allocations: 12.03 kB / 0.8135 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.005792, allocations: 20.84 kB / 0.8135 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.006027, allocations: 151.1 kB / 0.8136 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.006041, allocations: 4.562 kB / 0.8136 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.006065, allocations: 12.38 kB / 0.8137 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.006371, allocations: 113.1 kB / 0.8138 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.00638, allocations: 1.531 kB / 0.8138 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.006395, allocations: 4 kB / 0.8138 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.006403, allocations: 4 kB / 0.8138 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.006735, allocations: 89.09 kB / 0.8139 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007318/0.007467, allocations: 392.6 kB / 0.8142 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.007813, allocations: 104.5 kB / 0.8143 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.007979, allocations: 44.48 kB / 0.8144 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.008002, allocations: 7.984 kB / 0.8144 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.008041, allocations: 37.92 kB / 0.8144 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.008042, allocations: 1.375 kB / 0.8144 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0005863/0.008628, allocations: 154.8 kB / 0.8146 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.008677, allocations: 55.34 kB / 0.8146 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.008855, allocations: 197.9 kB / 0.8148 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.008879, allocations: 26.36 kB / 0.8148 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.008999, allocations: 154.9 kB / 0.815 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.009034, allocations: 36.45 kB / 0.815 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/0.009097, allocations: 31.36 kB / 0.815 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003043/0.009401, allocations: 0.4967 MB / 0.8155 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.009569, allocations: 41.34 kB / 0.8156 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.009733, allocations: 59.28 kB / 0.8156 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.01003, allocations: 102 kB / 0.8157 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01003, allocations: 0 / 0.8157 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003713/0.0104, allocations: 130.5 kB / 0.8159 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.01042, allocations: 7.469 kB / 0.8159 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.01042, allocations: 4 kB / 0.8159 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.01045, allocations: 3.938 kB / 0.8159 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.01058, allocations: 23.92 kB / 0.8159 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.01059, allocations: 4 kB / 0.8159 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.999e-05/0.01067, allocations: 11.94 kB / 0.8159 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.01069, allocations: 8 kB / 0.8159 GB, free: 11.57 MB / 0.7292 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 0.0001362/0.01083, allocations: 164.5 kB / 0.8161 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.01086, allocations: 8.453 kB / 0.8161 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/0.0109, allocations: 18.66 kB / 0.8161 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01091, allocations: 0 / 0.8161 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.01092, allocations: 7.984 kB / 0.8161 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.01092, allocations: 0 / 0.8161 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.01115, allocations: 160.5 kB / 0.8163 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01115, allocations: 1.219 kB / 0.8163 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.01127, allocations: 23.98 kB / 0.8163 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01127, allocations: 3.938 kB / 0.8163 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.01128, allocations: 5.375 kB / 0.8163 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01128, allocations: 0 / 0.8163 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01129, allocations: 0 / 0.8163 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/0.01175, allocations: 272.7 kB / 0.8165 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.902e-05/0.01177, allocations: 12.73 kB / 0.8166 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.01179, allocations: 0 / 0.8166 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.0119, allocations: 13.27 kB / 0.8166 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.01196, allocations: 11.98 kB / 0.8166 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.01197, allocations: 4 kB / 0.8166 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001118/0.01208, allocations: 146.1 kB / 0.8167 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01208, allocations: 0 / 0.8167 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002478/0.01233, allocations: 22.08 kB / 0.8167 GB, free: 10.65 MB / 0.7292 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 0.0001445/0.01247, allocations: 103.2 kB / 0.8168 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003739/0.01285, allocations: 102.8 kB / 0.8169 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.01285, allocations: 4 kB / 0.8169 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.01302, allocations: 55.59 kB / 0.817 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.01335, allocations: 23.84 kB / 0.817 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/0.01392, allocations: 230.6 kB / 0.8172 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.01402, allocations: 86.11 kB / 0.8173 GB, free: 10 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.103e-05/0.01408, allocations: 10.36 kB / 0.8173 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.01413, allocations: 16.44 kB / 0.8174 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/0.01413, allocations: 0.5 kB / 0.8174 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of Templates: time 0.004883/0.01901, allocations: 1.311 MB / 0.8186 GB, free: 8.746 MB / 0.7292 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.128996309940703]