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.0008075/0.0008075, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.00096/0.00096, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8916/0.8916, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.72/1.72, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 1.933e-06/1.933e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.411e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.00129/0.001314, allocations: 0.7791 MB / 0.983 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007868/0.002101, allocations: 0.8549 MB / 0.9838 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/0.002149, allocations: 4 kB / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.00218, allocations: 7.875 kB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.232e-05/0.002253, allocations: 7.875 kB / 0.9838 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 6.388e-05/0.002317, allocations: 27.97 kB / 0.9839 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.002423, allocations: 103.7 kB / 0.984 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.00255, allocations: 40.38 kB / 0.984 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.875e-05/0.002638, allocations: 51.89 kB / 0.9841 GB, free: 180 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.00269, allocations: 31.89 kB / 0.9841 GB, free: 148 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.002716, allocations: 8 kB / 0.9841 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.002725, allocations: 8 kB / 0.9841 GB, free: 132 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.002744, allocations: 19.98 kB / 0.9841 GB, free: 112 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.002774, allocations: 27.91 kB / 0.9841 GB, free: 84 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.002904, allocations: 122.2 kB / 0.9843 GB, free: 15.96 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.002906, allocations: 0 / 0.9843 GB, free: 15.96 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.31e-07/0.002907, allocations: 0 / 0.9843 GB, free: 15.96 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.002911, allocations: 4 kB / 0.9843 GB, free: 15.96 MB / 0.948 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.0004103/0.003322, allocations: 326 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.003358, allocations: 12.03 kB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.003388, allocations: 8.891 kB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.003536, allocations: 145.5 kB / 0.9847 GB, free: 15.42 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.003546, allocations: 4.375 kB / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.003558, allocations: 8.375 kB / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.003745, allocations: 106.2 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.003753, allocations: 192 / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.003764, allocations: 384 / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.003768, allocations: 384 / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.003956, allocations: 103.8 kB / 0.9849 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.004289, allocations: 292.2 kB / 0.9852 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.004448, allocations: 82.53 kB / 0.9853 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.989e-05/0.004538, allocations: 48.81 kB / 0.9854 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.004549, allocations: 3.938 kB / 0.9854 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.00457, allocations: 38.56 kB / 0.9854 GB, free: 14.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.004571, allocations: 0 / 0.9854 GB, free: 14.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0003347/0.004905, allocations: 157.5 kB / 0.9855 GB, free: 14.53 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.004939, allocations: 51.41 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.751e-05/0.005006, allocations: 117.8 kB / 0.9857 GB, free: 14.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.005017, allocations: 25.7 kB / 0.9857 GB, free: 14.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.005062, allocations: 100 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.005084, allocations: 19.95 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.005115, allocations: 21.72 kB / 0.9859 GB, free: 14.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.702e-05/0.005192, allocations: 326.8 kB / 0.9862 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-05/0.005271, allocations: 43.89 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.347e-05/0.005345, allocations: 39.95 kB / 0.9863 GB, free: 13.75 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.005499, allocations: 84.78 kB / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005501, allocations: 4 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001833/0.005684, allocations: 121.5 kB / 0.9865 GB, free: 13.54 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.005695, allocations: 8 kB / 0.9865 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.005699, allocations: 0 / 0.9865 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.00571, allocations: 0 / 0.9865 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.005796, allocations: 28.28 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.005799, allocations: 0 / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.988e-05/0.005839, allocations: 19.98 kB / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.005844, allocations: 0 / 0.9865 GB, free: 13.48 MB / 0.948 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.378e-05/0.005908, allocations: 121.7 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.005922, allocations: 7.953 kB / 0.9866 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.761e-05/0.005939, allocations: 8.438 kB / 0.9866 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.005942, allocations: 4 kB / 0.9866 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.005947, allocations: 3.984 kB / 0.9866 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.005949, allocations: 0 / 0.9866 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.006057, allocations: 141.1 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.006057, allocations: 4 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-05/0.006108, allocations: 19.97 kB / 0.9868 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.006109, allocations: 4 kB / 0.9868 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.006118, allocations: 8 kB / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.006119, allocations: 0 / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006119, allocations: 0 / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.006331, allocations: 223.9 kB / 0.987 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-06/0.006338, allocations: 7.953 kB / 0.987 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.006348, allocations: 4 kB / 0.987 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.511e-05/0.006404, allocations: 11.98 kB / 0.9871 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.006445, allocations: 7.984 kB / 0.9871 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.006447, allocations: 0 / 0.9871 GB, free: 12.86 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.386e-05/0.006481, allocations: 91.27 kB / 0.9871 GB, free: 12.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006481, allocations: 0 / 0.9871 GB, free: 12.77 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000152/0.006633, allocations: 16 kB / 0.9872 GB, free: 12.76 MB / 0.948 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 7.435e-05/0.006708, allocations: 103.2 kB / 0.9873 GB, free: 12.65 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.006916, allocations: 91.86 kB / 0.9874 GB, free: 12.56 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.006917, allocations: 0 / 0.9874 GB, free: 12.56 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.006999, allocations: 43.95 kB / 0.9874 GB, free: 12.52 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.007211, allocations: 23.92 kB / 0.9874 GB, free: 12.49 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.007555, allocations: 222.7 kB / 0.9876 GB, free: 12.24 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.994e-05/0.007605, allocations: 75.89 kB / 0.9877 GB, free: 12.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.00764, allocations: 12.78 kB / 0.9877 GB, free: 12.13 MB / 0.948 GB Notification: Performance of SimCode: time 2.91e-07/0.00764, allocations: 0 / 0.9877 GB, free: 12.13 MB / 0.948 GB Notification: Performance of Templates: time 0.001755/0.009395, allocations: 1.087 MB / 0.9888 GB, free: 11.05 MB / 0.948 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: 6.610279681161046]