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.001512/0.001512, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.001488/0.001488, allocations: 185 kB / 24.09 MB, free: 424 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.9394/0.9394, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.877/1.877, allocations: 377.9 MB / 0.624 GB, free: 8.41 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 1.843e-06/1.843e-06, allocations: 0 / 0.812 GB, free: 344 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.254e-05, allocations: 3.188 kB / 0.812 GB, free: 340 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001886/0.001909, allocations: 1.463 MB / 0.8134 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.003386, allocations: 1.904 MB / 0.8153 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.003417, allocations: 4 kB / 0.8153 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007201/0.004137, allocations: 371.8 kB / 0.8156 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.852e-05/0.004175, allocations: 21.09 kB / 0.8156 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 2.845e-06/0.004178, allocations: 0 / 0.8156 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.004357, allocations: 139.5 kB / 0.8158 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.004395, allocations: 5.688 kB / 0.8158 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.635e-05/0.004461, allocations: 65.41 kB / 0.8158 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.004541, allocations: 47.89 kB / 0.8159 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.004556, allocations: 4 kB / 0.8159 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.004812, allocations: 177.7 kB / 0.8161 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.004853, allocations: 31.91 kB / 0.8161 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.004896, allocations: 47.84 kB / 0.8161 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.005194, allocations: 290.8 kB / 0.8164 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005196, allocations: 1.156 kB / 0.8164 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.863e-06/0.005198, allocations: 0 / 0.8164 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.005204, allocations: 0 / 0.8164 GB, free: 11.8 MB / 0.7292 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.0004567/0.005661, allocations: 0.5165 MB / 0.8169 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.005695, allocations: 8.031 kB / 0.8169 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.843e-05/0.005793, allocations: 149 kB / 0.8171 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.005926, allocations: 275 kB / 0.8173 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/0.00598, allocations: 239.4 kB / 0.8176 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-05/0.006044, allocations: 246.8 kB / 0.8178 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.638e-05/0.0061, allocations: 146.5 kB / 0.8179 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.006128, allocations: 119.4 kB / 0.818 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/0.006177, allocations: 246.5 kB / 0.8183 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-05/0.006229, allocations: 239.2 kB / 0.8185 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.629e-05/0.006285, allocations: 238.4 kB / 0.8187 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.006544, allocations: 0.609 MB / 0.8193 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/0.006619, allocations: 261.4 kB / 0.8196 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.006648, allocations: 130.9 kB / 0.8197 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.006673, allocations: 119.2 kB / 0.8198 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.006712, allocations: 157.6 kB / 0.82 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.006713, allocations: 0 / 0.82 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 0.0001059/0.006819, allocations: 53.5 kB / 0.82 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.006866, allocations: 172.7 kB / 0.8202 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.007078, allocations: 371.9 kB / 0.8205 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.007087, allocations: 25.7 kB / 0.8206 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.007156, allocations: 179.2 kB / 0.8207 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.007158, allocations: 0 / 0.8207 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/0.007221, allocations: 85.62 kB / 0.8208 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.007341, allocations: 0.5235 MB / 0.8213 GB, free: 6.582 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.007367, allocations: 16 kB / 0.8213 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.146e-05/0.007429, allocations: 105.5 kB / 0.8214 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.00754, allocations: 157.7 kB / 0.8216 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.007542, allocations: 0 / 0.8216 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002358/0.007777, allocations: 177.9 kB / 0.8218 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.007792, allocations: 8.531 kB / 0.8218 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.007799, allocations: 0 / 0.8218 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.007812, allocations: 5.344 kB / 0.8218 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-06/0.007817, allocations: 0 / 0.8218 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.007821, allocations: 7.938 kB / 0.8218 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.007887, allocations: 36.11 kB / 0.8218 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.007893, allocations: 0 / 0.8218 GB, free: 6.016 MB / 0.7292 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.0001082/0.008001, allocations: 289 kB / 0.8221 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.008055, allocations: 169.3 kB / 0.8223 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.008104, allocations: 149.7 kB / 0.8224 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-05/0.008159, allocations: 279.3 kB / 0.8227 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.817e-05/0.008217, allocations: 268.1 kB / 0.8229 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-05/0.008275, allocations: 268 kB / 0.8232 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.008454, allocations: 0.5082 MB / 0.8237 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.208e-05/0.008486, allocations: 148.9 kB / 0.8238 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.008517, allocations: 148.8 kB / 0.824 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.969e-05/0.008577, allocations: 268.1 kB / 0.8242 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.008634, allocations: 264.1 kB / 0.8245 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.262e-05/0.008687, allocations: 268 kB / 0.8247 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.306e-05/0.00874, allocations: 274.3 kB / 0.825 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.008876, allocations: 468 kB / 0.8254 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.008931, allocations: 172.7 kB / 0.8256 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.008998, allocations: 264.1 kB / 0.8258 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.009072, allocations: 144.9 kB / 0.826 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.009128, allocations: 272 kB / 0.8262 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.00916, allocations: 149.8 kB / 0.8264 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.449e-05/0.009255, allocations: 217.1 kB / 0.8266 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.009255, allocations: 1.125 kB / 0.8266 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002359/0.009491, allocations: 67.92 kB / 0.8267 GB, free: 0.8711 MB / 0.7292 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.0002626/0.009753, allocations: 334 kB / 0.827 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.009865, allocations: 67.53 kB / 0.827 GB, free: 488 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.009867, allocations: 0 / 0.827 GB, free: 488 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.009868, allocations: 0 / 0.827 GB, free: 488 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.01019, allocations: 0.7106 MB / 0.8277 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.01068, allocations: 411 kB / 0.8281 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.087e-05/0.01072, allocations: 79.31 kB / 0.8282 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.077e-06/0.01073, allocations: 3.906 kB / 0.8282 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.01078, allocations: 74.2 kB / 0.8283 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.01078, allocations: 0 / 0.8283 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.005112/0.01589, allocations: 2.783 MB / 0.831 GB, free: 12.37 MB / 0.7448 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.830396371893585]