Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001686/0.001686, 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.002271/0.002271, allocations: 193.4 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.445/1.445, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.801/2.801, allocations: 476.7 MB / 0.7645 GB, free: 10.12 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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 65.55 kB / 1.109 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3208, allocations: 168.7 MB / 1.274 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02606/0.3469, allocations: 21.21 MB / 1.295 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.3588, allocations: 6.687 MB / 1.301 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.3605, allocations: 83.62 kB / 1.301 GB, free: 15.24 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006183/0.3667, allocations: 2.321 MB / 1.304 GB, free: 12.91 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003675/0.3704, allocations: 1.248 MB / 1.305 GB, free: 11.66 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.3739, allocations: 1.309 MB / 1.306 GB, free: 10.35 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006582/0.3805, allocations: 4.85 MB / 1.311 GB, free: 5.488 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004578/0.385, allocations: 2.959 MB / 1.314 GB, free: 2.465 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003372/0.3884, allocations: 2.123 MB / 1.316 GB, free: 344 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003868/0.3923, allocations: 2.473 MB / 1.318 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0007249/0.393, allocations: 428 kB / 1.319 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002031/0.395, allocations: 1.022 MB / 1.32 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002136/0.3972, allocations: 1.711 MB / 1.321 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002418/0.3996, allocations: 1.914 MB / 1.323 GB, free: 8.777 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008867/0.4085, allocations: 6.53 MB / 1.33 GB, free: 2.227 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4085, allocations: 0 / 1.33 GB, free: 2.227 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4085, allocations: 0 / 1.33 GB, free: 2.227 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001397/0.4086, allocations: 4 kB / 1.33 GB, free: 2.223 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008265/0.4169, allocations: 3.541 MB / 1.333 GB, free: 14.61 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.4169, allocations: 8.031 kB / 1.333 GB, free: 14.61 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003971/0.4209, allocations: 0.6584 MB / 1.334 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004653/0.4255, allocations: 2.046 MB / 1.336 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.4257, allocations: 226.2 kB / 1.336 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004949/0.4262, allocations: 300.3 kB / 1.336 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00838/0.4346, allocations: 4.886 MB / 1.341 GB, free: 6.242 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.429e-05/0.4347, allocations: 15.89 kB / 1.341 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003122/0.435, allocations: 124 kB / 1.341 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004542/0.4355, allocations: 237.7 kB / 1.341 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006259/0.4417, allocations: 3.75 MB / 1.345 GB, free: 2.109 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02538/0.4671, allocations: 21.44 MB / 1.366 GB, free: 10.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.47, allocations: 1.23 MB / 1.367 GB, free: 9.438 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002147/0.4722, allocations: 0.9908 MB / 1.368 GB, free: 8.449 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.283e-05/0.4722, allocations: 9 kB / 1.368 GB, free: 8.441 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.4724, allocations: 51.55 kB / 1.368 GB, free: 8.379 MB / 1.076 GB Notification: Performance of pre-optimization done (n=107): time 5.55e-06/0.4724, allocations: 3.938 kB / 1.368 GB, free: 8.375 MB / 1.076 GB Notification: Performance of matching and sorting (n=138): time 0.03692/0.5093, allocations: 8.657 MB / 1.377 GB, free: 15.66 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/0.5094, allocations: 68.72 kB / 1.377 GB, free: 15.58 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/0.5121, allocations: 1.134 MB / 1.378 GB, free: 14.44 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002283/0.5123, allocations: 45.7 kB / 1.378 GB, free: 14.39 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.5137, allocations: 1.335 MB / 1.379 GB, free: 13.05 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007533/0.5145, allocations: 0.4996 MB / 1.38 GB, free: 12.54 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008518/0.5153, allocations: 291.5 kB / 1.38 GB, free: 12.25 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.5155, allocations: 305.1 kB / 1.38 GB, free: 11.95 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/0.5176, allocations: 0.9135 MB / 1.381 GB, free: 11.04 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002621/0.5202, allocations: 1.33 MB / 1.382 GB, free: 9.535 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003812/0.524, allocations: 2.422 MB / 1.385 GB, free: 6.941 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.524, allocations: 7.938 kB / 1.385 GB, free: 6.934 MB / 1.092 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00677/0.5308, allocations: 3.433 MB / 1.388 GB, free: 3.48 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.5308, allocations: 12 kB / 1.388 GB, free: 3.469 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.5309, allocations: 12 kB / 1.388 GB, free: 3.457 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003407/0.5343, allocations: 1.174 MB / 1.389 GB, free: 2.277 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.5353, allocations: 263.5 kB / 1.39 GB, free: 2.02 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02043/0.5557, allocations: 13.85 MB / 1.403 GB, free: 3.742 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.5571, allocations: 91.97 kB / 1.403 GB, free: 3.652 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002419/0.5573, allocations: 60 kB / 1.403 GB, free: 3.594 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002042/0.5594, allocations: 1.114 MB / 1.404 GB, free: 2.469 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/0.5598, allocations: 167 kB / 1.404 GB, free: 2.305 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006252/0.566, allocations: 3.13 MB / 1.408 GB, free: 15.15 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.566, allocations: 12 kB / 1.408 GB, free: 15.14 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.929e-05/0.5661, allocations: 19.92 kB / 1.408 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.5661, allocations: 11.92 kB / 1.408 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.5781, allocations: 6.202 MB / 1.414 GB, free: 8.77 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.5782, allocations: 4 kB / 1.414 GB, free: 8.766 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006163/0.5788, allocations: 143.8 kB / 1.414 GB, free: 8.625 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003054/0.5818, allocations: 1.083 MB / 1.415 GB, free: 7.535 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.5819, allocations: 24 kB / 1.415 GB, free: 7.512 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0192/0.6011, allocations: 13.54 MB / 1.428 GB, free: 9.551 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.6011, allocations: 11.94 kB / 1.428 GB, free: 9.539 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005976/0.6071, allocations: 3.12 MB / 1.431 GB, free: 6.34 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.6082, allocations: 427.9 kB / 1.432 GB, free: 5.902 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003619/0.6086, allocations: 35.88 kB / 1.432 GB, free: 5.867 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009782/0.6096, allocations: 83.89 kB / 1.432 GB, free: 5.785 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/0.61, allocations: 132.6 kB / 1.432 GB, free: 5.652 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.677e-05/0.6101, allocations: 36 kB / 1.432 GB, free: 5.617 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00132/0.6114, allocations: 0.7671 MB / 1.433 GB, free: 4.848 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.6114, allocations: 0 / 1.433 GB, free: 4.848 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002358/0.6137, allocations: 0.6562 MB / 1.433 GB, free: 4.191 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002992/0.614, allocations: 147.6 kB / 1.433 GB, free: 4.035 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005323/0.6194, allocations: 3.002 MB / 1.436 GB, free: 1 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/0.6194, allocations: 4 kB / 1.436 GB, free: 0.9961 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003411/0.6228, allocations: 1.888 MB / 1.438 GB, free: 15.07 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.6255, allocations: 0.4974 MB / 1.439 GB, free: 14.59 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.6365, allocations: 5.539 MB / 1.444 GB, free: 8.961 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003202/0.6397, allocations: 2.336 MB / 1.446 GB, free: 6.594 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001193/0.6409, allocations: 350.1 kB / 1.447 GB, free: 6.246 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.6412, allocations: 91.42 kB / 1.447 GB, free: 6.156 MB / 1.154 GB Notification: Performance of SimCode: time 8.02e-07/0.6412, allocations: 0 / 1.447 GB, free: 6.156 MB / 1.154 GB Notification: Performance of Templates: time 0.06283/0.704, allocations: 34.21 MB / 1.48 GB, free: 4.379 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.459101369138807]