Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.001455/0.001455, allocations: 105.1 kB / 18.99 MB, free: 2.617 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.001535/0.001535, allocations: 222.4 kB / 22.29 MB, free: 5.281 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.1 MB, free: 7.805 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.617/3.617, allocations: 0.5096 GB / 0.8148 GB, free: 18.44 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.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [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.00222/0.00222, allocations: 63.97 kB / 1.184 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4388, allocations: 181.4 MB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.003216/0.442, allocations: 1.21 MB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002184/0.4442, allocations: 1.022 MB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003127/0.4445, allocations: 4 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.4446, allocations: 35.59 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.4449, allocations: 31.66 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.4452, allocations: 115.9 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005951/0.4458, allocations: 352.3 kB / 1.364 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004877/0.4463, allocations: 166.4 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.4466, allocations: 135.5 kB / 1.364 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.4468, allocations: 115.4 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.776e-05/0.4469, allocations: 44 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.26e-05/0.447, allocations: 48 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.656e-05/0.4471, allocations: 83.77 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.4473, allocations: 131.4 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007996/0.4481, allocations: 0.5293 MB / 1.365 GB, free: 11.63 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.4481, allocations: 3.984 kB / 1.365 GB, free: 11.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.747e-06/0.4481, allocations: 0 / 1.365 GB, free: 11.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.494e-05/0.4481, allocations: 0 / 1.365 GB, free: 11.62 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001214/0.4493, allocations: 0.5094 MB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.4494, allocations: 12.03 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.961e-05/0.4495, allocations: 28.75 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.4499, allocations: 214.7 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.4499, allocations: 25.03 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.4499, allocations: 28.38 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.4507, allocations: 314.6 kB / 1.366 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.4507, allocations: 8.172 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.4507, allocations: 15.94 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.4507, allocations: 8 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007619/0.4515, allocations: 282.4 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.4528, allocations: 0.6994 MB / 1.367 GB, free: 9.406 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007002/0.4535, allocations: 250.7 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/0.4539, allocations: 133.2 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.4539, allocations: 4 kB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.4539, allocations: 34.5 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/0.4539, allocations: 4 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.001076/0.455, allocations: 365.4 kB / 1.368 GB, free: 8.609 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.455, allocations: 55.41 kB / 1.368 GB, free: 8.543 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.4552, allocations: 147.8 kB / 1.368 GB, free: 8.391 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.4552, allocations: 29.64 kB / 1.368 GB, free: 8.355 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.4554, allocations: 172.5 kB / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/0.4554, allocations: 83.23 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.4556, allocations: 45.94 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4557, allocations: 326.8 kB / 1.369 GB, free: 7.715 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.456, allocations: 92.39 kB / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.4563, allocations: 131.4 kB / 1.369 GB, free: 7.488 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006444/0.457, allocations: 234.4 kB / 1.369 GB, free: 7.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.457, allocations: 0 / 1.369 GB, free: 7.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007408/0.4577, allocations: 282.2 kB / 1.37 GB, free: 6.969 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4578, allocations: 4 kB / 1.37 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4578, allocations: 4 kB / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.4578, allocations: 3.984 kB / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.4581, allocations: 63.91 kB / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.4581, allocations: 3.984 kB / 1.37 GB, free: 6.891 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.4583, allocations: 39.88 kB / 1.37 GB, free: 6.852 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.4583, allocations: 4 kB / 1.37 GB, free: 6.848 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 (27): * Single equations (assignments): 27 * 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.0001788/0.4585, allocations: 149.8 kB / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.4586, allocations: 15.89 kB / 1.37 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.369e-05/0.4586, allocations: 25.27 kB / 1.37 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4586, allocations: 4 kB / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4586, allocations: 0 / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.4586, allocations: 3.938 kB / 1.37 GB, free: 6.645 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.459, allocations: 241.1 kB / 1.37 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.459, allocations: 4 kB / 1.37 GB, free: 6.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.4593, allocations: 63.95 kB / 1.37 GB, free: 6.312 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4593, allocations: 3.938 kB / 1.37 GB, free: 6.309 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.4593, allocations: 0 / 1.37 GB, free: 6.309 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4593, allocations: 4 kB / 1.37 GB, free: 6.305 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4593, allocations: 0 / 1.37 GB, free: 6.305 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/0.4601, allocations: 379.1 kB / 1.371 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.4601, allocations: 19.91 kB / 1.371 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.4602, allocations: 0 / 1.371 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.4603, allocations: 23.97 kB / 1.371 GB, free: 5.875 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.4604, allocations: 15.97 kB / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.4604, allocations: 8 kB / 1.371 GB, free: 5.852 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.595e-05/0.4605, allocations: 113.2 kB / 1.371 GB, free: 5.742 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4605, allocations: 0 / 1.371 GB, free: 5.742 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003296/0.4609, allocations: 59.73 kB / 1.371 GB, free: 5.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 (25): * Single equations (assignments): 25 * 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.0001521/0.461, allocations: 115.2 kB / 1.371 GB, free: 5.562 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007162/0.4617, allocations: 223.8 kB / 1.371 GB, free: 5.344 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4617, allocations: 0 / 1.371 GB, free: 5.344 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003272/0.4621, allocations: 128.7 kB / 1.371 GB, free: 5.219 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.4625, allocations: 27.98 kB / 1.371 GB, free: 5.191 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.4636, allocations: 467.9 kB / 1.372 GB, free: 4.707 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.4638, allocations: 145.7 kB / 1.372 GB, free: 4.539 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.4639, allocations: 17.48 kB / 1.372 GB, free: 4.523 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/0.464, allocations: 15.44 kB / 1.372 GB, free: 4.508 MB / 1.061 GB Notification: Performance of SimCode: time 8.02e-07/0.464, allocations: 0 / 1.372 GB, free: 4.508 MB / 1.061 GB Notification: Performance of Templates: time 0.006755/0.4707, allocations: 2.09 MB / 1.374 GB, free: 2.477 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.200339496135712]