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.001671/0.001671, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002928/0.002928, allocations: 221.9 kB / 22.26 MB, free: 5.125 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.626/1.626, allocations: 230.6 MB / 256 MB, free: 7.965 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.367/3.367, allocations: 0.4899 GB / 0.795 GB, free: 33.43 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.002164/0.002164, allocations: 71.08 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4574/0.4596, allocations: 176.1 MB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002794/0.4624, allocations: 0.8117 MB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.4639, allocations: 0.8666 MB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.464, allocations: 4 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.51e-05/0.4641, allocations: 7.875 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.4642, allocations: 15.86 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.685e-05/0.4643, allocations: 31.95 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.4645, allocations: 91.78 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.4647, allocations: 32.44 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.4648, allocations: 39.86 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.163e-05/0.4649, allocations: 39.84 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.4649, allocations: 8 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.709e-05/0.465, allocations: 8 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.465, allocations: 23.92 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.685e-05/0.4651, allocations: 47.72 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.4653, allocations: 115.5 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4653, allocations: 0 / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.674e-06/0.4653, allocations: 0 / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.4653, allocations: 0 / 1.328 GB, free: 15.32 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.000745/0.466, allocations: 322 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.4661, allocations: 12.03 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.4661, allocations: 8.891 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.4664, allocations: 138.3 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.4664, allocations: 8.375 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.4665, allocations: 8.359 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.4668, allocations: 98.2 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.4668, allocations: 8.188 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.4668, allocations: 7.938 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4668, allocations: 3.938 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/0.4672, allocations: 97.22 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006136/0.4678, allocations: 339.6 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.4681, allocations: 78.47 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.4683, allocations: 56.81 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.4683, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.4683, allocations: 34.56 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.4683, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.000629/0.469, allocations: 165.9 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.469, allocations: 55.34 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.4691, allocations: 113.8 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.4692, allocations: 33.7 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.4692, allocations: 104 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.4693, allocations: 27.78 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.4693, allocations: 17.72 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4695, allocations: 314.8 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.4697, allocations: 39.95 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.4698, allocations: 48.02 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.4701, allocations: 84.8 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4701, allocations: 4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003601/0.4705, allocations: 129.5 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4705, allocations: 4 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4705, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.4705, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.4707, allocations: 19.98 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.4707, allocations: 3.938 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.922e-05/0.4708, allocations: 11.98 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.4708, allocations: 7.984 kB / 1.331 GB, free: 12.77 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.993e-05/0.4709, allocations: 118.4 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.4709, allocations: 7.953 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.471, allocations: 12.38 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.471, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.471, allocations: 4.312 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.471, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.4712, allocations: 168.7 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.4712, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.4713, allocations: 31.84 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4713, allocations: 4 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.4713, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4713, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4713, allocations: 3.938 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.4717, allocations: 215.4 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.4718, allocations: 15.88 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.4718, allocations: 7.938 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.4719, allocations: 11.98 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.472, allocations: 15.91 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.472, allocations: 0 / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.392e-05/0.472, allocations: 87.28 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.472, allocations: 0 / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002248/0.4722, allocations: 19.98 kB / 1.331 GB, free: 11.99 MB / 1.029 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.0001326/0.4724, allocations: 107.2 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003744/0.4728, allocations: 87.91 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.4728, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.4729, allocations: 51.89 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.4733, allocations: 23.98 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.4738, allocations: 187.8 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.4741, allocations: 0.6885 MB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.345e-05/0.4742, allocations: 8 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.4742, allocations: 15.42 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4742, allocations: 0 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of Templates: time 0.003964/0.4782, allocations: 0.9919 MB / 1.334 GB, free: 9.832 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/jenkins/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.875884795095772]