Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.732/2.732, allocations: 437 MB / 0.7103 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 55.91 kB / 0.8692 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7052/0.7064, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02825/0.7347, allocations: 26.65 MB / 1.043 GB, free: 7.797 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01381/0.7486, allocations: 8.075 MB / 1.051 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002747/0.7514, allocations: 111.4 kB / 1.051 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00733/0.7588, allocations: 2.765 MB / 1.054 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005565/0.7643, allocations: 1.582 MB / 1.056 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005524/0.7699, allocations: 1.679 MB / 1.057 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01089/0.7808, allocations: 6.142 MB / 1.063 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01183/0.7927, allocations: 7.419 MB / 1.07 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00527/0.798, allocations: 2.559 MB / 1.073 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005647/0.8037, allocations: 2.842 MB / 1.076 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002042/0.8058, allocations: 0.5078 MB / 1.076 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004244/0.81, allocations: 1.279 MB / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.004047/0.8141, allocations: 2.047 MB / 1.079 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.008791/0.8229, allocations: 2.385 MB / 1.082 GB, free: 220 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.8355, allocations: 8.001 MB / 1.09 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.8355, allocations: 0 / 1.09 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8356, allocations: 4 kB / 1.09 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004041/0.836, allocations: 0 / 1.09 GB, free: 8.188 MB / 0.8419 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.01601/0.852, allocations: 4.228 MB / 1.094 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.8521, allocations: 12.03 kB / 1.094 GB, free: 3.883 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009075/0.8612, allocations: 0.8039 MB / 1.095 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008783/0.87, allocations: 2.421 MB / 1.097 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004648/0.8705, allocations: 275.6 kB / 1.097 GB, free: 336 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002302/0.8728, allocations: 376.7 kB / 1.097 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02232/0.8952, allocations: 6.002 MB / 1.103 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003399/0.8956, allocations: 19.86 kB / 1.103 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002213/0.8978, allocations: 152 kB / 1.104 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009239/0.8988, allocations: 282.9 kB / 1.104 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.9132, allocations: 4.52 MB / 1.108 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03528/0.9485, allocations: 27.66 MB / 1.135 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.9502, allocations: 1.128 MB / 1.136 GB, free: 5.43 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.9514, allocations: 1.023 MB / 1.137 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.55e-05/0.9515, allocations: 13 kB / 1.137 GB, free: 4.395 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/0.9515, allocations: 43.56 kB / 1.137 GB, free: 4.34 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 2.815e-06/0.9515, allocations: 0 / 1.137 GB, free: 4.34 MB / 0.8887 GB Notification: Performance of matching and sorting (n=131): time 0.02205/0.9736, allocations: 9.664 MB / 1.147 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.9737, allocations: 64.72 kB / 1.147 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.9759, allocations: 1.502 MB / 1.148 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.9761, allocations: 49.7 kB / 1.148 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.9773, allocations: 1.663 MB / 1.15 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004578/0.9778, allocations: 477.2 kB / 1.15 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005065/0.9783, allocations: 331.2 kB / 1.151 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.9784, allocations: 305.1 kB / 1.151 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.9796, allocations: 0.9174 MB / 1.152 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.9812, allocations: 1.463 MB / 1.153 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003046/0.9843, allocations: 2.55 MB / 1.156 GB, free: 0.6328 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.9843, allocations: 4 kB / 1.156 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005601/0.9899, allocations: 3.289 MB / 1.159 GB, free: 13.3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.99, allocations: 12 kB / 1.159 GB, free: 13.29 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.99, allocations: 16 kB / 1.159 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/0.9922, allocations: 0.7419 MB / 1.16 GB, free: 12.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.9938, allocations: 395.2 kB / 1.16 GB, free: 12.12 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/1.009, allocations: 17.04 MB / 1.177 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/1.011, allocations: 108 kB / 1.177 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/1.011, allocations: 72.19 kB / 1.177 GB, free: 9.633 MB / 0.9356 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.002089/1.013, allocations: 1.308 MB / 1.178 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003987/1.014, allocations: 201.8 kB / 1.179 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004825/1.018, allocations: 2.792 MB / 1.181 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.018, allocations: 16 kB / 1.181 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.018, allocations: 8 kB / 1.181 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/1.018, allocations: 7.969 kB / 1.181 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009945/1.028, allocations: 6.225 MB / 1.187 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/1.028, allocations: 4 kB / 1.187 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/1.03, allocations: 231.6 kB / 1.188 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/1.032, allocations: 0.6711 MB / 1.188 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.98e-05/1.032, allocations: 35.98 kB / 1.188 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01498/1.047, allocations: 16.79 MB / 1.205 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/1.047, allocations: 7.938 kB / 1.205 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006128/1.053, allocations: 4.004 MB / 1.209 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.054, allocations: 450.6 kB / 1.209 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002569/1.054, allocations: 39.94 kB / 1.209 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009087/1.055, allocations: 79.89 kB / 1.209 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003309/1.055, allocations: 120.7 kB / 1.209 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.735e-05/1.056, allocations: 40 kB / 1.209 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001343/1.057, allocations: 0.9903 MB / 1.21 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/1.057, allocations: 4 kB / 1.21 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002418/1.059, allocations: 0.6836 MB / 1.211 GB, free: 5.328 MB / 0.9669 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.000287/1.06, allocations: 161.4 kB / 1.211 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006636/1.066, allocations: 4.104 MB / 1.215 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.498e-05/1.066, allocations: 4.875 kB / 1.215 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003242/1.07, allocations: 2.287 MB / 1.217 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00311/1.073, allocations: 0.6712 MB / 1.218 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/1.084, allocations: 6.529 MB / 1.224 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002632/1.086, allocations: 2.668 MB / 1.227 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001655/1.088, allocations: 485.4 kB / 1.227 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/1.088, allocations: 115.4 kB / 1.228 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/1.088, allocations: 3.938 kB / 1.228 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of Templates: time 0.6296/1.718, allocations: 33.65 MB / 1.26 GB, free: 203.9 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches