Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001919/0.001919, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002326/0.002326, allocations: 162.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.571/1.571, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 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 2.927/2.927, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.319e-05, allocations: 2.281 kB / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02579/0.02582, allocations: 19.13 MB / 1.019 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01276/0.03859, allocations: 6.379 MB / 1.025 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/0.0407, allocations: 115.1 kB / 1.025 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006612/0.04731, allocations: 2.259 MB / 1.027 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004638/0.05195, allocations: 1.266 MB / 1.029 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005591/0.05754, allocations: 1.301 MB / 1.03 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007062/0.0646, allocations: 4.947 MB / 1.035 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006269/0.07087, allocations: 3.17 MB / 1.038 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006185/0.07705, allocations: 3.009 MB / 1.041 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004687/0.08174, allocations: 2.182 MB / 1.043 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001309/0.08305, allocations: 436 kB / 1.043 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/0.08611, allocations: 0.9514 MB / 1.044 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002698/0.08881, allocations: 1.785 MB / 1.046 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003641/0.09245, allocations: 1.345 MB / 1.047 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.1049, allocations: 6.638 MB / 1.054 GB, free: 144 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.1049, allocations: 3.938 kB / 1.054 GB, free: 140 kB / 0.9981 GB Notification: Performance of FrontEnd: time 3.426e-06/0.1049, allocations: 0 / 1.054 GB, free: 140 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000256/0.1051, allocations: 0 / 1.054 GB, free: 140 kB / 0.9981 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.009256/0.1144, allocations: 3.434 MB / 1.057 GB, free: 12.65 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.1144, allocations: 12.03 kB / 1.057 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/0.118, allocations: 0.6585 MB / 1.058 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0039/0.1219, allocations: 1.993 MB / 1.06 GB, free: 9.926 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.1221, allocations: 226.3 kB / 1.06 GB, free: 9.703 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005466/0.1226, allocations: 292.3 kB / 1.06 GB, free: 9.418 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009141/0.1318, allocations: 5.242 MB / 1.065 GB, free: 3.891 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.393e-05/0.1318, allocations: 12.08 kB / 1.065 GB, free: 3.879 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003468/0.1322, allocations: 131.9 kB / 1.065 GB, free: 3.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004751/0.1327, allocations: 233.7 kB / 1.066 GB, free: 3.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006766/0.1394, allocations: 3.738 MB / 1.069 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02063/0.1601, allocations: 13.08 MB / 1.082 GB, free: 2.352 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.162, allocations: 1.232 MB / 1.083 GB, free: 1.113 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.1636, allocations: 0.9835 MB / 1.084 GB, free: 132 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.907e-05/0.1637, allocations: 17 kB / 1.084 GB, free: 112 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/0.1638, allocations: 43.56 kB / 1.084 GB, free: 60 kB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 3.456e-06/0.1638, allocations: 4 kB / 1.084 GB, free: 56 kB / 1.029 GB Notification: Performance of matching and sorting (n=138): time 0.0271/0.1909, allocations: 8.424 MB / 1.093 GB, free: 7.621 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.1909, allocations: 68.72 kB / 1.093 GB, free: 7.543 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.1926, allocations: 1.063 MB / 1.094 GB, free: 6.469 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.1927, allocations: 49.7 kB / 1.094 GB, free: 6.414 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.1938, allocations: 1.35 MB / 1.095 GB, free: 5.051 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005171/0.1943, allocations: 495.7 kB / 1.096 GB, free: 4.562 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005457/0.1948, allocations: 287.5 kB / 1.096 GB, free: 4.273 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.195, allocations: 301.1 kB / 1.096 GB, free: 3.977 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.1964, allocations: 0.9174 MB / 1.097 GB, free: 3.059 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.1982, allocations: 1.326 MB / 1.098 GB, free: 1.562 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003455/0.2017, allocations: 2.422 MB / 1.101 GB, free: 14.97 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.2017, allocations: 7.938 kB / 1.101 GB, free: 14.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006728/0.2084, allocations: 3.417 MB / 1.104 GB, free: 11.53 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.2084, allocations: 15.94 kB / 1.104 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.2084, allocations: 12 kB / 1.104 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003648/0.2121, allocations: 1.186 MB / 1.105 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.2131, allocations: 255.6 kB / 1.105 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02051/0.2336, allocations: 13.26 MB / 1.118 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.236, allocations: 87.97 kB / 1.118 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000498/0.2365, allocations: 67.94 kB / 1.119 GB, free: 12.35 MB / 1.076 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.003678/0.2402, allocations: 1.114 MB / 1.12 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006232/0.2408, allocations: 159.1 kB / 1.12 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007159/0.248, allocations: 3.133 MB / 1.123 GB, free: 7.914 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.248, allocations: 16 kB / 1.123 GB, free: 7.898 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.925e-05/0.248, allocations: 12 kB / 1.123 GB, free: 7.887 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/0.248, allocations: 7.969 kB / 1.123 GB, free: 7.879 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.2595, allocations: 5.469 MB / 1.128 GB, free: 2.301 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.2595, allocations: 7.938 kB / 1.128 GB, free: 2.293 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006496/0.2602, allocations: 147.8 kB / 1.128 GB, free: 2.148 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003258/0.2634, allocations: 1.072 MB / 1.129 GB, free: 1.07 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/0.2635, allocations: 31.94 kB / 1.129 GB, free: 1.039 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6383/0.9018, allocations: 12.94 MB / 1.142 GB, free: 154.1 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.9018, allocations: 5.531 kB / 1.142 GB, free: 154.1 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004761/0.9066, allocations: 3.102 MB / 1.145 GB, free: 152.8 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007841/0.9074, allocations: 345.5 kB / 1.145 GB, free: 152.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/0.9076, allocations: 32.11 kB / 1.145 GB, free: 152.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000816/0.9084, allocations: 87.02 kB / 1.146 GB, free: 152.7 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/0.9088, allocations: 131.5 kB / 1.146 GB, free: 152.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.628e-05/0.9089, allocations: 37.03 kB / 1.146 GB, free: 152.6 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008679/0.9097, allocations: 0.7012 MB / 1.146 GB, free: 152.3 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9097, allocations: 2.844 kB / 1.146 GB, free: 152.3 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002025/0.9118, allocations: 0.6581 MB / 1.147 GB, free: 152.3 MB / 1.076 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.0002503/0.912, allocations: 145 kB / 1.147 GB, free: 152.2 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004146/0.9162, allocations: 2.997 MB / 1.15 GB, free: 150.9 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.9162, allocations: 2.781 kB / 1.15 GB, free: 150.9 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002606/0.9188, allocations: 1.889 MB / 1.152 GB, free: 149.9 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.9209, allocations: 471.1 kB / 1.152 GB, free: 149.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008475/0.9294, allocations: 5.502 MB / 1.158 GB, free: 147.4 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002102/0.9315, allocations: 1.773 MB / 1.159 GB, free: 146.9 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001277/0.9328, allocations: 339.8 kB / 1.16 GB, free: 146.9 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.9331, allocations: 82.91 kB / 1.16 GB, free: 146.9 MB / 1.076 GB Notification: Performance of SimCode: time 1.804e-06/0.9331, allocations: 0 / 1.16 GB, free: 146.9 MB / 1.076 GB Notification: Performance of Templates: time 0.06098/0.9941, allocations: 32.95 MB / 1.192 GB, free: 142.6 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.484853189438581]