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.0009691/0.0009691, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001034/0.001034, allocations: 166.6 kB / 24.87 MB, free: 9.285 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.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.959/1.959, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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.875e-06/2.875e-06, allocations: 0 / 0.8128 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.165e-05, allocations: 7.469 kB / 0.8128 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.001627/0.001659, allocations: 0.7989 MB / 0.8136 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.002684, allocations: 0.8833 MB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.002749, allocations: 0 / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.952e-05/0.002799, allocations: 7.922 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.002917, allocations: 20.86 kB / 0.8145 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 8.454e-05/0.003001, allocations: 27.97 kB / 0.8145 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.003127, allocations: 93.02 kB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.003291, allocations: 32.44 kB / 0.8146 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.003421, allocations: 55.89 kB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.696e-05/0.003488, allocations: 25.41 kB / 0.8147 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.003515, allocations: 8 kB / 0.8147 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.003526, allocations: 12 kB / 0.8147 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.003558, allocations: 23.91 kB / 0.8147 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.003594, allocations: 25.02 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.003765, allocations: 63.73 kB / 0.8148 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.003771, allocations: 0 / 0.8148 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.744e-06/0.003773, allocations: 0.6875 kB / 0.8148 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.00378, allocations: 4 kB / 0.8148 GB, free: 15.31 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.0005267/0.004307, allocations: 413.2 kB / 0.8152 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.004354, allocations: 12.69 kB / 0.8152 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.00439, allocations: 16.89 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.004641, allocations: 137.5 kB / 0.8154 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.004654, allocations: 4.375 kB / 0.8154 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.004673, allocations: 13.06 kB / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.004838, allocations: 91.69 kB / 0.8155 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.004846, allocations: 192 / 0.8155 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.004858, allocations: 384 / 0.8155 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.004866, allocations: 5.625 kB / 0.8155 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.89e-05/0.004905, allocations: 19.92 kB / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.005274, allocations: 321.9 kB / 0.8158 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.297e-05/0.005367, allocations: 55.03 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.005397, allocations: 19.69 kB / 0.8159 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.005405, allocations: 0 / 0.8159 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.005431, allocations: 45.31 kB / 0.8159 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.005432, allocations: 1.094 kB / 0.8159 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000152/0.005584, allocations: 65.58 kB / 0.816 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.005623, allocations: 57.19 kB / 0.8161 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.986e-05/0.005703, allocations: 170 kB / 0.8162 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.005715, allocations: 29.7 kB / 0.8162 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.005766, allocations: 150.7 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.00579, allocations: 19.81 kB / 0.8164 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.005825, allocations: 28.89 kB / 0.8164 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.005946, allocations: 0.4923 MB / 0.8169 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.005965, allocations: 4 kB / 0.8169 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.00598, allocations: 11.92 kB / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.099e-05/0.006021, allocations: 28.44 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006023, allocations: 0 / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.772e-05/0.006101, allocations: 59.94 kB / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.006116, allocations: 4 kB / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.006121, allocations: 80 / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.435e-06/0.00613, allocations: 0 / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.006216, allocations: 19.92 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.006219, allocations: 4.609 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.012e-05/0.006249, allocations: 20.58 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.006254, allocations: 0 / 0.8171 GB, free: 12.84 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.342e-05/0.006328, allocations: 161 kB / 0.8172 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.006347, allocations: 9.109 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.006373, allocations: 20.42 kB / 0.8172 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006374, allocations: 0 / 0.8172 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.006376, allocations: 0.5312 kB / 0.8172 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.006379, allocations: 1.25 kB / 0.8172 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.006493, allocations: 117.2 kB / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.006493, allocations: 0 / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.094e-05/0.006544, allocations: 25.02 kB / 0.8174 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.006545, allocations: 0 / 0.8174 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.00655, allocations: 0 / 0.8174 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.006551, allocations: 0.9375 kB / 0.8174 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006552, allocations: 0 / 0.8174 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.006679, allocations: 211.8 kB / 0.8176 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.006689, allocations: 12.75 kB / 0.8176 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-06/0.006698, allocations: 4 kB / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.239e-05/0.006741, allocations: 12.86 kB / 0.8176 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.006778, allocations: 7.984 kB / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.006782, allocations: 5.344 kB / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.342e-05/0.006826, allocations: 131.2 kB / 0.8178 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006826, allocations: 0 / 0.8178 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001515/0.006977, allocations: 19.89 kB / 0.8178 GB, free: 12.06 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.0001108/0.007088, allocations: 100.1 kB / 0.8179 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.279e-05/0.007181, allocations: 41.59 kB / 0.8179 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.007184, allocations: 4 kB / 0.8179 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.832e-05/0.007212, allocations: 19.69 kB / 0.8179 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.007452, allocations: 16.7 kB / 0.8179 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.007817, allocations: 189.8 kB / 0.8181 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.995e-05/0.007857, allocations: 63.34 kB / 0.8182 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.996e-05/0.007887, allocations: 0 / 0.8182 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.852e-05/0.007956, allocations: 82.78 kB / 0.8183 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.007956, allocations: 0.5312 kB / 0.8183 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.002932/0.01089, allocations: 1.147 MB / 0.8194 GB, free: 10.44 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.288346420042217]