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.PIDIntegralTime.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.001622/0.001622, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001982/0.001982, allocations: 217 kB / 22.25 MB, free: 5.082 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 8.035 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.503/3.503, allocations: 0.5049 GB / 0.81 GB, free: 22.02 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.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") [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.002141/0.002141, allocations: 66.56 kB / 1.177 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4576, allocations: 180.2 MB / 1.353 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002467/0.4601, allocations: 0.8663 MB / 1.354 GB, free: 7.098 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.4615, allocations: 0.8744 MB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.4616, allocations: 0 / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.562e-05/0.4616, allocations: 15.8 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.4617, allocations: 11.86 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.423e-05/0.4618, allocations: 35.95 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.462, allocations: 111.8 kB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.4622, allocations: 45.5 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.4623, allocations: 39.86 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.62e-05/0.4624, allocations: 55.7 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.4625, allocations: 16 kB / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.966e-05/0.4625, allocations: 12 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.4625, allocations: 27.91 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.145e-05/0.4626, allocations: 47.73 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.4629, allocations: 139.4 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.4629, allocations: 0 / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.065e-06/0.4629, allocations: 0 / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.4629, allocations: 4 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006858/0.4636, allocations: 345.9 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4636, allocations: 11.97 kB / 1.356 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.4637, allocations: 16.84 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.4639, allocations: 142.3 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4639, allocations: 8.375 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.464, allocations: 12.38 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.4643, allocations: 114.2 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4643, allocations: 4.188 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.4643, allocations: 11.94 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4643, allocations: 3.938 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.4647, allocations: 108.8 kB / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006074/0.4653, allocations: 363.6 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.4657, allocations: 110.8 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.4659, allocations: 64.75 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.4659, allocations: 0 / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.4659, allocations: 38.56 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 9.21e-07/0.4659, allocations: 4 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006296/0.4665, allocations: 177.4 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.4666, allocations: 55.41 kB / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.4667, allocations: 117.8 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.4667, allocations: 26.08 kB / 1.357 GB, free: 3.797 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.4668, allocations: 108 kB / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.4668, allocations: 31.73 kB / 1.357 GB, free: 3.656 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.4669, allocations: 21.72 kB / 1.357 GB, free: 3.629 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0003185/0.4672, allocations: 322.8 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.4674, allocations: 43.95 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.4675, allocations: 43.97 kB / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.4678, allocations: 100.7 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4678, allocations: 0 / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004822/0.4683, allocations: 137.5 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.4683, allocations: 9.859 kB / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4683, allocations: 3.938 kB / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.088e-05/0.4684, allocations: 3.938 kB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.4685, allocations: 23.98 kB / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.4685, allocations: 0 / 1.358 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.321e-05/0.4686, allocations: 15.98 kB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.4686, allocations: 7.984 kB / 1.358 GB, free: 2.914 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 0.0001332/0.4688, allocations: 125.8 kB / 1.358 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.4688, allocations: 7.938 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.4688, allocations: 12.38 kB / 1.358 GB, free: 2.758 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4688, allocations: 3.938 kB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4688, allocations: 4 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4688, allocations: 3.938 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.4691, allocations: 180.6 kB / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4691, allocations: 0 / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.4692, allocations: 32.25 kB / 1.358 GB, free: 2.496 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4692, allocations: 0 / 1.358 GB, free: 2.496 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.4692, allocations: 4 kB / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.4693, allocations: 11.88 kB / 1.358 GB, free: 2.48 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4693, allocations: 0 / 1.358 GB, free: 2.48 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004604/0.4697, allocations: 235.4 kB / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.4697, allocations: 7.953 kB / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4697, allocations: 0 / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.4699, allocations: 15.92 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/0.4699, allocations: 7.984 kB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.4699, allocations: 4 kB / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.212e-05/0.47, allocations: 91.27 kB / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.47, allocations: 0 / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000244/0.4703, allocations: 23.95 kB / 1.359 GB, free: 2.086 MB / 1.045 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 (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 Backend phase and start with SimCode phase: time 0.0001524/0.4704, allocations: 101.1 kB / 1.359 GB, free: 1.98 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004478/0.4709, allocations: 99.84 kB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4709, allocations: 0 / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.471, allocations: 63.89 kB / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.4714, allocations: 15.94 kB / 1.359 GB, free: 1.805 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005408/0.4719, allocations: 213.7 kB / 1.359 GB, free: 1.566 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.4723, allocations: 0.7002 MB / 1.36 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.629e-05/0.4724, allocations: 4.469 kB / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.4724, allocations: 11.44 kB / 1.36 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.4724, allocations: 0 / 1.36 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of Templates: time 0.004372/0.4768, allocations: 1.077 MB / 1.361 GB, free: 15.8 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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.823568800929934]