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.001167/0.001167, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001999/0.003166, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001211/0.001211, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001353/0.002564, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.023/1.023, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1221/1.145, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.912/1.912, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5325/2.444, allocations: 123.3 MB / 0.728 GB, free: 5.812 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.37e-05, allocations: 4.25 kB / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.001944/0.001968, allocations: 0.8499 MB / 0.7301 GB, free: 3.711 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009947/0.002962, allocations: 0.883 MB / 0.731 GB, free: 2.816 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.003007, allocations: 1.406 kB / 0.731 GB, free: 2.816 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.003043, allocations: 7.875 kB / 0.731 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.003104, allocations: 15.31 kB / 0.731 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.657e-05/0.003171, allocations: 29.25 kB / 0.7311 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.003303, allocations: 96.53 kB / 0.7311 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.003433, allocations: 33.64 kB / 0.7312 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.003566, allocations: 69.45 kB / 0.7312 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/0.00363, allocations: 28.84 kB / 0.7313 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.003657, allocations: 12 kB / 0.7313 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.00367, allocations: 8 kB / 0.7313 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.003693, allocations: 16.44 kB / 0.7313 GB, free: 2.523 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.00373, allocations: 20.81 kB / 0.7313 GB, free: 2.504 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.003851, allocations: 59.75 kB / 0.7314 GB, free: 2.445 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.849e-05/0.00387, allocations: 0 / 0.7314 GB, free: 2.445 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003871, allocations: 5.375 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.879e-05/0.003889, allocations: 0 / 0.7314 GB, free: 2.441 MB / 0.698 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.0004863/0.004376, allocations: 297 kB / 0.7317 GB, free: 2.125 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.004413, allocations: 8.031 kB / 0.7317 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.004448, allocations: 13.62 kB / 0.7317 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.004596, allocations: 129.6 kB / 0.7318 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.00461, allocations: 10.16 kB / 0.7318 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.004622, allocations: 4.375 kB / 0.7318 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.004796, allocations: 89.88 kB / 0.7319 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.004804, allocations: 192 / 0.7319 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.004815, allocations: 9.344 kB / 0.7319 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.004823, allocations: 384 / 0.7319 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.428e-05/0.004877, allocations: 27.86 kB / 0.732 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.005208, allocations: 217.2 kB / 0.7322 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.00531, allocations: 39.02 kB / 0.7322 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.005345, allocations: 21.72 kB / 0.7322 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.639e-06/0.005355, allocations: 0 / 0.7322 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.005378, allocations: 34.56 kB / 0.7322 GB, free: 1.473 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.005379, allocations: 0.875 kB / 0.7323 GB, free: 1.473 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001533/0.005533, allocations: 65.75 kB / 0.7323 GB, free: 1.402 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.005568, allocations: 51.97 kB / 0.7324 GB, free: 1.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.00574, allocations: 124.4 kB / 0.7325 GB, free: 1.207 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.005753, allocations: 25.7 kB / 0.7325 GB, free: 1.176 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.005794, allocations: 100 kB / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.005826, allocations: 31.73 kB / 0.7326 GB, free: 1.043 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.005862, allocations: 17.72 kB / 0.7326 GB, free: 1.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.545e-05/0.005948, allocations: 320 kB / 0.733 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.005968, allocations: 7.984 kB / 0.733 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.005986, allocations: 4 kB / 0.733 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.741e-05/0.006033, allocations: 29.8 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/0.006037, allocations: 3.938 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.167e-05/0.006119, allocations: 49.62 kB / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.006132, allocations: 4.969 kB / 0.733 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.006139, allocations: 8 kB / 0.7331 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/0.006149, allocations: 4.438 kB / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.006261, allocations: 16.73 kB / 0.7331 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.006267, allocations: 0 / 0.7331 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.006308, allocations: 13.02 kB / 0.7331 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.006313, allocations: 0 / 0.7331 GB, free: 0.5547 MB / 0.698 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 6.409e-05/0.006377, allocations: 114.5 kB / 0.7332 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.006401, allocations: 4 kB / 0.7332 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.006429, allocations: 14.22 kB / 0.7332 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.006432, allocations: 3.984 kB / 0.7332 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.006434, allocations: 3.938 kB / 0.7332 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.006438, allocations: 3.984 kB / 0.7332 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.006565, allocations: 85.88 kB / 0.7333 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.006567, allocations: 1.219 kB / 0.7333 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.017e-05/0.006637, allocations: 15.98 kB / 0.7333 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.006649, allocations: 11.89 kB / 0.7333 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.006651, allocations: 2.062 kB / 0.7333 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.006657, allocations: 0 / 0.7333 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.006658, allocations: 0 / 0.7333 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.00666, allocations: 4 kB / 0.7333 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.006782, allocations: 155.5 kB / 0.7335 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.006794, allocations: 0.75 kB / 0.7335 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.468e-05/0.006858, allocations: 4 kB / 0.7335 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.0069, allocations: 16.77 kB / 0.7335 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.006904, allocations: 0 / 0.7335 GB, free: 84 kB / 0.698 GB Notification: Performance of sorting global known variables: time 2.126e-05/0.006925, allocations: 21.48 kB / 0.7335 GB, free: 60 kB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.006926, allocations: 0 / 0.7335 GB, free: 60 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001989/0.007124, allocations: 21.78 kB / 0.7336 GB, free: 40 kB / 0.698 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.000124/0.007248, allocations: 80.47 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.238e-05/0.007341, allocations: 28.8 kB / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.007349, allocations: 1.188 kB / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.418e-05/0.007383, allocations: 25.58 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.007614, allocations: 21.39 kB / 0.7337 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/0.008215, allocations: 196.7 kB / 0.7339 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.557e-05/0.008261, allocations: 60.5 kB / 0.7339 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.738e-05/0.008308, allocations: 13.81 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/0.008385, allocations: 63.36 kB / 0.734 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of SimCode: time 1.021e-06/0.008386, allocations: 0 / 0.734 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of Templates: time 0.003612/0.012, allocations: 1.033 MB / 0.735 GB, free: 14.57 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.241606757976115]