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.PIDDerivativeTime.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.001844/0.001844, 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.002488/0.002488, allocations: 215.2 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.622/1.622, allocations: 230.6 MB / 256 MB, free: 8.008 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.651/3.651, allocations: 0.5049 GB / 0.81 GB, free: 22.05 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.PIDDerivativeTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDDerTim.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDDerTim.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime") [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.002084/0.002084, allocations: 69.89 kB / 1.177 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3861, allocations: 180.2 MB / 1.353 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002326/0.3884, allocations: 0.8205 MB / 1.354 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3897, allocations: 0.8666 MB / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.3897, allocations: 0 / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.587e-05/0.3898, allocations: 11.88 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.123e-05/0.3899, allocations: 11.81 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.023e-05/0.39, allocations: 27.97 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.3901, allocations: 91.77 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.3903, allocations: 40.42 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.3904, allocations: 35.86 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.3905, allocations: 43.78 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.3905, allocations: 16 kB / 1.355 GB, free: 5.961 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.614e-05/0.3906, allocations: 8 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.3906, allocations: 19.92 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.3906, allocations: 39.8 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.3908, allocations: 115.5 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3908, allocations: 0 / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3908, allocations: 4 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.3909, allocations: 0 / 1.355 GB, free: 5.777 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006757/0.3915, allocations: 326 kB / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3916, allocations: 8.031 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.3916, allocations: 12.83 kB / 1.356 GB, free: 5.406 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.3918, allocations: 138.4 kB / 1.356 GB, free: 5.246 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3919, allocations: 4.375 kB / 1.356 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.3919, allocations: 8.375 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.3922, allocations: 104.1 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.3922, allocations: 8.125 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.3922, allocations: 7.938 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3922, allocations: 4 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.3926, allocations: 91.91 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005604/0.3931, allocations: 335.6 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.3934, allocations: 82.53 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.3936, allocations: 48.81 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.3936, allocations: 4 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.3936, allocations: 30.56 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3936, allocations: 4 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006334/0.3943, allocations: 165.5 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.3943, allocations: 51.41 kB / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3944, allocations: 117.7 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3945, allocations: 33.7 kB / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.824e-05/0.3945, allocations: 100 kB / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.3946, allocations: 31.92 kB / 1.357 GB, free: 3.934 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.3946, allocations: 17.72 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3948, allocations: 310.8 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.395, allocations: 43.95 kB / 1.357 GB, free: 3.555 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.3951, allocations: 43.95 kB / 1.357 GB, free: 3.512 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.3954, allocations: 85.2 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3954, allocations: 3.938 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000359/0.3958, allocations: 133.5 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.3958, allocations: 4 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3958, allocations: 0 / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3958, allocations: 0 / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.396, allocations: 19.98 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.396, allocations: 3.938 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.427e-05/0.3961, allocations: 11.98 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3961, allocations: 4 kB / 1.358 GB, free: 3.242 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 (7): * Single equations (assignments): 7 * 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.0001073/0.3962, allocations: 129.7 kB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.3962, allocations: 7.953 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.3963, allocations: 8.375 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3963, allocations: 4 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3963, allocations: 3.938 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3963, allocations: 0 / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.3965, allocations: 164.7 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3965, allocations: 4 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.3966, allocations: 19.97 kB / 1.358 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3966, allocations: 4 kB / 1.358 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3966, allocations: 11.98 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3966, allocations: 4 kB / 1.358 GB, free: 2.836 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3966, allocations: 3.938 kB / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.3971, allocations: 207.4 kB / 1.358 GB, free: 2.613 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.3971, allocations: 19.83 kB / 1.358 GB, free: 2.594 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.3971, allocations: 7.984 kB / 1.358 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.3972, allocations: 11.98 kB / 1.358 GB, free: 2.574 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.3973, allocations: 11.92 kB / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3973, allocations: 0 / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.851e-05/0.3973, allocations: 91.59 kB / 1.358 GB, free: 2.473 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3973, allocations: 0 / 1.358 GB, free: 2.473 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002318/0.3976, allocations: 16 kB / 1.358 GB, free: 2.457 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 (7): * Single equations (assignments): 7 * 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.0001489/0.3977, allocations: 107.2 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003736/0.3981, allocations: 83.92 kB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3981, allocations: 3.938 kB / 1.359 GB, free: 2.258 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.3983, allocations: 47.94 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.3986, allocations: 23.92 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.3992, allocations: 181.9 kB / 1.359 GB, free: 1.984 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.3996, allocations: 0.6924 MB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.871e-05/0.3996, allocations: 4 kB / 1.36 GB, free: 1.262 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.3996, allocations: 11.44 kB / 1.36 GB, free: 1.25 MB / 1.045 GB Notification: Performance of SimCode: time 2.7e-07/0.3996, allocations: 0 / 1.36 GB, free: 1.25 MB / 1.045 GB Notification: Performance of Templates: time 0.004/0.4036, allocations: 0.9927 MB / 1.361 GB, free: 320 kB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.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.022930330131203]