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.001977/0.001977, allocations: 105.1 kB / 18.99 MB, free: 2.766 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.00277/0.00277, allocations: 221 kB / 22.29 MB, free: 5.145 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.655/1.655, allocations: 230.6 MB / 256.1 MB, free: 7.777 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.468/3.468, allocations: 0.5096 GB / 0.8148 GB, free: 18.34 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.002131/0.002131, allocations: 69.77 kB / 1.184 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.468/0.4702, allocations: 181.4 MB / 1.362 GB, free: 15.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.003378/0.4735, allocations: 0.7781 MB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.4754, allocations: 0.8587 MB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.4755, allocations: 0 / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.791e-05/0.4755, allocations: 15.86 kB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.4757, allocations: 11.86 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001065/0.4758, allocations: 31.97 kB / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.476, allocations: 91.83 kB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.4761, allocations: 24.45 kB / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.4763, allocations: 47.78 kB / 1.363 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.019e-05/0.4763, allocations: 35.84 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.4764, allocations: 8 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.708e-05/0.4764, allocations: 11.94 kB / 1.363 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.4764, allocations: 19.92 kB / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.924e-05/0.4765, allocations: 43.78 kB / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.4767, allocations: 107.6 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4768, allocations: 7.938 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.695e-06/0.4768, allocations: 0 / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.4768, allocations: 0 / 1.364 GB, free: 13.45 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007932/0.4776, allocations: 326 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.4776, allocations: 12.03 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.036e-05/0.4777, allocations: 8.891 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.4779, allocations: 130.4 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.4779, allocations: 8.375 kB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.478, allocations: 8.375 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.4783, allocations: 111.8 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.4783, allocations: 192 / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.4783, allocations: 7.938 kB / 1.364 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.4783, allocations: 0 / 1.364 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/0.4787, allocations: 99.84 kB / 1.364 GB, free: 12.69 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.4792, allocations: 292.2 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.4795, allocations: 78.53 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.4797, allocations: 52.8 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.4797, allocations: 0 / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.4797, allocations: 34.56 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4797, allocations: 0 / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006404/0.4804, allocations: 169.6 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.4804, allocations: 51.41 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.4806, allocations: 121.8 kB / 1.365 GB, free: 11.83 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.4806, allocations: 25.7 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.4807, allocations: 100.4 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.4807, allocations: 27.78 kB / 1.365 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.4808, allocations: 21.72 kB / 1.365 GB, free: 11.64 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.481, allocations: 318.8 kB / 1.365 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.4811, allocations: 39.91 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.4813, allocations: 39.95 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.4816, allocations: 93.23 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4816, allocations: 0 / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000334/0.4819, allocations: 125.5 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4819, allocations: 8 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4819, allocations: 3.938 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4819, allocations: 0 / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.4821, allocations: 23.98 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.4821, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.775e-05/0.4822, allocations: 23.91 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.4822, allocations: 0 / 1.366 GB, free: 10.96 MB / 1.061 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.0001017/0.4823, allocations: 114.9 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.4823, allocations: 7.953 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.4824, allocations: 8.375 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4824, allocations: 4 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4824, allocations: 3.938 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.4824, allocations: 7.938 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.4826, allocations: 129.3 kB / 1.366 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4826, allocations: 0 / 1.366 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.4827, allocations: 19.97 kB / 1.366 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4827, allocations: 4 kB / 1.366 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.4827, allocations: 0 / 1.366 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4827, allocations: 4 kB / 1.366 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4827, allocations: 0 / 1.366 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.4831, allocations: 223.4 kB / 1.366 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.4832, allocations: 11.88 kB / 1.366 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.4832, allocations: 4 kB / 1.366 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4833, allocations: 11.98 kB / 1.366 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.4833, allocations: 11.92 kB / 1.366 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.4833, allocations: 0 / 1.366 GB, free: 10.35 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.4e-05/0.4834, allocations: 91.22 kB / 1.366 GB, free: 10.26 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4834, allocations: 0 / 1.366 GB, free: 10.26 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002242/0.4836, allocations: 16.28 kB / 1.366 GB, free: 10.24 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 (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.0001322/0.4838, allocations: 111.2 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003664/0.4841, allocations: 91.91 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4841, allocations: 3.938 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.4843, allocations: 47.89 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.4847, allocations: 19.98 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.4852, allocations: 177.9 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.875e-05/0.4853, allocations: 75.89 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.495e-05/0.4854, allocations: 7.938 kB / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.4854, allocations: 11.44 kB / 1.367 GB, free: 9.648 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4854, allocations: 0 / 1.367 GB, free: 9.648 MB / 1.061 GB Notification: Performance of Templates: time 0.004373/0.4898, allocations: 1.089 MB / 1.368 GB, free: 8.625 MB / 1.061 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: 9.919557986781001]