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.PIIntegralTime.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.001396/0.001396, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001443/0.001443, allocations: 166 kB / 24.86 MB, free: 9.266 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.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.946/1.946, allocations: 377.9 MB / 0.6247 GB, free: 8.387 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.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.914e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.001758/0.001787, allocations: 0.9293 MB / 0.8137 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.00299, allocations: 0.9171 MB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.003059, allocations: 0.6562 kB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.245e-05/0.003102, allocations: 20.98 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.003207, allocations: 19.8 kB / 0.8146 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 9.062e-05/0.003298, allocations: 47.94 kB / 0.8147 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.003447, allocations: 156.7 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.003615, allocations: 71.61 kB / 0.8149 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.00375, allocations: 95.8 kB / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.648e-05/0.003816, allocations: 47.8 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.003841, allocations: 16 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/0.003856, allocations: 16 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.003884, allocations: 31.92 kB / 0.8151 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.003928, allocations: 52.77 kB / 0.8152 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.004069, allocations: 99.58 kB / 0.8153 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.004072, allocations: 0 / 0.8153 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.303e-06/0.004074, allocations: 0.9062 kB / 0.8153 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.004078, allocations: 0 / 0.8153 GB, free: 14.91 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004706/0.004548, allocations: 473.1 kB / 0.8157 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.004582, allocations: 9.469 kB / 0.8157 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.004626, allocations: 32.8 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.004768, allocations: 156.4 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.004782, allocations: 16.36 kB / 0.8159 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.004799, allocations: 18.31 kB / 0.8159 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.004995, allocations: 122.6 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.005004, allocations: 192 / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.005016, allocations: 8.312 kB / 0.8161 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.005024, allocations: 5.969 kB / 0.8161 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.233e-05/0.005086, allocations: 43.84 kB / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.005522, allocations: 420.6 kB / 0.8165 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.005741, allocations: 111.1 kB / 0.8166 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.357e-05/0.005785, allocations: 43.19 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.005795, allocations: 4.531 kB / 0.8167 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.005818, allocations: 38.45 kB / 0.8167 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.005819, allocations: 0 / 0.8167 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.000183/0.006002, allocations: 113.8 kB / 0.8168 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.006031, allocations: 52.03 kB / 0.8168 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.171e-05/0.006103, allocations: 169.9 kB / 0.817 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.006115, allocations: 34.22 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.006246, allocations: 164.5 kB / 0.8172 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.00628, allocations: 51.52 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.006318, allocations: 35.38 kB / 0.8173 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.006427, allocations: 0.4923 MB / 0.8178 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.00645, allocations: 13.14 kB / 0.8178 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-05/0.006472, allocations: 12 kB / 0.8178 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.554e-05/0.006528, allocations: 53.78 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.00653, allocations: 0.8438 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001019/0.006632, allocations: 85.58 kB / 0.8179 GB, free: 12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.006645, allocations: 11.19 kB / 0.8179 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.006649, allocations: 0 / 0.8179 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.00666, allocations: 5.219 kB / 0.8179 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.006756, allocations: 27.98 kB / 0.818 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.006761, allocations: 7.984 kB / 0.818 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.61e-05/0.006797, allocations: 12.8 kB / 0.818 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.006802, allocations: 0 / 0.818 GB, free: 11.94 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 (14): * Single equations (assignments): 14 * 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.274e-05/0.006875, allocations: 165.5 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.006898, allocations: 11.95 kB / 0.8182 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.006924, allocations: 17.92 kB / 0.8182 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.006929, allocations: 11.88 kB / 0.8182 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.006932, allocations: 0 / 0.8182 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006935, allocations: 0 / 0.8182 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.007083, allocations: 146.3 kB / 0.8183 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.007085, allocations: 0 / 0.8183 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-05/0.007166, allocations: 31.98 kB / 0.8184 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.007169, allocations: 3.094 kB / 0.8184 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.007177, allocations: 4 kB / 0.8184 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.007179, allocations: 0 / 0.8184 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.007181, allocations: 4 kB / 0.8184 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.00735, allocations: 251.7 kB / 0.8186 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.00736, allocations: 3.953 kB / 0.8186 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.007372, allocations: 4 kB / 0.8186 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.913e-05/0.007421, allocations: 15.97 kB / 0.8186 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.007465, allocations: 16.42 kB / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.007468, allocations: 1.344 kB / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.909e-05/0.007517, allocations: 131.2 kB / 0.8188 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007517, allocations: 0 / 0.8188 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001689/0.007686, allocations: 31.89 kB / 0.8188 GB, free: 11.05 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 (14): * Single equations (assignments): 14 * 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.0001299/0.007816, allocations: 104.3 kB / 0.8189 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.00794, allocations: 63.23 kB / 0.819 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.007942, allocations: 2.531 kB / 0.819 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.945e-05/0.007991, allocations: 43.59 kB / 0.819 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.00822, allocations: 16.77 kB / 0.819 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.008601, allocations: 273.7 kB / 0.8193 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.151e-05/0.008642, allocations: 72.89 kB / 0.8193 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.852e-05/0.008691, allocations: 6.562 kB / 0.8194 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.008763, allocations: 86.19 kB / 0.8194 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of SimCode: time 9.22e-07/0.008764, allocations: 0 / 0.8194 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of Templates: time 0.003559/0.01232, allocations: 1.353 MB / 0.8208 GB, free: 9.066 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.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.234422362875193]