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.001438/0.001438, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.00162/0.00162, allocations: 161.3 kB / 23.54 MB, free: 0.8633 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 1.495/1.495, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.003/3.003, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] 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 3.116e-06/3.116e-06, allocations: 0 / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.96e-05/3.271e-05, allocations: 3.781 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.002314/0.002347, allocations: 0.7769 MB / 0.8116 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.003793, allocations: 0.8571 MB / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.003899, allocations: 0 / 0.8124 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.278e-05/0.003952, allocations: 11.86 kB / 0.8124 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.004058, allocations: 7.875 kB / 0.8125 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 9.856e-05/0.004157, allocations: 31.95 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.004326, allocations: 100.9 kB / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.004488, allocations: 36.38 kB / 0.8126 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.004641, allocations: 55.89 kB / 0.8127 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.859e-05/0.004719, allocations: 32.61 kB / 0.8127 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.004748, allocations: 8 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.041e-05/0.004778, allocations: 13.34 kB / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.004807, allocations: 11.98 kB / 0.8127 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.004863, allocations: 23.92 kB / 0.8128 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.005091, allocations: 125.5 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.005095, allocations: 0 / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005096, allocations: 0 / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.005101, allocations: 0 / 0.8129 GB, free: 15.99 MB / 0.7761 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.0006968/0.005798, allocations: 323.8 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.005843, allocations: 12.03 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.005909, allocations: 16.89 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.006169, allocations: 137.6 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.006193, allocations: 9.156 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.006216, allocations: 8.375 kB / 0.8134 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.006706, allocations: 112.3 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.006716, allocations: 192 / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.006731, allocations: 0.9062 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.00674, allocations: 5.688 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.007125, allocations: 100.4 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005554/0.00768, allocations: 281.7 kB / 0.8138 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.007977, allocations: 87.61 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.008171, allocations: 50.08 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.008189, allocations: 0 / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.008226, allocations: 34.56 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.008228, allocations: 0.9062 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0006811/0.008909, allocations: 159.6 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.008965, allocations: 59.34 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.009097, allocations: 118.7 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.00912, allocations: 25.7 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.009205, allocations: 101.2 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.009243, allocations: 27.89 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.009298, allocations: 21.7 kB / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.009474, allocations: 324.1 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.00966, allocations: 39.97 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.009818, allocations: 37.67 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.01014, allocations: 87.88 kB / 0.815 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01014, allocations: 0 / 0.815 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004231/0.01056, allocations: 130 kB / 0.8151 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.01058, allocations: 7.938 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.01059, allocations: 0.5312 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.01061, allocations: 5.344 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.01077, allocations: 15.98 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.01078, allocations: 0 / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.685e-05/0.01087, allocations: 20.83 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.01089, allocations: 4.656 kB / 0.8151 GB, free: 13.52 MB / 0.7761 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.0001224/0.01101, allocations: 122.4 kB / 0.8153 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.01104, allocations: 4 kB / 0.8153 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.01107, allocations: 11.44 kB / 0.8153 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01108, allocations: 0 / 0.8153 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.01108, allocations: 0 / 0.8153 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.01109, allocations: 4 kB / 0.8153 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.0113, allocations: 141.1 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.0113, allocations: 0 / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.01143, allocations: 27.91 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.01144, allocations: 6.516 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.01145, allocations: 4 kB / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01145, allocations: 0 / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01145, allocations: 0 / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/0.01193, allocations: 216.4 kB / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.01194, allocations: 7.953 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.01196, allocations: 7.984 kB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.01209, allocations: 17.11 kB / 0.8157 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.01214, allocations: 3.984 kB / 0.8157 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.01215, allocations: 5.125 kB / 0.8157 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.549e-05/0.01222, allocations: 87.28 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01222, allocations: 0 / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002651/0.01248, allocations: 24.92 kB / 0.8158 GB, free: 12.8 MB / 0.7761 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.0001474/0.01263, allocations: 104.3 kB / 0.8159 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003969/0.01303, allocations: 82.2 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01303, allocations: 0 / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.01322, allocations: 51.89 kB / 0.816 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.01362, allocations: 23.86 kB / 0.816 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.01417, allocations: 189.6 kB / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.01427, allocations: 92.64 kB / 0.8163 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.859e-05/0.01434, allocations: 10.52 kB / 0.8163 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.01439, allocations: 12.5 kB / 0.8163 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.01439, allocations: 0 / 0.8163 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.004325/0.01872, allocations: 1.022 MB / 0.8173 GB, free: 11.25 MB / 0.7761 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: 7.899712531012483]