Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002243/0.002243, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.784/2.784, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_11_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.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 64.03 kB / 1.109 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8698/0.8718, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003299/0.8751, allocations: 1.409 MB / 1.275 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002914/0.878, allocations: 1.971 MB / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.8781, allocations: 0 / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.8792, allocations: 393.9 kB / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.277e-05/0.8792, allocations: 15.91 kB / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.479e-06/0.8792, allocations: 0 / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.8795, allocations: 127.2 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.006e-05/0.8796, allocations: 9.438 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.689e-05/0.8796, allocations: 47.8 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.8798, allocations: 63.7 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.8798, allocations: 0 / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005339/0.8803, allocations: 187.9 kB / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.8804, allocations: 39.81 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.8805, allocations: 63.62 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000528/0.881, allocations: 289.6 kB / 1.279 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.881, allocations: 7.875 kB / 1.279 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.394e-06/0.881, allocations: 4 kB / 1.279 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.881, allocations: 0 / 1.279 GB, free: 15.95 MB / 0.9825 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.0009089/0.8819, allocations: 498.3 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.882, allocations: 8.031 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.8821, allocations: 104.1 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.8824, allocations: 287.4 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.024e-05/0.8825, allocations: 162.9 kB / 1.28 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.622e-05/0.8826, allocations: 150.9 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.032e-05/0.8827, allocations: 109.1 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/0.8827, allocations: 75.28 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.998e-05/0.8828, allocations: 158.5 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.92e-05/0.8829, allocations: 150.6 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.886e-05/0.883, allocations: 154.6 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.8834, allocations: 0.5094 MB / 1.281 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.8835, allocations: 165.1 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.8836, allocations: 80.14 kB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.8836, allocations: 79.28 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.547e-05/0.8837, allocations: 113.8 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.8837, allocations: 0 / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001843/0.8839, allocations: 57.48 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/0.8839, allocations: 130.7 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.8843, allocations: 322.4 kB / 1.282 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.8844, allocations: 25.7 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.62e-05/0.8844, allocations: 124.5 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.8845, allocations: 0 / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.556e-05/0.8845, allocations: 57.69 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.8847, allocations: 334.8 kB / 1.282 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.405e-05/0.8848, allocations: 59.95 kB / 1.282 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.885, allocations: 122 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.8853, allocations: 205.8 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8853, allocations: 0 / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004623/0.8857, allocations: 237.3 kB / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.8858, allocations: 11.98 kB / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.8858, allocations: 0 / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.8858, allocations: 4 kB / 1.283 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.757e-06/0.8858, allocations: 8.156 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.8858, allocations: 4 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.8859, allocations: 23.73 kB / 1.283 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.8859, allocations: 4 kB / 1.283 GB, free: 11.22 MB / 0.9825 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.0002778/0.8862, allocations: 229 kB / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.086e-05/0.8863, allocations: 124.7 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.237e-05/0.8864, allocations: 117.8 kB / 1.283 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.231e-05/0.8865, allocations: 184.3 kB / 1.283 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.74e-05/0.8866, allocations: 184.2 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.96e-05/0.8867, allocations: 180.2 kB / 1.284 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.887, allocations: 453.1 kB / 1.284 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.656e-05/0.8871, allocations: 104.9 kB / 1.284 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.787e-05/0.8871, allocations: 112.9 kB / 1.284 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.524e-05/0.8872, allocations: 180.2 kB / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.529e-05/0.8873, allocations: 180.2 kB / 1.285 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.036e-05/0.8874, allocations: 184.3 kB / 1.285 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.084e-05/0.8875, allocations: 184.2 kB / 1.285 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.8878, allocations: 323.7 kB / 1.285 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.8879, allocations: 201.9 kB / 1.286 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.888, allocations: 180.2 kB / 1.286 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.8882, allocations: 105 kB / 1.286 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.724e-05/0.8883, allocations: 180.2 kB / 1.286 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/0.8883, allocations: 108.9 kB / 1.286 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002201/0.8885, allocations: 213.9 kB / 1.286 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8885, allocations: 0 / 1.286 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00041/0.8889, allocations: 67.92 kB / 1.286 GB, free: 7.285 MB / 0.9825 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.0003877/0.8893, allocations: 271.2 kB / 1.287 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.8895, allocations: 79.89 kB / 1.287 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8895, allocations: 0 / 1.287 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.8895, allocations: 0 / 1.287 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.89, allocations: 476.6 kB / 1.287 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.8906, allocations: 406.2 kB / 1.288 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.891, allocations: 0.7392 MB / 1.288 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.537e-05/0.891, allocations: 4 kB / 1.288 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.891, allocations: 11.44 kB / 1.288 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of SimCode: time 7.31e-07/0.891, allocations: 0 / 1.288 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of Templates: time 0.006365/0.8974, allocations: 2.311 MB / 1.291 GB, free: 2.941 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.000254170969129]