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.001692/0.001692, allocations: 111.8 kB / 17.13 MB, free: 5.914 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.00207/0.00207, allocations: 206.5 kB / 20.09 MB, free: 2.965 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.565/1.565, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.207/3.207, allocations: 0.505 GB / 0.8073 GB, free: 2.047 MB / 0.6387 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.002055/0.002055, allocations: 71.89 kB / 1.173 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9697/0.9718, allocations: 180.2 MB / 1.349 GB, free: 5.402 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002318/0.9741, allocations: 0.8167 MB / 1.35 GB, free: 4.871 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.9753, allocations: 0.8627 MB / 1.351 GB, free: 4.219 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.9753, allocations: 5.281 kB / 1.351 GB, free: 4.215 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.959e-05/0.9754, allocations: 5.531 kB / 1.351 GB, free: 4.211 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.9755, allocations: 16.31 kB / 1.351 GB, free: 4.199 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.749e-05/0.9755, allocations: 30.45 kB / 1.351 GB, free: 4.18 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.9757, allocations: 95.22 kB / 1.351 GB, free: 4.133 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.9758, allocations: 32.8 kB / 1.351 GB, free: 4.113 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.976, allocations: 41.36 kB / 1.351 GB, free: 4.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.752e-05/0.976, allocations: 41.66 kB / 1.351 GB, free: 4.066 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.9761, allocations: 9.531 kB / 1.351 GB, free: 4.066 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.9761, allocations: 9.531 kB / 1.351 GB, free: 4.066 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.9761, allocations: 18.31 kB / 1.351 GB, free: 4.055 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.9762, allocations: 40.2 kB / 1.351 GB, free: 4.027 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.9764, allocations: 114.2 kB / 1.351 GB, free: 3.988 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.9764, allocations: 7.938 kB / 1.351 GB, free: 3.98 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9764, allocations: 3.938 kB / 1.351 GB, free: 3.977 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.9764, allocations: 0.6094 kB / 1.351 GB, free: 3.977 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.0006001/0.977, allocations: 402.4 kB / 1.351 GB, free: 3.586 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.977, allocations: 9.094 kB / 1.351 GB, free: 3.586 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.9771, allocations: 10.05 kB / 1.351 GB, free: 3.582 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.9773, allocations: 190.6 kB / 1.352 GB, free: 3.371 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.9773, allocations: 12.62 kB / 1.352 GB, free: 3.363 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.9773, allocations: 5.75 kB / 1.352 GB, free: 3.363 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.9777, allocations: 111.3 kB / 1.352 GB, free: 3.305 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.9777, allocations: 192 / 1.352 GB, free: 3.305 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.9777, allocations: 9.438 kB / 1.352 GB, free: 3.297 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.9777, allocations: 3.438 kB / 1.352 GB, free: 3.297 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/0.9781, allocations: 93.5 kB / 1.352 GB, free: 3.277 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005157/0.9786, allocations: 364.4 kB / 1.352 GB, free: 2.953 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.9789, allocations: 79.8 kB / 1.352 GB, free: 2.914 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.9791, allocations: 56.97 kB / 1.352 GB, free: 2.891 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.9791, allocations: 0 / 1.352 GB, free: 2.891 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.9791, allocations: 32.61 kB / 1.352 GB, free: 2.852 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.9791, allocations: 0 / 1.352 GB, free: 2.852 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006234/0.9797, allocations: 171.5 kB / 1.353 GB, free: 2.781 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.9797, allocations: 52.81 kB / 1.353 GB, free: 2.719 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.885e-05/0.9798, allocations: 118.9 kB / 1.353 GB, free: 2.609 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.9798, allocations: 25.7 kB / 1.353 GB, free: 2.578 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.9799, allocations: 106.8 kB / 1.353 GB, free: 2.477 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.9799, allocations: 25.78 kB / 1.353 GB, free: 2.457 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.9799, allocations: 14.84 kB / 1.353 GB, free: 2.441 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 5.853e-05/0.98, allocations: 322.4 kB / 1.353 GB, free: 2.121 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.9802, allocations: 40.14 kB / 1.353 GB, free: 2.113 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.9803, allocations: 36.64 kB / 1.353 GB, free: 2.109 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.9806, allocations: 96.2 kB / 1.353 GB, free: 2.074 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9807, allocations: 1.344 kB / 1.353 GB, free: 2.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003816/0.981, allocations: 123.1 kB / 1.353 GB, free: 2.02 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.9811, allocations: 4.5 kB / 1.353 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.9811, allocations: 1.922 kB / 1.353 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.9811, allocations: 0 / 1.353 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.9812, allocations: 24.92 kB / 1.353 GB, free: 2.016 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.9812, allocations: 4.5 kB / 1.353 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.782e-05/0.9813, allocations: 11.77 kB / 1.353 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.9813, allocations: 2.281 kB / 1.353 GB, free: 2.012 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 6.78e-05/0.9814, allocations: 123.9 kB / 1.354 GB, free: 1.887 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.9814, allocations: 6.938 kB / 1.354 GB, free: 1.883 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.9815, allocations: 10.36 kB / 1.354 GB, free: 1.875 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.9815, allocations: 1.281 kB / 1.354 GB, free: 1.875 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.9815, allocations: 14 kB / 1.354 GB, free: 1.863 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.9815, allocations: 0.6562 kB / 1.354 GB, free: 1.863 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.9816, allocations: 199.2 kB / 1.354 GB, free: 1.652 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9816, allocations: 0 / 1.354 GB, free: 1.652 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.9818, allocations: 22.2 kB / 1.354 GB, free: 1.652 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.9818, allocations: 0 / 1.354 GB, free: 1.652 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.9818, allocations: 0 / 1.354 GB, free: 1.652 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.9818, allocations: 2.094 kB / 1.354 GB, free: 1.652 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.9818, allocations: 3.938 kB / 1.354 GB, free: 1.648 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.9822, allocations: 223.5 kB / 1.354 GB, free: 1.488 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.9822, allocations: 83.7 kB / 1.354 GB, free: 1.391 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.9822, allocations: 1.672 kB / 1.354 GB, free: 1.391 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.9824, allocations: 11.2 kB / 1.354 GB, free: 1.391 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.9824, allocations: 14.66 kB / 1.354 GB, free: 1.383 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.9824, allocations: 9.062 kB / 1.354 GB, free: 1.375 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.754e-05/0.9825, allocations: 89.3 kB / 1.354 GB, free: 1.297 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.9825, allocations: 1.688 kB / 1.354 GB, free: 1.297 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002391/0.9827, allocations: 15.12 kB / 1.354 GB, free: 1.293 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.0001182/0.9828, allocations: 102 kB / 1.354 GB, free: 1.207 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004185/0.9832, allocations: 96.95 kB / 1.354 GB, free: 1.184 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.9832, allocations: 0 / 1.354 GB, free: 1.184 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.9834, allocations: 46.61 kB / 1.355 GB, free: 1.176 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.9838, allocations: 17.3 kB / 1.355 GB, free: 1.168 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004597/0.9842, allocations: 220.2 kB / 1.355 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.9844, allocations: 0.6929 MB / 1.355 GB, free: 288 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.9844, allocations: 11.28 kB / 1.355 GB, free: 280 kB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.9844, allocations: 0 / 1.355 GB, free: 280 kB / 1.045 GB Notification: Performance of Templates: time 0.003157/0.9876, allocations: 1.051 MB / 1.356 GB, free: 188 kB / 1.045 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.935857407996082]