Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001819/0.001819, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.00222/0.00222, allocations: 169.7 kB / 22.46 MB, free: 5.359 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.556/1.556, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.981/2.981, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 1 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.422e-05, allocations: 2.281 kB / 1 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002196/0.00223, allocations: 0.8276 MB / 1.001 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.003398, allocations: 0.8744 MB / 1.002 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.047e-05/0.003468, allocations: 4 kB / 1.002 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.774e-05/0.003506, allocations: 7.875 kB / 1.002 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.00362, allocations: 23.78 kB / 1.002 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 8.52e-05/0.003705, allocations: 31.97 kB / 1.002 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.003859, allocations: 119.6 kB / 1.002 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.004014, allocations: 53.19 kB / 1.002 GB, free: 4.215 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.004147, allocations: 59.89 kB / 1.002 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.649e-05/0.004224, allocations: 39.88 kB / 1.002 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.00425, allocations: 12 kB / 1.002 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.004267, allocations: 12 kB / 1.002 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.0043, allocations: 23.92 kB / 1.002 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.004344, allocations: 27.92 kB / 1.002 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.004536, allocations: 147.5 kB / 1.002 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.004538, allocations: 0 / 1.002 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004538, allocations: 4 kB / 1.002 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.004542, allocations: 0 / 1.002 GB, free: 3.895 MB / 0.9044 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.0006964/0.005239, allocations: 354.1 kB / 1.003 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.005277, allocations: 11.98 kB / 1.003 GB, free: 3.504 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.005316, allocations: 16.84 kB / 1.003 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.005521, allocations: 141.7 kB / 1.003 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.005537, allocations: 8.562 kB / 1.003 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.005558, allocations: 8.375 kB / 1.003 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.005955, allocations: 130.5 kB / 1.003 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.005966, allocations: 4 kB / 1.003 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.00598, allocations: 0 / 1.003 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.00599, allocations: 0 / 1.003 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005096/0.006499, allocations: 133.5 kB / 1.003 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.007084, allocations: 320.3 kB / 1.003 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.007503, allocations: 102.6 kB / 1.004 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.007761, allocations: 60.8 kB / 1.004 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.007778, allocations: 0 / 1.004 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.007809, allocations: 46.5 kB / 1.004 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 8.31e-07/0.00781, allocations: 0 / 1.004 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0008149/0.008625, allocations: 197.5 kB / 1.004 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.008663, allocations: 59.34 kB / 1.004 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.008801, allocations: 133.3 kB / 1.004 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.008822, allocations: 25.7 kB / 1.004 GB, free: 2.031 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/0.008895, allocations: 108 kB / 1.004 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.008921, allocations: 27.91 kB / 1.004 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.008973, allocations: 25.7 kB / 1.004 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.009108, allocations: 322.7 kB / 1.004 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.009348, allocations: 55.94 kB / 1.005 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.009595, allocations: 73.64 kB / 1.005 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004692/0.01006, allocations: 121.5 kB / 1.005 GB, free: 1.281 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.01007, allocations: 8 kB / 1.005 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005363/0.0106, allocations: 153.5 kB / 1.005 GB, free: 1.117 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.01062, allocations: 8 kB / 1.005 GB, free: 1.109 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01063, allocations: 0 / 1.005 GB, free: 1.109 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.01064, allocations: 0 / 1.005 GB, free: 1.109 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.01082, allocations: 39.94 kB / 1.005 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.01083, allocations: 4 kB / 1.005 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.01096, allocations: 19.92 kB / 1.005 GB, free: 1.047 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.01097, allocations: 4 kB / 1.005 GB, free: 1.043 MB / 0.9044 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 9.883e-05/0.01107, allocations: 123 kB / 1.005 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.0111, allocations: 7.953 kB / 1.005 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.01114, allocations: 16.77 kB / 1.005 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.01114, allocations: 0 / 1.005 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01114, allocations: 4 kB / 1.005 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01115, allocations: 0 / 1.005 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.01133, allocations: 149.2 kB / 1.005 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01134, allocations: 0 / 1.005 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.0115, allocations: 27.97 kB / 1.005 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.01151, allocations: 0 / 1.005 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.01151, allocations: 0 / 1.005 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.01152, allocations: 3.938 kB / 1.005 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01152, allocations: 0 / 1.005 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005651/0.01208, allocations: 251.7 kB / 1.006 GB, free: 428 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.0121, allocations: 16.06 kB / 1.006 GB, free: 412 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.01212, allocations: 4 kB / 1.006 GB, free: 408 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.01227, allocations: 19.92 kB / 1.006 GB, free: 388 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/0.01234, allocations: 15.97 kB / 1.006 GB, free: 372 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.01234, allocations: 4 kB / 1.006 GB, free: 368 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.284e-05/0.01241, allocations: 95.27 kB / 1.006 GB, free: 272 kB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/0.01241, allocations: 0 / 1.006 GB, free: 272 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000257/0.01266, allocations: 23.95 kB / 1.006 GB, free: 248 kB / 0.9044 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.0001175/0.01278, allocations: 95.25 kB / 1.006 GB, free: 144 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005256/0.01331, allocations: 131.9 kB / 1.006 GB, free: 12 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01331, allocations: 4 kB / 1.006 GB, free: 8 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.01358, allocations: 63.88 kB / 1.006 GB, free: 15.95 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.01393, allocations: 23.94 kB / 1.006 GB, free: 15.92 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.01442, allocations: 207.9 kB / 1.006 GB, free: 15.69 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.191e-05/0.0145, allocations: 85.25 kB / 1.006 GB, free: 15.59 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.315e-05/0.01455, allocations: 7.984 kB / 1.006 GB, free: 15.58 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.0146, allocations: 16.5 kB / 1.006 GB, free: 15.57 MB / 0.92 GB Notification: Performance of SimCode: time 4.31e-07/0.0146, allocations: 0 / 1.006 GB, free: 15.57 MB / 0.92 GB Notification: Performance of Templates: time 0.004365/0.01896, allocations: 1.297 MB / 1.008 GB, free: 14.34 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.649560119956732]