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.0009076/0.0009076, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009131/0.0009131, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9901/0.9901, allocations: 177.1 MB / 204.6 MB, free: 5.621 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 2.021/2.021, allocations: 377.8 MB / 0.6239 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.054e-06/2.054e-06, allocations: 0 / 0.8116 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.622e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.001499/0.001525, allocations: 0.8102 MB / 0.8124 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008813/0.002406, allocations: 0.8791 MB / 0.8132 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.002461, allocations: 4 kB / 0.8132 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.002496, allocations: 8.656 kB / 0.8132 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.042e-05/0.002577, allocations: 11.86 kB / 0.8132 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.273e-05/0.002639, allocations: 29.66 kB / 0.8133 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.002746, allocations: 99.75 kB / 0.8134 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.002871, allocations: 24.45 kB / 0.8134 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.00298, allocations: 59.88 kB / 0.8134 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.003032, allocations: 29.44 kB / 0.8135 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.003056, allocations: 8 kB / 0.8135 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.003067, allocations: 8 kB / 0.8135 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.003089, allocations: 23.92 kB / 0.8135 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.003123, allocations: 29.03 kB / 0.8135 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.00325, allocations: 67.81 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.003253, allocations: 0 / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.142e-06/0.003254, allocations: 1.594 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.00326, allocations: 0 / 0.8136 GB, free: 15.98 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.0004297/0.00369, allocations: 412.3 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.003728, allocations: 10.62 kB / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.00377, allocations: 16.89 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.003927, allocations: 132.5 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.003939, allocations: 12.31 kB / 0.8142 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.003952, allocations: 4.375 kB / 0.8142 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.004112, allocations: 98.81 kB / 0.8143 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.004119, allocations: 0.6875 kB / 0.8143 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.004129, allocations: 1.094 kB / 0.8143 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.004141, allocations: 384 / 0.8143 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.239e-05/0.004204, allocations: 35.11 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.004568, allocations: 345 kB / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.004668, allocations: 55.05 kB / 0.8147 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/0.00471, allocations: 27.67 kB / 0.8147 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.004718, allocations: 8.375 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.00474, allocations: 33.98 kB / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.004742, allocations: 0 / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001809/0.004923, allocations: 74.42 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.004955, allocations: 51.41 kB / 0.8149 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.222e-05/0.005038, allocations: 175 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.00505, allocations: 29.7 kB / 0.8151 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.005108, allocations: 146.8 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.005136, allocations: 29.33 kB / 0.8152 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.00517, allocations: 23.38 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.005292, allocations: 496.1 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.838e-05/0.00532, allocations: 23.91 kB / 0.8157 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/0.00534, allocations: 5.75 kB / 0.8157 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.331e-05/0.005393, allocations: 32.16 kB / 0.8158 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005395, allocations: 0 / 0.8158 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.375e-05/0.005489, allocations: 61.67 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.005505, allocations: 4.906 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.00551, allocations: 0 / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.005524, allocations: 0 / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.4e-05/0.005618, allocations: 20.77 kB / 0.8159 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.005624, allocations: 4 kB / 0.8159 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.005656, allocations: 22.09 kB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.005661, allocations: 0 / 0.8159 GB, free: 13.45 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 7.984e-05/0.005741, allocations: 160.5 kB / 0.816 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.005759, allocations: 11.95 kB / 0.8161 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.005787, allocations: 8.438 kB / 0.8161 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.005789, allocations: 2.719 kB / 0.8161 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.005794, allocations: 0 / 0.8161 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.005797, allocations: 0 / 0.8161 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.005915, allocations: 148.5 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.005916, allocations: 0 / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.005959, allocations: 15.98 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.005961, allocations: 0 / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.005969, allocations: 5.562 kB / 0.8162 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.00597, allocations: 4 kB / 0.8162 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.005971, allocations: 0 / 0.8162 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.006117, allocations: 219.7 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.006125, allocations: 4.5 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.006136, allocations: 0 / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.042e-05/0.006176, allocations: 9.516 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.006226, allocations: 11.98 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.00623, allocations: 0 / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.473e-05/0.006274, allocations: 135.2 kB / 0.8166 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006274, allocations: 0.5 kB / 0.8166 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001475/0.006422, allocations: 20.92 kB / 0.8166 GB, free: 12.65 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 7.966e-05/0.006502, allocations: 102.9 kB / 0.8167 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.006604, allocations: 39.61 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.006606, allocations: 4 kB / 0.8168 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.457e-05/0.006641, allocations: 27.67 kB / 0.8168 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.006851, allocations: 15.94 kB / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.007205, allocations: 188.2 kB / 0.817 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.647e-05/0.007242, allocations: 63.34 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.799e-05/0.00727, allocations: 4.938 kB / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.0073, allocations: 9.625 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of SimCode: time 7.32e-07/0.007301, allocations: 4 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.002746/0.01005, allocations: 1.019 MB / 0.818 GB, free: 11.21 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=240 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.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.428754639113322]