Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000782/0.000782, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.001908, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008249/0.0008249, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001004/0.001829, 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 1.045/1.045, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09303/1.138, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.515/2.515, allocations: 446.7 MB / 0.6745 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2711/2.786, allocations: 145.9 MB / 0.817 GB, free: 4.234 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_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 3.938 kB / 0.8183 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.415e-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_low): time 0.002444/0.002468, allocations: 1.499 MB / 0.8197 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00201/0.004478, allocations: 1.954 MB / 0.8216 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.004504, allocations: 0 / 0.8216 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0009113/0.005415, allocations: 365.6 kB / 0.822 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.005474, allocations: 31.78 kB / 0.822 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.406e-06/0.005477, allocations: 0 / 0.822 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.005707, allocations: 139.1 kB / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.00576, allocations: 10.33 kB / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.005867, allocations: 67.81 kB / 0.8222 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.00597, allocations: 47.83 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.005989, allocations: 4 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.006378, allocations: 187.9 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.006429, allocations: 31.86 kB / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.411e-05/0.006493, allocations: 43.88 kB / 0.8225 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.006884, allocations: 274.8 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-05/0.0069, allocations: 0 / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.222e-06/0.006901, allocations: 0 / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.006919, allocations: 0 / 0.8228 GB, free: 14.29 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.0006624/0.007582, allocations: 0.4966 MB / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.00762, allocations: 12.03 kB / 0.8233 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.007742, allocations: 92.2 kB / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.007901, allocations: 224.4 kB / 0.8236 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.007946, allocations: 154.9 kB / 0.8237 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.007991, allocations: 150.9 kB / 0.8239 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.296e-05/0.008044, allocations: 105.5 kB / 0.824 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.008067, allocations: 75.47 kB / 0.8241 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.406e-05/0.008111, allocations: 158.6 kB / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/0.008152, allocations: 150.6 kB / 0.8244 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.889e-05/0.008201, allocations: 162.5 kB / 0.8245 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000204/0.008405, allocations: 365.2 kB / 0.8249 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.745e-05/0.008483, allocations: 169.1 kB / 0.825 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.008511, allocations: 88.14 kB / 0.8251 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.008538, allocations: 79.22 kB / 0.8252 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.008584, allocations: 109.8 kB / 0.8253 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.008585, allocations: 0 / 0.8253 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 0.0001384/0.008724, allocations: 41.69 kB / 0.8253 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.00878, allocations: 126.7 kB / 0.8254 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.009012, allocations: 272.6 kB / 0.8257 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.009028, allocations: 25.7 kB / 0.8257 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.009086, allocations: 112.5 kB / 0.8258 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.009088, allocations: 0 / 0.8258 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/0.009151, allocations: 61.64 kB / 0.8259 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.009265, allocations: 338.8 kB / 0.8262 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.145e-05/0.009327, allocations: 26.83 kB / 0.8262 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.009401, allocations: 81.8 kB / 0.8263 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.009562, allocations: 153.7 kB / 0.8265 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.009565, allocations: 0 / 0.8265 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003103/0.009876, allocations: 181.2 kB / 0.8266 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.009902, allocations: 7.984 kB / 0.8266 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.009911, allocations: 4 kB / 0.8267 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.009921, allocations: 0 / 0.8267 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.604e-06/0.009929, allocations: 4 kB / 0.8267 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.009932, allocations: 4.219 kB / 0.8267 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.01003, allocations: 35.62 kB / 0.8267 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.01004, allocations: 8 kB / 0.8267 GB, free: 10.05 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.0001163/0.01016, allocations: 194.8 kB / 0.8269 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.01021, allocations: 109 kB / 0.827 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/0.01026, allocations: 125.8 kB / 0.8271 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.132e-05/0.01031, allocations: 176.3 kB / 0.8273 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.973e-05/0.01036, allocations: 184.2 kB / 0.8275 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.644e-05/0.01042, allocations: 184.1 kB / 0.8276 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.01061, allocations: 345.4 kB / 0.828 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.038e-05/0.01064, allocations: 108.9 kB / 0.8281 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.01067, allocations: 101 kB / 0.8282 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.01072, allocations: 116.9 kB / 0.8283 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.743e-05/0.01078, allocations: 196.2 kB / 0.8285 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/0.01083, allocations: 180.2 kB / 0.8286 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.726e-05/0.01088, allocations: 180.2 kB / 0.8288 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-05/0.01093, allocations: 180.3 kB / 0.829 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.01106, allocations: 311.7 kB / 0.8293 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.557e-05/0.01113, allocations: 180.2 kB / 0.8294 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.01124, allocations: 116.9 kB / 0.8296 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.0113, allocations: 184.2 kB / 0.8297 GB, free: 6.773 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.01133, allocations: 104.9 kB / 0.8298 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001012/0.01143, allocations: 82.77 kB / 0.8299 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01143, allocations: 4 kB / 0.8299 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002929/0.01173, allocations: 67.86 kB / 0.83 GB, free: 6.508 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.0003247/0.01205, allocations: 267.8 kB / 0.8302 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.01218, allocations: 57.08 kB / 0.8303 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.01218, allocations: 4.062 kB / 0.8303 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.01218, allocations: 4 kB / 0.8303 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.01247, allocations: 472.2 kB / 0.8307 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.01503, allocations: 367.8 kB / 0.8311 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.443e-05/0.01508, allocations: 79.31 kB / 0.8312 GB, free: 5.223 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.272e-05/0.01509, allocations: 4 kB / 0.8312 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.01514, allocations: 51.38 kB / 0.8312 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of SimCode: time 1.002e-06/0.01514, allocations: 4 kB / 0.8312 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of Templates: time 0.005765/0.02091, allocations: 2.776 MB / 0.8339 GB, free: 2.395 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.5223161624744534]