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.001417/0.001417, allocations: 79.83 kB / 19.18 MB, free: 2.516 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.001485/0.001485, allocations: 165 kB / 22.46 MB, free: 5.375 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.579/1.579, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.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.03/3.03, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.639e-05, allocations: 2.281 kB / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002146/0.002183, allocations: 0.785 MB / 1.001 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.003408, allocations: 0.8548 MB / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.003465, allocations: 4 kB / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.386e-05/0.003498, allocations: 7.875 kB / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.003599, allocations: 23.84 kB / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.726e-05/0.003676, allocations: 23.97 kB / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.003818, allocations: 95.77 kB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.003957, allocations: 32.44 kB / 1.002 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.004074, allocations: 51.89 kB / 1.002 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.004142, allocations: 35.89 kB / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.004171, allocations: 8 kB / 1.002 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.583e-05/0.004187, allocations: 8 kB / 1.002 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/0.004215, allocations: 19.92 kB / 1.002 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.004258, allocations: 31.92 kB / 1.002 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.004425, allocations: 115.6 kB / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004428, allocations: 0 / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004428, allocations: 0 / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.004432, allocations: 0 / 1.002 GB, free: 5.16 MB / 0.9512 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.0006148/0.005047, allocations: 326 kB / 1.003 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.00509, allocations: 11.98 kB / 1.003 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.005141, allocations: 20.83 kB / 1.003 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.005344, allocations: 129.6 kB / 1.003 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.005363, allocations: 12.38 kB / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.005379, allocations: 4.375 kB / 1.003 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.005716, allocations: 112.4 kB / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.005727, allocations: 192 / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.005742, allocations: 4.375 kB / 1.003 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.005747, allocations: 4.312 kB / 1.003 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003825/0.006129, allocations: 99.86 kB / 1.003 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.006625, allocations: 288.2 kB / 1.003 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.006919, allocations: 86.45 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.007109, allocations: 52.81 kB / 1.003 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.007125, allocations: 0 / 1.003 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.007154, allocations: 34.56 kB / 1.003 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.007154, allocations: 0 / 1.003 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.000637/0.007792, allocations: 165.7 kB / 1.003 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.007835, allocations: 51.41 kB / 1.004 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.888e-05/0.007933, allocations: 113.8 kB / 1.004 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.007956, allocations: 37.64 kB / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.008015, allocations: 96.08 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.00805, allocations: 23.75 kB / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.008092, allocations: 17.72 kB / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.008242, allocations: 326.8 kB / 1.004 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.008417, allocations: 35.95 kB / 1.004 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.00858, allocations: 39.97 kB / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.008925, allocations: 88.78 kB / 1.004 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.008927, allocations: 0 / 1.004 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003953/0.009322, allocations: 125.5 kB / 1.004 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.009339, allocations: 8 kB / 1.004 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.009343, allocations: 0 / 1.004 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.009357, allocations: 4 kB / 1.004 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.009519, allocations: 27.91 kB / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.009524, allocations: 0 / 1.004 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.009624, allocations: 15.98 kB / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.00963, allocations: 0 / 1.004 GB, free: 2.672 MB / 0.9512 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.0001039/0.009734, allocations: 122.2 kB / 1.005 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.009764, allocations: 7.953 kB / 1.005 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.009794, allocations: 12.42 kB / 1.005 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.009795, allocations: 4 kB / 1.005 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.009802, allocations: 4 kB / 1.005 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.009804, allocations: 4 kB / 1.005 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.009984, allocations: 133.5 kB / 1.005 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.009985, allocations: 0 / 1.005 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.01013, allocations: 19.98 kB / 1.005 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01013, allocations: 0 / 1.005 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.01014, allocations: 7.938 kB / 1.005 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.01014, allocations: 0 / 1.005 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.01014, allocations: 3.938 kB / 1.005 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.0106, allocations: 227.4 kB / 1.005 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-06/0.01061, allocations: 0 / 1.005 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.01062, allocations: 0 / 1.005 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.01075, allocations: 15.98 kB / 1.005 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.0108, allocations: 7.984 kB / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.01081, allocations: 0 / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.266e-05/0.01087, allocations: 91.27 kB / 1.005 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.01087, allocations: 4 kB / 1.005 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002435/0.01111, allocations: 19.95 kB / 1.005 GB, free: 1.945 MB / 0.9512 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.01123, allocations: 99.25 kB / 1.005 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004073/0.01164, allocations: 96.45 kB / 1.005 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01164, allocations: 0 / 1.005 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.01183, allocations: 47.97 kB / 1.005 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.01216, allocations: 16.23 kB / 1.005 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/0.01262, allocations: 193 kB / 1.006 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.568e-05/0.01271, allocations: 83.88 kB / 1.006 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.073e-05/0.01275, allocations: 4 kB / 1.006 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.01279, allocations: 12.5 kB / 1.006 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of SimCode: time 6.01e-07/0.01279, allocations: 0 / 1.006 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of Templates: time 0.004029/0.01682, allocations: 0.9972 MB / 1.007 GB, free: 412 kB / 0.9512 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: 8.53274042904377]