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.PIGain.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.001561/0.001561, allocations: 104.3 kB / 19.74 MB, free: 2.082 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.001508/0.001508, allocations: 217.8 kB / 23.04 MB, free: 4.867 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.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 3.546/3.546, allocations: 0.5097 GB / 0.8156 GB, free: 18.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [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.002376/0.002376, allocations: 67.22 kB / 1.185 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4195, allocations: 181.4 MB / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002369/0.4218, allocations: 0.9199 MB / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.423, allocations: 0.9066 MB / 1.364 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.92e-05/0.423, allocations: 0 / 1.364 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.403e-05/0.4231, allocations: 15.75 kB / 1.364 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.4232, allocations: 23.78 kB / 1.364 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.4233, allocations: 55.94 kB / 1.364 GB, free: 13.69 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.4235, allocations: 164.2 kB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.4237, allocations: 80.77 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.4238, allocations: 67.72 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.867e-05/0.4239, allocations: 71.66 kB / 1.365 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.424, allocations: 23.94 kB / 1.365 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.639e-05/0.424, allocations: 16 kB / 1.365 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.963e-05/0.424, allocations: 35.86 kB / 1.365 GB, free: 13.24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.703e-05/0.4241, allocations: 63.72 kB / 1.365 GB, free: 13.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.4243, allocations: 223 kB / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4243, allocations: 0 / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.522e-06/0.4243, allocations: 0 / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.4244, allocations: 0 / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007411/0.4251, allocations: 398 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4251, allocations: 12.03 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.4252, allocations: 20.8 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.4254, allocations: 154.6 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.4254, allocations: 12.7 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.4254, allocations: 12.38 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.4259, allocations: 192.7 kB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4259, allocations: 4.172 kB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.4259, allocations: 7.938 kB / 1.366 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.4259, allocations: 4 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.4264, allocations: 180.1 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/0.4271, allocations: 407.9 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.4274, allocations: 134.5 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.4277, allocations: 88.78 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.4277, allocations: 0 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.4277, allocations: 34.56 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.4278, allocations: 0 / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008348/0.4286, allocations: 260.7 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.4286, allocations: 55.41 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.4288, allocations: 130.1 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.4288, allocations: 29.7 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.4289, allocations: 124.2 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.4289, allocations: 39.64 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.33e-05/0.429, allocations: 37.7 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4291, allocations: 322.8 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.4293, allocations: 67.94 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.4296, allocations: 92.42 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.43, allocations: 174.3 kB / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.43, allocations: 0 / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005313/0.4306, allocations: 201.5 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.4306, allocations: 4 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4306, allocations: 0 / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4306, allocations: 4 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.4308, allocations: 39.91 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4308, allocations: 3.938 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.431, allocations: 27.92 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.431, allocations: 4 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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/0.4311, allocations: 129.8 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.4311, allocations: 7.953 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.4311, allocations: 16.77 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4311, allocations: 4 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.4311, allocations: 0 / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4311, allocations: 0 / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.4314, allocations: 177.1 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4314, allocations: 0 / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.4315, allocations: 39.91 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4315, allocations: 4 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.4316, allocations: 4 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4316, allocations: 3.984 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4316, allocations: 0 / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005693/0.4321, allocations: 281.8 kB / 1.369 GB, free: 8.844 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.4321, allocations: 7.953 kB / 1.369 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.4322, allocations: 12 kB / 1.369 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.4323, allocations: 19.97 kB / 1.369 GB, free: 8.805 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.4324, allocations: 11.98 kB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.4324, allocations: 0 / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.124e-05/0.4324, allocations: 103.2 kB / 1.369 GB, free: 8.691 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4324, allocations: 0 / 1.369 GB, free: 8.691 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002501/0.4327, allocations: 35.89 kB / 1.369 GB, free: 8.656 MB / 1.061 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 (13): * Single equations (assignments): 13 * 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.0001258/0.4328, allocations: 107.2 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000545/0.4334, allocations: 155.8 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4334, allocations: 0 / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.4336, allocations: 91.98 kB / 1.369 GB, free: 8.301 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.434, allocations: 26.52 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000616/0.4346, allocations: 282.8 kB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.751e-05/0.4347, allocations: 106.8 kB / 1.37 GB, free: 7.855 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.105e-05/0.4347, allocations: 12.34 kB / 1.37 GB, free: 7.844 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.4348, allocations: 15.44 kB / 1.37 GB, free: 7.828 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.4348, allocations: 0 / 1.37 GB, free: 7.828 MB / 1.061 GB Notification: Performance of Templates: time 0.004494/0.4393, allocations: 1.581 MB / 1.371 GB, free: 6.32 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.732714432058856]