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.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.002007/0.002007, allocations: 103 kB / 16.45 MB, free: 6.449 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.002539/0.002539, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.549/1.549, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.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 3.612/3.612, allocations: 0.4899 GB / 0.7915 GB, free: 33.46 MB / 0.6231 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.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_12_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_12_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.002052/0.002052, allocations: 68.81 kB / 1.149 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.431, allocations: 176.1 MB / 1.321 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002589/0.4336, allocations: 1.018 MB / 1.322 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.435, allocations: 0.9133 MB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.65e-05/0.435, allocations: 0 / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.328e-05/0.4351, allocations: 15.75 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.4352, allocations: 19.8 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.4353, allocations: 51.94 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.4356, allocations: 164.2 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.4358, allocations: 81.42 kB / 1.323 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.4359, allocations: 71.72 kB / 1.324 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.4361, allocations: 75.67 kB / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.4361, allocations: 16 kB / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.653e-05/0.4361, allocations: 20 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.014e-05/0.4362, allocations: 43.84 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.108e-05/0.4362, allocations: 71.61 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.4365, allocations: 227 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4365, allocations: 0 / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4366, allocations: 0 / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.4366, allocations: 0 / 1.324 GB, free: 56 kB / 1.014 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.0009026/0.4375, allocations: 479.3 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.4375, allocations: 15.97 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.4376, allocations: 20.8 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.4378, allocations: 208.5 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.4379, allocations: 8.703 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.4379, allocations: 20.38 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/0.4384, allocations: 184.6 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4384, allocations: 192 / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.4384, allocations: 15.94 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.4384, allocations: 4 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005735/0.439, allocations: 172.1 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007933/0.4398, allocations: 0.5079 MB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.4402, allocations: 153.3 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.4405, allocations: 84.8 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.4405, allocations: 0 / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.4406, allocations: 30.56 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.4406, allocations: 4 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0009176/0.4415, allocations: 249.4 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.4415, allocations: 55.41 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.4417, allocations: 134.1 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.4417, allocations: 25.7 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.896e-05/0.4418, allocations: 128.2 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.4418, allocations: 47.59 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.4419, allocations: 25.72 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.4421, allocations: 326.8 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.4423, allocations: 67.94 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.4426, allocations: 93.17 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005243/0.4431, allocations: 166.7 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4431, allocations: 0 / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000599/0.4437, allocations: 198.5 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4437, allocations: 4 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4437, allocations: 0 / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.4438, allocations: 4 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.444, allocations: 43.95 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.444, allocations: 3.938 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.4442, allocations: 27.88 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.4442, allocations: 8.062 kB / 1.327 GB, free: 12.36 MB / 1.029 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.0001296/0.4443, allocations: 137.7 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.4443, allocations: 7.953 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.4444, allocations: 12.84 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.4444, allocations: 4 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4444, allocations: 0 / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4444, allocations: 0 / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.4447, allocations: 253.4 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4447, allocations: 0 / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.4449, allocations: 43.89 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.4449, allocations: 4 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.4449, allocations: 4 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4449, allocations: 0 / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4449, allocations: 0 / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006328/0.4455, allocations: 283.8 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.4456, allocations: 85.06 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.4456, allocations: 4 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.4458, allocations: 19.97 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.4459, allocations: 15.92 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.4459, allocations: 4 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.116e-05/0.4459, allocations: 103.3 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4459, allocations: 0 / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002547/0.4462, allocations: 31.89 kB / 1.328 GB, free: 11.27 MB / 1.029 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.0001448/0.4463, allocations: 107.2 kB / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006285/0.447, allocations: 165.6 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.447, allocations: 0 / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.4473, allocations: 79.92 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.4476, allocations: 26.12 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007003/0.4483, allocations: 286.5 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.4487, allocations: 0.7158 MB / 1.33 GB, free: 9.848 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.758e-05/0.4488, allocations: 8.422 kB / 1.33 GB, free: 9.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.4488, allocations: 15.44 kB / 1.33 GB, free: 9.824 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.4488, allocations: 0 / 1.33 GB, free: 9.824 MB / 1.029 GB Notification: Performance of Templates: time 0.004511/0.4534, allocations: 1.41 MB / 1.331 GB, free: 8.461 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.954089532140642]