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.0008482/0.0008482, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0009045/0.0009045, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.9127/0.9127, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.735/1.735, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.563e-06/1.563e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.562e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.001208/0.001223, allocations: 0.8304 MB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007416/0.001965, allocations: 0.8704 MB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.002005, allocations: 4 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.00203, allocations: 11.81 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.995e-05/0.00209, allocations: 19.78 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.421e-05/0.002145, allocations: 39.97 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.228e-05/0.002237, allocations: 115.7 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.328e-05/0.00233, allocations: 37.27 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.838e-05/0.002419, allocations: 67.83 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.002468, allocations: 39.88 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.00249, allocations: 12 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.0025, allocations: 12 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.002518, allocations: 19.92 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.002544, allocations: 35.91 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.00267, allocations: 149.5 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002672, allocations: 4 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002673, allocations: 0 / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.297e-06/0.002676, allocations: 0 / 1.003 GB, free: 10.71 MB / 0.9636 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.0003524/0.003029, allocations: 350.1 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.003056, allocations: 8.031 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.003079, allocations: 16.84 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.003204, allocations: 137.8 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.003214, allocations: 8.562 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.003225, allocations: 12.38 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.003429, allocations: 126.5 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.003435, allocations: 0 / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.003444, allocations: 4 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.003448, allocations: 4 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.003677, allocations: 127.9 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.004151, allocations: 316.3 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.004361, allocations: 102.6 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.004473, allocations: 68.8 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.004483, allocations: 4 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.004497, allocations: 30.56 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 7.72e-07/0.004497, allocations: 0 / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0003756/0.004873, allocations: 205.6 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.004898, allocations: 55.34 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.915e-05/0.004967, allocations: 132.7 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.004978, allocations: 29.7 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.005027, allocations: 116 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.005041, allocations: 19.8 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.005072, allocations: 29.7 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.966e-05/0.005142, allocations: 318.8 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.005245, allocations: 55.94 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.005357, allocations: 69.59 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.005564, allocations: 125.9 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.005566, allocations: 0 / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002397/0.005806, allocations: 169.5 kB / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.005815, allocations: 4 kB / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.005819, allocations: 0 / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.005827, allocations: 3.938 kB / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.854e-05/0.005905, allocations: 35.91 kB / 1.006 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.005909, allocations: 0 / 1.006 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.427e-05/0.005964, allocations: 23.97 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.005968, allocations: 4.031 kB / 1.006 GB, free: 7.867 MB / 0.9636 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 6.28e-05/0.006031, allocations: 117.8 kB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.006046, allocations: 7.953 kB / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.006065, allocations: 20.77 kB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.006067, allocations: 0 / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.006071, allocations: 0 / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.006073, allocations: 0 / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.006184, allocations: 149.2 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.006185, allocations: 0 / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.059e-05/0.006256, allocations: 31.97 kB / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.006257, allocations: 0 / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.006264, allocations: 7.938 kB / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.006265, allocations: 4 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006266, allocations: 0 / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.006522, allocations: 247.3 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-06/0.00653, allocations: 11.94 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.00654, allocations: 4 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.231e-05/0.006603, allocations: 11.98 kB / 1.006 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.006642, allocations: 15.97 kB / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.006646, allocations: 3.984 kB / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.795e-05/0.006684, allocations: 99.27 kB / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006684, allocations: 0 / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000147/0.006831, allocations: 23.89 kB / 1.006 GB, free: 7.07 MB / 0.9636 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 6.862e-05/0.006899, allocations: 113.2 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.007148, allocations: 119.9 kB / 1.007 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.007149, allocations: 0 / 1.007 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.007262, allocations: 67.94 kB / 1.007 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.007457, allocations: 20.06 kB / 1.007 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.007788, allocations: 239.3 kB / 1.007 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.078e-05/0.007839, allocations: 88.31 kB / 1.007 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.007878, allocations: 16.5 kB / 1.007 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.007878, allocations: 7.938 kB / 1.007 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of Templates: time 0.001783/0.009662, allocations: 1.335 MB / 1.008 GB, free: 5.023 MB / 0.9636 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: 6.452184514142573]