Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.0009657/0.0009657, allocations: 76.17 kB / 9.906 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001314/0.00228, allocations: 439.8 kB / 10.34 MB, free: 360 kB / 10.45 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.0009044/0.0009044, allocations: 157.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001172/0.002076, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9867/0.9867, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09544/1.082, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.388/2.388, allocations: 446.7 MB / 0.6745 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2636/2.651, allocations: 145.9 MB / 0.817 GB, free: 4.238 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8183 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.162e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002654/0.002675, allocations: 1.516 MB / 0.8198 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003026/0.005701, allocations: 2.677 MB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.005731, allocations: 3.938 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.007, allocations: 0.5552 MB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.769e-05/0.007058, allocations: 31.78 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.028e-06/0.007062, allocations: 0 / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.007319, allocations: 174.8 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.007e-05/0.007389, allocations: 22.55 kB / 0.8231 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.007524, allocations: 87.72 kB / 0.8232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.007652, allocations: 59.83 kB / 0.8233 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.007668, allocations: 4 kB / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000813/0.008481, allocations: 415.4 kB / 0.8237 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.00854, allocations: 35.84 kB / 0.8237 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.591e-05/0.008616, allocations: 55.81 kB / 0.8238 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005778/0.009193, allocations: 406.2 kB / 0.8242 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.549e-05/0.009209, allocations: 0 / 0.8242 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.81e-07/0.00921, allocations: 0 / 0.8242 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.075e-05/0.00923, allocations: 0 / 0.8242 GB, free: 12.9 MB / 0.8073 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.0007989/0.01003, allocations: 0.5899 MB / 0.8247 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.01007, allocations: 12.02 kB / 0.8247 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.0102, allocations: 88.2 kB / 0.8248 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.0104, allocations: 243.8 kB / 0.8251 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.047e-05/0.01045, allocations: 154.9 kB / 0.8252 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.0105, allocations: 150.9 kB / 0.8253 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.829e-05/0.01056, allocations: 105.5 kB / 0.8254 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.01058, allocations: 75.47 kB / 0.8255 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.497e-05/0.01063, allocations: 154.9 kB / 0.8257 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/0.01068, allocations: 162.9 kB / 0.8258 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.01072, allocations: 158.5 kB / 0.826 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.01095, allocations: 373.1 kB / 0.8263 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.796e-05/0.01105, allocations: 169.1 kB / 0.8265 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.01109, allocations: 88.08 kB / 0.8266 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.01111, allocations: 75.28 kB / 0.8266 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.049e-05/0.01117, allocations: 113.8 kB / 0.8268 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.01118, allocations: 0 / 0.8268 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 0.0001623/0.01134, allocations: 37.69 kB / 0.8268 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.01141, allocations: 126.7 kB / 0.8269 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.01172, allocations: 347 kB / 0.8272 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.01174, allocations: 33.64 kB / 0.8273 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.01181, allocations: 132.5 kB / 0.8274 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.01182, allocations: 0 / 0.8274 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/0.0119, allocations: 89.58 kB / 0.8275 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.01202, allocations: 346.7 kB / 0.8278 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.0121, allocations: 47.48 kB / 0.8279 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.798e-05/0.01219, allocations: 97.88 kB / 0.828 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.0124, allocations: 209.5 kB / 0.8282 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.0124, allocations: 0 / 0.8282 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004016/0.0128, allocations: 253.1 kB / 0.8284 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.01282, allocations: 16.2 kB / 0.8284 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.01283, allocations: 0 / 0.8284 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.01285, allocations: 4 kB / 0.8284 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.104e-06/0.01285, allocations: 0 / 0.8284 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01286, allocations: 4 kB / 0.8284 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.01299, allocations: 43.52 kB / 0.8285 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.013, allocations: 4 kB / 0.8285 GB, free: 8.234 MB / 0.8073 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.0001244/0.01313, allocations: 191.9 kB / 0.8286 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.0132, allocations: 116.9 kB / 0.8288 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.407e-05/0.01325, allocations: 118.9 kB / 0.8289 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.724e-05/0.01331, allocations: 180.2 kB / 0.829 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.608e-05/0.01336, allocations: 184.3 kB / 0.8292 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.252e-05/0.01342, allocations: 176.3 kB / 0.8294 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.01365, allocations: 373.2 kB / 0.8297 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.132e-05/0.01368, allocations: 101 kB / 0.8298 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.01371, allocations: 112.9 kB / 0.8299 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.01378, allocations: 124.8 kB / 0.8301 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-05/0.01384, allocations: 176.3 kB / 0.8302 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.907e-05/0.0139, allocations: 184.2 kB / 0.8304 GB, free: 6.129 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.974e-05/0.01396, allocations: 180.3 kB / 0.8306 GB, free: 5.945 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.672e-05/0.01402, allocations: 184.2 kB / 0.8308 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.01416, allocations: 312 kB / 0.8311 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.272e-05/0.01424, allocations: 188.2 kB / 0.8312 GB, free: 5.238 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.01436, allocations: 105 kB / 0.8313 GB, free: 5.129 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.01443, allocations: 180.2 kB / 0.8315 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.01447, allocations: 105 kB / 0.8316 GB, free: 4.836 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001286/0.01459, allocations: 116.7 kB / 0.8317 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01459, allocations: 0 / 0.8317 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003311/0.01493, allocations: 83.92 kB / 0.8318 GB, free: 4.637 MB / 0.8073 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.0003626/0.01529, allocations: 318 kB / 0.8321 GB, free: 4.316 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001434/0.01543, allocations: 81.98 kB / 0.8322 GB, free: 4.234 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.01544, allocations: 4 kB / 0.8322 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.01544, allocations: 0 / 0.8322 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.01578, allocations: 493.1 kB / 0.8327 GB, free: 3.746 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.01887, allocations: 444.6 kB / 0.8331 GB, free: 3.285 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.425e-05/0.01895, allocations: 87.3 kB / 0.8332 GB, free: 3.18 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.17e-05/0.01896, allocations: 8 kB / 0.8332 GB, free: 3.172 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.01901, allocations: 63.34 kB / 0.8332 GB, free: 3.109 MB / 0.8073 GB Notification: Performance of SimCode: time 8.72e-07/0.01901, allocations: 0 / 0.8332 GB, free: 3.109 MB / 0.8073 GB Notification: Performance of Templates: time 0.008392/0.02741, allocations: 4.347 MB / 0.8375 GB, free: 14.77 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.ref.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.357085750438273]