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.001294/0.001294, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001775/0.001775, allocations: 217.9 kB / 23.01 MB, free: 4.609 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.57/3.57, allocations: 0.505 GB / 0.8108 GB, free: 22.12 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.00209/0.00209, allocations: 71.08 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3711, allocations: 180.2 MB / 1.354 GB, free: 8.016 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002144/0.3732, allocations: 0.8276 MB / 1.355 GB, free: 7.191 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3743, allocations: 0.8549 MB / 1.356 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.3744, allocations: 0 / 1.356 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.634e-05/0.3744, allocations: 11.86 kB / 1.356 GB, free: 6.312 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.915e-05/0.3745, allocations: 15.86 kB / 1.356 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.027e-05/0.3746, allocations: 23.97 kB / 1.356 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.3747, allocations: 99.77 kB / 1.356 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3749, allocations: 36.44 kB / 1.356 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.151e-05/0.3749, allocations: 35.86 kB / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.768e-05/0.375, allocations: 47.77 kB / 1.356 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.375, allocations: 8 kB / 1.356 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.448e-05/0.3751, allocations: 12 kB / 1.356 GB, free: 6.035 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.3751, allocations: 15.92 kB / 1.356 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.3751, allocations: 43.73 kB / 1.356 GB, free: 5.977 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.3753, allocations: 115.5 kB / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.3753, allocations: 0 / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3753, allocations: 4 kB / 1.356 GB, free: 5.859 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3753, allocations: 0 / 1.356 GB, free: 5.859 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.0005904/0.3759, allocations: 330 kB / 1.357 GB, free: 5.504 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3759, allocations: 8.031 kB / 1.357 GB, free: 5.496 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.376, allocations: 8.891 kB / 1.357 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.3762, allocations: 138.3 kB / 1.357 GB, free: 5.328 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3762, allocations: 8.375 kB / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.3762, allocations: 12.38 kB / 1.357 GB, free: 5.309 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.3765, allocations: 108.6 kB / 1.357 GB, free: 5.199 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3765, allocations: 192 / 1.357 GB, free: 5.199 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3765, allocations: 3.938 kB / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3765, allocations: 4 kB / 1.357 GB, free: 5.191 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.3769, allocations: 107.8 kB / 1.357 GB, free: 5.086 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.3773, allocations: 327.6 kB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.3776, allocations: 82.52 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.3778, allocations: 52.81 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.3778, allocations: 0 / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3778, allocations: 34.56 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.3778, allocations: 0 / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0005806/0.3784, allocations: 169.6 kB / 1.358 GB, free: 4.363 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.3784, allocations: 55.41 kB / 1.358 GB, free: 4.297 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.993e-05/0.3785, allocations: 117.8 kB / 1.358 GB, free: 4.172 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.3786, allocations: 25.7 kB / 1.358 GB, free: 4.141 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.3786, allocations: 100 kB / 1.358 GB, free: 4.039 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.3786, allocations: 19.8 kB / 1.358 GB, free: 4.02 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.3787, allocations: 30.02 kB / 1.358 GB, free: 3.984 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3788, allocations: 318.8 kB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.379, allocations: 35.95 kB / 1.358 GB, free: 3.629 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.3791, allocations: 39.97 kB / 1.358 GB, free: 3.59 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.3794, allocations: 88.72 kB / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3794, allocations: 4 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003325/0.3797, allocations: 125.5 kB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3798, allocations: 11.98 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3798, allocations: 0 / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3798, allocations: 0 / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.3799, allocations: 19.98 kB / 1.358 GB, free: 3.336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3799, allocations: 7.938 kB / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.551e-05/0.38, allocations: 19.98 kB / 1.359 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.38, allocations: 0 / 1.359 GB, free: 3.309 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 9.659e-05/0.3801, allocations: 121.8 kB / 1.359 GB, free: 3.18 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.3801, allocations: 7.953 kB / 1.359 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.3802, allocations: 8.375 kB / 1.359 GB, free: 3.164 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.3802, allocations: 0 / 1.359 GB, free: 3.164 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3802, allocations: 3.938 kB / 1.359 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3802, allocations: 7.938 kB / 1.359 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.3804, allocations: 164.7 kB / 1.359 GB, free: 2.949 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3804, allocations: 0 / 1.359 GB, free: 2.949 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.3805, allocations: 23.98 kB / 1.359 GB, free: 2.926 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3805, allocations: 3.984 kB / 1.359 GB, free: 2.922 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-06/0.3805, allocations: 0 / 1.359 GB, free: 2.922 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3805, allocations: 0 / 1.359 GB, free: 2.922 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3805, allocations: 7.938 kB / 1.359 GB, free: 2.914 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.3809, allocations: 215.4 kB / 1.359 GB, free: 2.688 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.3809, allocations: 15.89 kB / 1.359 GB, free: 2.672 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.3809, allocations: 3.984 kB / 1.359 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.381, allocations: 11.98 kB / 1.359 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.3811, allocations: 11.92 kB / 1.359 GB, free: 2.645 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3811, allocations: 7.938 kB / 1.359 GB, free: 2.637 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.644e-05/0.3812, allocations: 91.28 kB / 1.359 GB, free: 2.547 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3812, allocations: 0 / 1.359 GB, free: 2.547 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002269/0.3814, allocations: 12 kB / 1.359 GB, free: 2.535 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.0001116/0.3815, allocations: 103.2 kB / 1.359 GB, free: 2.426 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000374/0.3819, allocations: 92.83 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3819, allocations: 0 / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.382, allocations: 51.89 kB / 1.359 GB, free: 2.285 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.3824, allocations: 16.25 kB / 1.359 GB, free: 2.27 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.3828, allocations: 215.5 kB / 1.36 GB, free: 2.027 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.3831, allocations: 0.6924 MB / 1.36 GB, free: 1.309 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.3832, allocations: 11.44 kB / 1.36 GB, free: 1.297 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.3832, allocations: 0 / 1.36 GB, free: 1.297 MB / 1.045 GB Notification: Performance of Templates: time 0.002612/0.3858, allocations: 1.051 MB / 1.361 GB, free: 260 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/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.680623796011787]