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.001984/0.001984, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002482/0.002482, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.561/1.561, allocations: 230.6 MB / 256 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.516/3.516, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.002174/0.002174, allocations: 62.81 kB / 1.186 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4436, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002366/0.4459, allocations: 0.9254 MB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.4471, allocations: 0.9104 MB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.74e-05/0.4472, allocations: 0 / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.833e-05/0.4472, allocations: 19.8 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.744e-05/0.4473, allocations: 15.81 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.4475, allocations: 59.88 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.4477, allocations: 168.2 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.4479, allocations: 72.75 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.448, allocations: 71.72 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.613e-05/0.4481, allocations: 59.69 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.4481, allocations: 24 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.581e-05/0.4482, allocations: 20 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.4482, allocations: 43.84 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.4483, allocations: 51.73 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.4485, allocations: 231 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4485, allocations: 0 / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4485, allocations: 0 / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.4485, allocations: 0 / 1.366 GB, free: 10.9 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.0007536/0.4493, allocations: 409.9 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4493, allocations: 12.03 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.4494, allocations: 16.84 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.4496, allocations: 150.6 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.4496, allocations: 12.7 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.4496, allocations: 16.38 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004593/0.4501, allocations: 180.8 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4501, allocations: 192 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.4501, allocations: 11.94 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.4501, allocations: 4 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/0.4507, allocations: 176.1 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006663/0.4513, allocations: 411.9 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.4517, allocations: 134.4 kB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.452, allocations: 84.8 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.452, allocations: 0 / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.452, allocations: 38.56 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.452, allocations: 0 / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008467/0.4529, allocations: 255.9 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.4529, allocations: 63.33 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.4531, allocations: 126.1 kB / 1.368 GB, free: 8.695 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.4531, allocations: 25.7 kB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.295e-05/0.4532, allocations: 128.2 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.4532, allocations: 51.62 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.4533, allocations: 29.72 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4534, allocations: 318.8 kB / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.4537, allocations: 67.88 kB / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.4539, allocations: 104.5 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/0.4544, allocations: 162.3 kB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4544, allocations: 4 kB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005521/0.455, allocations: 196.1 kB / 1.37 GB, free: 7.586 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.455, allocations: 7.984 kB / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.455, allocations: 0 / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.455, allocations: 8.062 kB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.4552, allocations: 39.97 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4552, allocations: 0 / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.4554, allocations: 23.92 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.4554, allocations: 4 kB / 1.37 GB, free: 7.504 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.0001192/0.4555, allocations: 134.8 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.4555, allocations: 7.953 kB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.4556, allocations: 12.78 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.4556, allocations: 8 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4556, allocations: 0 / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4556, allocations: 7.922 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.4558, allocations: 169.1 kB / 1.37 GB, free: 7.125 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4558, allocations: 4 kB / 1.37 GB, free: 7.121 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.456, allocations: 35.97 kB / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.456, allocations: 0 / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.456, allocations: 0 / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.456, allocations: 0 / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.456, allocations: 4 kB / 1.37 GB, free: 7.082 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.4566, allocations: 295.2 kB / 1.37 GB, free: 6.777 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.4566, allocations: 11.91 kB / 1.37 GB, free: 6.766 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.4566, allocations: 0 / 1.37 GB, free: 6.766 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.4568, allocations: 23.97 kB / 1.37 GB, free: 6.742 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.4568, allocations: 15.98 kB / 1.37 GB, free: 6.727 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.4568, allocations: 0 / 1.37 GB, free: 6.727 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.251e-05/0.4569, allocations: 95.27 kB / 1.37 GB, free: 6.633 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4569, allocations: 4 kB / 1.37 GB, free: 6.629 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000254/0.4572, allocations: 31.89 kB / 1.37 GB, free: 6.598 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.000128/0.4573, allocations: 103.2 kB / 1.371 GB, free: 6.488 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005565/0.4578, allocations: 159.8 kB / 1.371 GB, free: 6.332 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4578, allocations: 7.938 kB / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.4581, allocations: 75.88 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.4585, allocations: 28.03 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.4591, allocations: 281.9 kB / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.4592, allocations: 106.8 kB / 1.371 GB, free: 5.805 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.628e-05/0.4593, allocations: 12.34 kB / 1.371 GB, free: 5.793 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.4593, allocations: 15.38 kB / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4593, allocations: 0 / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of Templates: time 0.004642/0.464, allocations: 1.541 MB / 1.373 GB, free: 4.305 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 -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/jenkins/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.877768594771624]