Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001404/0.001404, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001506/0.001506, allocations: 212 kB / 23 MB, free: 4.969 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.398/3.398, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002143/0.002143, allocations: 67.2 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.373, allocations: 176.1 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002432/0.3754, allocations: 0.7783 MB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.3766, allocations: 0.8627 MB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.3767, allocations: 0 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.531e-05/0.3767, allocations: 11.86 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.3768, allocations: 15.86 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.127e-05/0.3769, allocations: 31.97 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.377, allocations: 95.77 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.3772, allocations: 28.45 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.81e-05/0.3773, allocations: 39.84 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.206e-05/0.3774, allocations: 47.78 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.3774, allocations: 8 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.688e-05/0.3774, allocations: 8 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.3774, allocations: 15.98 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/0.3775, allocations: 35.8 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.3776, allocations: 115.5 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3777, allocations: 4 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3777, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3777, allocations: 3.938 kB / 1.329 GB, free: 14.94 MB / 1.029 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.0006446/0.3783, allocations: 326 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3783, allocations: 8.031 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.3784, allocations: 12.89 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.3786, allocations: 126.4 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.3786, allocations: 8.375 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.3786, allocations: 8.375 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.3789, allocations: 114 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3789, allocations: 4.188 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.379, allocations: 7.938 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.379, allocations: 0 / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.3793, allocations: 95.91 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.3798, allocations: 288.2 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.38, allocations: 78.53 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.3802, allocations: 52.81 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.3802, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.3802, allocations: 30.56 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3802, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005717/0.3808, allocations: 169.7 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.3808, allocations: 55.34 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.3809, allocations: 113.8 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.381, allocations: 25.7 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.381, allocations: 104 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.3811, allocations: 31.78 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.3811, allocations: 21.66 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3812, allocations: 322.8 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.3814, allocations: 35.95 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.3815, allocations: 43.95 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.3818, allocations: 88.73 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3818, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003318/0.3822, allocations: 121.6 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3822, allocations: 8 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3822, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3822, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.3824, allocations: 23.98 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3824, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.3825, allocations: 23.91 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.3825, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 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 9.926e-05/0.3826, allocations: 118.3 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.3826, allocations: 7.953 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.3826, allocations: 8.375 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3826, allocations: 0 / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3826, allocations: 0 / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.3826, allocations: 15.89 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.3827, allocations: 4 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3828, allocations: 15.97 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.3828, allocations: 3.984 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000436/0.3833, allocations: 212.9 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004313/0.3837, allocations: 303.2 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001617/0.3839, allocations: 52.02 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.183e-05/0.3839, allocations: 95.58 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of Backend: time 2.71e-07/0.3839, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004917/0.3844, allocations: 132.7 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006775/0.3851, allocations: 0.6054 MB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of Templates: time 0.004184/0.3893, allocations: 1.229 MB / 1.334 GB, free: 9.645 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.39140304600005]