Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001986/0.001986, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.001977/0.001977, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 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 1.564/1.564, allocations: 177.1 MB / 203.1 MB, free: 5.535 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.311/3.311, allocations: 429.5 MB / 0.6729 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,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_3.load1.v.1.|load_sc_3.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.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.001e-06/6.001e-06, allocations: 3.984 kB / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/3.233e-05, allocations: 2.906 kB / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.04332/0.04335, allocations: 26.84 MB / 0.9037 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.05963, allocations: 8.24 MB / 0.9117 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.06169, allocations: 154.8 kB / 0.9119 GB, free: 3.34 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.008208/0.0699, allocations: 2.858 MB / 0.9147 GB, free: 480 kB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.004653/0.07455, allocations: 1.717 MB / 0.9163 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.004558/0.07911, allocations: 1.695 MB / 0.918 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.009209/0.08832, allocations: 6.27 MB / 0.9241 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006654/0.09497, allocations: 3.766 MB / 0.9278 GB, free: 2.898 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00779/0.1028, allocations: 3.761 MB / 0.9315 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005725/0.1085, allocations: 2.81 MB / 0.9342 GB, free: 12.31 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.1099, allocations: 0.5117 MB / 0.9347 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.1131, allocations: 1.209 MB / 0.9359 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.003356/0.1165, allocations: 2.237 MB / 0.9381 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.003604/0.1201, allocations: 1.676 MB / 0.9397 GB, free: 6.668 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.132, allocations: 8.255 MB / 0.9478 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.132, allocations: 0 / 0.9478 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.463e-06/0.132, allocations: 0 / 0.9478 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001946/0.1322, allocations: 0 / 0.9478 GB, free: 14.39 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01107/0.1432, allocations: 4.865 MB / 0.9525 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1433, allocations: 8.031 kB / 0.9525 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005789/0.1491, allocations: 1.27 MB / 0.9538 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007035/0.1561, allocations: 2.516 MB / 0.9562 GB, free: 5.602 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/0.1564, allocations: 271.6 kB / 0.9565 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001289/0.1577, allocations: 384.8 kB / 0.9569 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01028/0.168, allocations: 4.429 MB / 0.9612 GB, free: 80 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/0.1681, allocations: 27.7 kB / 0.9612 GB, free: 52 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004404/0.1686, allocations: 156 kB / 0.9614 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000691/0.1692, allocations: 290.8 kB / 0.9616 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00509/0.1743, allocations: 1.619 MB / 0.9632 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03647/0.2108, allocations: 23.74 MB / 0.9864 GB, free: 5.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.2122, allocations: 0.5233 MB / 0.9869 GB, free: 4.988 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009995/0.2132, allocations: 470.5 kB / 0.9874 GB, free: 4.527 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-05/0.2133, allocations: 17 kB / 0.9874 GB, free: 4.508 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/0.2134, allocations: 58.38 kB / 0.9874 GB, free: 4.441 MB / 0.948 GB Notification: Performance of pre-optimization done (n=110): time 3.367e-06/0.2134, allocations: 0 / 0.9874 GB, free: 4.441 MB / 0.948 GB Notification: Performance of matching and sorting (n=131): time 0.01673/0.2301, allocations: 5.464 MB / 0.9928 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.2301, allocations: 64.72 kB / 0.9928 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/0.2328, allocations: 1.797 MB / 0.9946 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.233, allocations: 49.7 kB / 0.9946 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001954/0.2349, allocations: 1.874 MB / 0.9965 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006232/0.2356, allocations: 0.5311 MB / 0.997 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000733/0.2363, allocations: 405 kB / 0.9974 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002485/0.2365, allocations: 476.8 kB / 0.9978 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.2376, allocations: 455.8 kB / 0.9982 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/0.2394, allocations: 1.276 MB / 0.9995 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003115/0.2425, allocations: 1.883 MB / 1.001 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.2426, allocations: 4 kB / 1.001 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005764/0.2483, allocations: 2.285 MB / 1.004 GB, free: 3.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.2483, allocations: 18.19 kB / 1.004 GB, free: 3.055 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.683e-05/0.2484, allocations: 20 kB / 1.004 GB, free: 3.035 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002906/0.2513, allocations: 0.665 MB / 1.004 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.253, allocations: 383.3 kB / 1.005 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0206/0.2736, allocations: 17.88 MB / 1.022 GB, free: 14.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.2753, allocations: 107.8 kB / 1.022 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.2754, allocations: 76 kB / 1.022 GB, free: 14.79 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001501/0.2769, allocations: 388 kB / 1.023 GB, free: 14.4 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004713/0.2774, allocations: 242.8 kB / 1.023 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005182/0.2826, allocations: 1.743 MB / 1.025 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.2826, allocations: 12 kB / 1.025 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.2826, allocations: 12 kB / 1.025 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.2826, allocations: 3.984 kB / 1.025 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/0.2947, allocations: 5.437 MB / 1.03 GB, free: 6.711 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.2947, allocations: 4 kB / 1.03 GB, free: 6.707 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/0.2961, allocations: 235.6 kB / 1.03 GB, free: 6.477 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002672/0.2987, allocations: 0.6101 MB / 1.031 GB, free: 5.828 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.2988, allocations: 39.98 kB / 1.031 GB, free: 5.789 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01975/0.3186, allocations: 17.79 MB / 1.048 GB, free: 2.898 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/0.3186, allocations: 8 kB / 1.048 GB, free: 2.891 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006394/0.325, allocations: 2.447 MB / 1.051 GB, free: 300 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3746/0.6996, allocations: 355.3 kB / 1.051 GB, free: 191.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005363/0.7001, allocations: 37.77 kB / 1.051 GB, free: 191.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009922/0.7011, allocations: 78.28 kB / 1.051 GB, free: 191.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/0.7014, allocations: 127 kB / 1.051 GB, free: 191.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.624e-05/0.7015, allocations: 41.34 kB / 1.051 GB, free: 191.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001105/0.7026, allocations: 0.9964 MB / 1.052 GB, free: 191 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7026, allocations: 4.75 kB / 1.052 GB, free: 191 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001992/0.7046, allocations: 0.689 MB / 1.053 GB, free: 191 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002143/0.7048, allocations: 151.2 kB / 1.053 GB, free: 190.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003777/0.7085, allocations: 3.14 MB / 1.056 GB, free: 189.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.7086, allocations: 3.312 kB / 1.056 GB, free: 189.4 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002428/0.711, allocations: 2.398 MB / 1.058 GB, free: 187.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/0.7135, allocations: 0.6352 MB / 1.059 GB, free: 187.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007828/0.7213, allocations: 5.982 MB / 1.065 GB, free: 185.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001864/0.7232, allocations: 1.894 MB / 1.067 GB, free: 185.1 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001153/0.7243, allocations: 387.5 kB / 1.067 GB, free: 185 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.7246, allocations: 115.5 kB / 1.067 GB, free: 185 MB / 1.01 GB Notification: Performance of SimCode: time 1.483e-06/0.7246, allocations: 0 / 1.067 GB, free: 185 MB / 1.01 GB Notification: Performance of Templates: time 0.05455/0.7792, allocations: 33.93 MB / 1.1 GB, free: 181.3 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.77219879499171]