Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.001762/0.001762, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002134/0.002134, allocations: 215.1 kB / 22.24 MB, free: 4.855 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.607/1.607, 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.648/3.648, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [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.002392/0.002392, allocations: 68.39 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4479, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002724/0.4506, allocations: 1.132 MB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.4521, allocations: 0.9951 MB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.4522, allocations: 4 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.074e-05/0.4523, allocations: 27.66 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.4524, allocations: 43.53 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.4526, allocations: 95.91 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.453, allocations: 307.4 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/0.4533, allocations: 142 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.4535, allocations: 111.6 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.4536, allocations: 103.5 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.179e-05/0.4537, allocations: 36 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.315e-05/0.4537, allocations: 36 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.259e-05/0.4538, allocations: 67.78 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.4539, allocations: 99.53 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00048/0.4544, allocations: 446.2 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.4544, allocations: 4 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4544, allocations: 3.938 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.4544, allocations: 4 kB / 1.367 GB, free: 9.977 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009104/0.4553, allocations: 481.8 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.4554, allocations: 12.03 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.4554, allocations: 24.8 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.4558, allocations: 205 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.4558, allocations: 29.03 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.4558, allocations: 24.38 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/0.4564, allocations: 266.6 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4564, allocations: 192 / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.4565, allocations: 11.94 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4565, allocations: 8 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006541/0.4571, allocations: 234.5 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.4582, allocations: 0.5977 MB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.4588, allocations: 214.7 kB / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.4591, allocations: 112.7 kB / 1.37 GB, free: 7.684 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.4592, allocations: 0 / 1.37 GB, free: 7.684 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.4592, allocations: 34.91 kB / 1.37 GB, free: 7.641 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.082e-06/0.4592, allocations: 0 / 1.37 GB, free: 7.641 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0009463/0.4601, allocations: 317.3 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.4602, allocations: 51.41 kB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.4604, allocations: 147.9 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.4604, allocations: 29.7 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.4605, allocations: 152.6 kB / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.223e-05/0.4606, allocations: 71.38 kB / 1.37 GB, free: 6.852 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.4606, allocations: 33.72 kB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4608, allocations: 330.8 kB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.4611, allocations: 79.92 kB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.4614, allocations: 113.5 kB / 1.371 GB, free: 6.285 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/0.4619, allocations: 192 kB / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4619, allocations: 0 / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006246/0.4626, allocations: 239.5 kB / 1.371 GB, free: 5.855 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.4626, allocations: 8 kB / 1.371 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4626, allocations: 0 / 1.371 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4626, allocations: 0 / 1.371 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.4629, allocations: 55.89 kB / 1.371 GB, free: 5.793 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4629, allocations: 4.031 kB / 1.371 GB, free: 5.789 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.463, allocations: 35.8 kB / 1.371 GB, free: 5.754 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.463, allocations: 4 kB / 1.371 GB, free: 5.75 MB / 1.061 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 (21): * Single equations (assignments): 21 * 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.0001531/0.4632, allocations: 141.8 kB / 1.371 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.4632, allocations: 15.91 kB / 1.371 GB, free: 5.586 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.993e-05/0.4633, allocations: 17.12 kB / 1.372 GB, free: 5.566 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4633, allocations: 4 kB / 1.372 GB, free: 5.562 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4633, allocations: 0 / 1.372 GB, free: 5.562 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.4633, allocations: 11.92 kB / 1.372 GB, free: 5.551 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.4636, allocations: 209.1 kB / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4636, allocations: 0 / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.4638, allocations: 47.95 kB / 1.372 GB, free: 5.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4638, allocations: 0 / 1.372 GB, free: 5.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.4638, allocations: 4 kB / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4638, allocations: 4 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4638, allocations: 0 / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/0.4645, allocations: 335.2 kB / 1.372 GB, free: 4.918 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.4645, allocations: 23.88 kB / 1.372 GB, free: 4.895 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.4645, allocations: 4 kB / 1.372 GB, free: 4.891 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.4647, allocations: 19.98 kB / 1.372 GB, free: 4.871 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.4647, allocations: 15.97 kB / 1.372 GB, free: 4.855 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.4648, allocations: 4 kB / 1.372 GB, free: 4.852 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.58e-05/0.4648, allocations: 121.2 kB / 1.372 GB, free: 4.734 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4648, allocations: 0 / 1.372 GB, free: 4.734 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002904/0.4651, allocations: 51.78 kB / 1.372 GB, free: 4.684 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 (20): * Single equations (assignments): 20 * 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.000136/0.4653, allocations: 103.2 kB / 1.372 GB, free: 4.574 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006217/0.4659, allocations: 197.9 kB / 1.373 GB, free: 4.383 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4659, allocations: 0 / 1.373 GB, free: 4.383 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.4662, allocations: 107.8 kB / 1.373 GB, free: 4.277 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.4666, allocations: 30.11 kB / 1.373 GB, free: 4.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.4674, allocations: 415.2 kB / 1.373 GB, free: 3.816 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.4675, allocations: 133.6 kB / 1.373 GB, free: 3.672 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.676e-05/0.4676, allocations: 17.42 kB / 1.373 GB, free: 3.652 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.4677, allocations: 19.44 kB / 1.373 GB, free: 3.633 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/0.4677, allocations: 0 / 1.373 GB, free: 3.633 MB / 1.061 GB Notification: Performance of Templates: time 0.005648/0.4733, allocations: 1.902 MB / 1.375 GB, free: 1.793 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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: 10.03861953318119]