Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.0009656/0.0009656, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001012/0.001012, allocations: 161 kB / 23.82 MB, free: 0.75 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.9909/0.9909, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.899/1.899, allocations: 377.8 MB / 0.6236 GB, free: 8.566 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.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.625e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002666/0.002692, allocations: 1.469 MB / 0.8129 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002373/0.005065, allocations: 1.924 MB / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.005095, allocations: 0 / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.00615, allocations: 360.8 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.635e-05/0.006206, allocations: 24.91 kB / 0.8152 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.00621, allocations: 0 / 0.8152 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000231/0.006441, allocations: 135 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.00649, allocations: 6.688 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.925e-05/0.006579, allocations: 55.88 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.006703, allocations: 56.77 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.006722, allocations: 4 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003729/0.007095, allocations: 180.7 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.007147, allocations: 32.69 kB / 0.8156 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.863e-05/0.007216, allocations: 47.86 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.007662, allocations: 288.2 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.007665, allocations: 0 / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.914e-06/0.007666, allocations: 3.984 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.007671, allocations: 0 / 0.816 GB, free: 13.23 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006859/0.008357, allocations: 0.5171 MB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.008401, allocations: 12.03 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.00855, allocations: 140 kB / 0.8166 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.008744, allocations: 268.5 kB / 0.8169 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.928e-05/0.008814, allocations: 250.7 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.556e-05/0.008889, allocations: 242.8 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.991e-05/0.008959, allocations: 149.4 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.008992, allocations: 120.9 kB / 0.8176 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/0.009054, allocations: 246.4 kB / 0.8178 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.468e-05/0.009119, allocations: 238.4 kB / 0.8181 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.85e-05/0.009187, allocations: 242.4 kB / 0.8183 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.009698, allocations: 0.6527 MB / 0.8189 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.0098, allocations: 265.4 kB / 0.8192 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.009843, allocations: 130.9 kB / 0.8193 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.009875, allocations: 123.2 kB / 0.8194 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/0.009928, allocations: 156.6 kB / 0.8196 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.009929, allocations: 0 / 0.8196 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001556/0.01008, allocations: 41.61 kB / 0.8196 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.01014, allocations: 183 kB / 0.8198 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.01046, allocations: 368.1 kB / 0.8201 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.01048, allocations: 26.2 kB / 0.8202 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.494e-05/0.01057, allocations: 181.2 kB / 0.8203 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.01058, allocations: 0 / 0.8203 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.01066, allocations: 79.34 kB / 0.8204 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.01082, allocations: 0.5158 MB / 0.8209 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/0.01087, allocations: 27.98 kB / 0.8209 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.01098, allocations: 110.2 kB / 0.821 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.01115, allocations: 169.7 kB / 0.8212 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01115, allocations: 0.6562 kB / 0.8212 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003966/0.01155, allocations: 188.2 kB / 0.8214 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.01156, allocations: 4 kB / 0.8214 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.01157, allocations: 0 / 0.8214 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.01159, allocations: 7.984 kB / 0.8214 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-06/0.0116, allocations: 7.875 kB / 0.8214 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.01161, allocations: 4 kB / 0.8214 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.01174, allocations: 31.67 kB / 0.8214 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.01176, allocations: 6.719 kB / 0.8214 GB, free: 7.352 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0001188/0.01188, allocations: 286.8 kB / 0.8217 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.01194, allocations: 168.7 kB / 0.8219 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.01199, allocations: 149.7 kB / 0.822 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.746e-05/0.01204, allocations: 272.1 kB / 0.8223 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.878e-05/0.0121, allocations: 276 kB / 0.8225 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-05/0.01216, allocations: 265 kB / 0.8228 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.01237, allocations: 0.5545 MB / 0.8233 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-05/0.0124, allocations: 149.9 kB / 0.8235 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.037e-05/0.01243, allocations: 144.9 kB / 0.8236 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.938e-05/0.01249, allocations: 272 kB / 0.8239 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.782e-05/0.01254, allocations: 269.2 kB / 0.8241 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-05/0.01261, allocations: 268 kB / 0.8244 GB, free: 4.215 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.945e-05/0.01268, allocations: 272.1 kB / 0.8247 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.01281, allocations: 465.2 kB / 0.8251 GB, free: 3.461 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-05/0.01289, allocations: 168.8 kB / 0.8253 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.852e-05/0.01297, allocations: 268 kB / 0.8255 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.53e-05/0.01306, allocations: 153.9 kB / 0.8257 GB, free: 2.863 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.01312, allocations: 272 kB / 0.8259 GB, free: 2.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.528e-05/0.0132, allocations: 148.8 kB / 0.8261 GB, free: 2.438 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001206/0.01332, allocations: 218.8 kB / 0.8263 GB, free: 2.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01332, allocations: 0 / 0.8263 GB, free: 2.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000226/0.01355, allocations: 63.94 kB / 0.8263 GB, free: 2.168 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 (0): * Single equations (assignments): 0 * 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.0002806/0.01383, allocations: 328.4 kB / 0.8266 GB, free: 1.844 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.01396, allocations: 83.59 kB / 0.8267 GB, free: 1.758 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01396, allocations: 0 / 0.8267 GB, free: 1.758 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.01396, allocations: 0 / 0.8267 GB, free: 1.758 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.01428, allocations: 0.7105 MB / 0.8274 GB, free: 1.043 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.01487, allocations: 394.7 kB / 0.8278 GB, free: 0.6289 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.01519, allocations: 83.75 kB / 0.8279 GB, free: 0.5273 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.176e-05/0.0152, allocations: 7.984 kB / 0.8279 GB, free: 0.5195 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.01522, allocations: 12.5 kB / 0.8279 GB, free: 0.5078 MB / 0.7761 GB Notification: Performance of SimCode: time 9.62e-07/0.01522, allocations: 0 / 0.8279 GB, free: 0.5078 MB / 0.7761 GB Notification: Performance of Templates: time 0.004158/0.01938, allocations: 2.3 MB / 0.8301 GB, free: 14.22 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.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.096817808225751]