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.001118/0.001118, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001068/0.001068, allocations: 165 kB / 23.82 MB, free: 0.7422 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.02/1.02, allocations: 177.2 MB / 204.2 MB, free: 5.609 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.854/1.854, 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.033e-06/2.033e-06, allocations: 0 / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.176e-05, allocations: 6.906 kB / 0.8115 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00312/0.003151, allocations: 1.467 MB / 0.8129 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002582/0.005733, allocations: 1.929 MB / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.005766, allocations: 0 / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.006989, allocations: 373.5 kB / 0.8152 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.528e-05/0.007054, allocations: 23.78 kB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 4.068e-06/0.007058, allocations: 0.5312 kB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.007313, allocations: 135 kB / 0.8153 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.554e-05/0.007369, allocations: 7.062 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.007478, allocations: 63.81 kB / 0.8154 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.007601, allocations: 47.89 kB / 0.8154 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.007622, allocations: 5.156 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.008037, allocations: 168.9 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.008098, allocations: 39.83 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.008168, allocations: 47.86 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.008633, allocations: 291.7 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.008636, allocations: 0 / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.182e-06/0.008637, allocations: 0.8438 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.008644, allocations: 0 / 0.816 GB, free: 13.21 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.0006967/0.00934, allocations: 0.5164 MB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.009384, allocations: 12.02 kB / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.009544, allocations: 144.8 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.009748, allocations: 271.1 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/0.009819, allocations: 242.8 kB / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/0.009886, allocations: 243.8 kB / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.81e-05/0.009954, allocations: 145.5 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.009989, allocations: 123.4 kB / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/0.01005, allocations: 247.9 kB / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.042e-05/0.01012, allocations: 242.4 kB / 0.8181 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.666e-05/0.01019, allocations: 246.3 kB / 0.8183 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.01057, allocations: 0.6513 MB / 0.8189 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.393e-05/0.01066, allocations: 265.4 kB / 0.8192 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.0107, allocations: 126.9 kB / 0.8193 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.01074, allocations: 119.2 kB / 0.8194 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/0.01079, allocations: 159.4 kB / 0.8196 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.01079, allocations: 0 / 0.8196 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001599/0.01095, allocations: 49.59 kB / 0.8196 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.01101, allocations: 174.5 kB / 0.8198 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.01135, allocations: 368.1 kB / 0.8202 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.01137, allocations: 29.7 kB / 0.8202 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.01148, allocations: 175.2 kB / 0.8203 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-06/0.01148, allocations: 0 / 0.8203 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.01158, allocations: 87.83 kB / 0.8204 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.01174, allocations: 0.5132 MB / 0.8209 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.677e-05/0.0118, allocations: 20 kB / 0.821 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.0119, allocations: 121.5 kB / 0.8211 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.01208, allocations: 161.7 kB / 0.8212 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.01208, allocations: 4.938 kB / 0.8212 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000418/0.0125, allocations: 186 kB / 0.8214 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.01252, allocations: 8 kB / 0.8214 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.01253, allocations: 4.641 kB / 0.8214 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.01255, allocations: 4 kB / 0.8214 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.562e-06/0.01255, allocations: 6.688 kB / 0.8214 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.01256, allocations: 4 kB / 0.8214 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.01269, allocations: 27.67 kB / 0.8215 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.0127, allocations: 4 kB / 0.8215 GB, free: 7.34 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.0001343/0.01283, allocations: 287.7 kB / 0.8217 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.01291, allocations: 167.5 kB / 0.8219 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.01301, allocations: 157.7 kB / 0.822 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-05/0.01308, allocations: 268 kB / 0.8223 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.674e-05/0.01315, allocations: 276 kB / 0.8226 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.059e-05/0.01322, allocations: 272 kB / 0.8228 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.01349, allocations: 0.5467 MB / 0.8234 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-05/0.01353, allocations: 144.9 kB / 0.8235 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.01357, allocations: 152.8 kB / 0.8236 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.684e-05/0.01364, allocations: 265 kB / 0.8239 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/0.01371, allocations: 272 kB / 0.8242 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.049e-05/0.01378, allocations: 273.2 kB / 0.8244 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.179e-05/0.01385, allocations: 272 kB / 0.8247 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.01402, allocations: 460.1 kB / 0.8251 GB, free: 3.445 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/0.01409, allocations: 173.8 kB / 0.8253 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.484e-05/0.01419, allocations: 268.1 kB / 0.8255 GB, free: 3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.0144, allocations: 148.8 kB / 0.8257 GB, free: 2.848 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/0.01447, allocations: 269.1 kB / 0.8259 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.01451, allocations: 152.9 kB / 0.8261 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001633/0.01467, allocations: 217.1 kB / 0.8263 GB, free: 2.215 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01467, allocations: 1.094 kB / 0.8263 GB, free: 2.215 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003827/0.01506, allocations: 67.92 kB / 0.8264 GB, free: 2.148 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.0003646/0.01542, allocations: 331.7 kB / 0.8267 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001666/0.01559, allocations: 67.61 kB / 0.8267 GB, free: 1.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01559, allocations: 0 / 0.8267 GB, free: 1.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/0.01559, allocations: 4 kB / 0.8267 GB, free: 1.746 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.01603, allocations: 0.7067 MB / 0.8274 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007651/0.01679, allocations: 411.1 kB / 0.8278 GB, free: 0.6055 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.982e-05/0.01685, allocations: 79.31 kB / 0.8279 GB, free: 0.5078 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.432e-05/0.01687, allocations: 0 / 0.8279 GB, free: 0.5078 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.0169, allocations: 8.5 kB / 0.8279 GB, free: 0.5 MB / 0.7761 GB Notification: Performance of SimCode: time 9.52e-07/0.0169, allocations: 0 / 0.8279 GB, free: 0.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.007465/0.02436, allocations: 3.235 MB / 0.8311 GB, free: 13.28 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: 4.944760726299137]