Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 104.5 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.402/1.402, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 67.89 kB / 0.9516 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04804/1.052, allocations: 34.83 MB / 1.123 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02413/1.076, allocations: 11.49 MB / 1.134 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005273/1.082, allocations: 163 kB / 1.134 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01333/1.095, allocations: 4.264 MB / 1.138 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009187/1.104, allocations: 1.989 MB / 1.14 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009029/1.113, allocations: 2.397 MB / 1.142 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01493/1.128, allocations: 8.467 MB / 1.151 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02302/1.151, allocations: 11.13 MB / 1.162 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009924/1.161, allocations: 3.796 MB / 1.165 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009404/1.171, allocations: 4.187 MB / 1.169 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003888/1.175, allocations: 0.7793 MB / 1.17 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008105/1.183, allocations: 2.026 MB / 1.172 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.007286/1.19, allocations: 3.059 MB / 1.175 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01064/1.201, allocations: 3.397 MB / 1.178 GB, free: 15.75 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02162/1.222, allocations: 11.98 MB / 1.19 GB, free: 6.059 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.222, allocations: 4 kB / 1.19 GB, free: 6.055 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.825e-06/1.222, allocations: 0 / 1.19 GB, free: 6.055 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004028/1.223, allocations: 0 / 1.19 GB, free: 6.055 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02176/1.245, allocations: 5.799 MB / 1.196 GB, free: 188 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/1.245, allocations: 8.031 kB / 1.196 GB, free: 180 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008317/1.253, allocations: 1.064 MB / 1.197 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008154/1.261, allocations: 3.45 MB / 1.2 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004819/1.262, allocations: 419.5 kB / 1.201 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002368/1.264, allocations: 0.5393 MB / 1.201 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02426/1.288, allocations: 9.079 MB / 1.21 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003451/1.289, allocations: 35.69 kB / 1.21 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002042/1.291, allocations: 232 kB / 1.21 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000502/1.291, allocations: 346.8 kB / 1.211 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/1.308, allocations: 6.83 MB / 1.217 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0552/1.363, allocations: 39.79 MB / 1.256 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004716/1.368, allocations: 3.104 MB / 1.259 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002963/1.371, allocations: 1.981 MB / 1.261 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/1.371, allocations: 18 kB / 1.261 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/1.371, allocations: 52.56 kB / 1.261 GB, free: 9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=179): time 3.878e-06/1.371, allocations: 3.938 kB / 1.261 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=182): time 0.02614/1.397, allocations: 9.989 MB / 1.271 GB, free: 14.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/1.397, allocations: 69.41 kB / 1.271 GB, free: 14.83 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002808/1.4, allocations: 1.526 MB / 1.272 GB, free: 13.26 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003231/1.401, allocations: 49.7 kB / 1.273 GB, free: 13.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001727/1.402, allocations: 2.261 MB / 1.275 GB, free: 10.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008369/1.403, allocations: 0.6277 MB / 1.275 GB, free: 10.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008216/1.404, allocations: 407.9 kB / 1.276 GB, free: 9.867 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.404, allocations: 313.1 kB / 1.276 GB, free: 9.559 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/1.406, allocations: 1.175 MB / 1.277 GB, free: 8.379 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002314/1.408, allocations: 1.889 MB / 1.279 GB, free: 6.164 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004491/1.413, allocations: 3.363 MB / 1.282 GB, free: 2.488 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.306e-05/1.413, allocations: 4 kB / 1.282 GB, free: 2.484 MB / 1.014 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.009193/1.422, allocations: 4.585 MB / 1.287 GB, free: 13.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.725e-05/1.422, allocations: 16.03 kB / 1.287 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.587e-05/1.422, allocations: 24 kB / 1.287 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0046/1.427, allocations: 1.578 MB / 1.288 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/1.428, allocations: 355.3 kB / 1.289 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02556/1.454, allocations: 18.59 MB / 1.307 GB, free: 8.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/1.456, allocations: 119.9 kB / 1.307 GB, free: 8.633 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004069/1.456, allocations: 96 kB / 1.307 GB, free: 8.539 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003604/1.46, allocations: 1.894 MB / 1.309 GB, free: 6.633 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006033/1.461, allocations: 221.4 kB / 1.309 GB, free: 6.414 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007622/1.468, allocations: 4.102 MB / 1.313 GB, free: 2.285 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/1.468, allocations: 16 kB / 1.313 GB, free: 2.27 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.106e-05/1.468, allocations: 16 kB / 1.313 GB, free: 2.254 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.123e-05/1.468, allocations: 7.969 kB / 1.313 GB, free: 2.246 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01839/1.487, allocations: 9.457 MB / 1.322 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/1.487, allocations: 7.984 kB / 1.322 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008579/1.488, allocations: 179.7 kB / 1.323 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003635/1.491, allocations: 1.349 MB / 1.324 GB, free: 7.004 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001766/1.492, allocations: 39.94 kB / 1.324 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02333/1.515, allocations: 17.36 MB / 1.341 GB, free: 5.039 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/1.515, allocations: 11.94 kB / 1.341 GB, free: 5.027 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007729/1.523, allocations: 4.07 MB / 1.345 GB, free: 0.8633 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/1.524, allocations: 0.5333 MB / 1.345 GB, free: 316 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005031/1.525, allocations: 40.11 kB / 1.345 GB, free: 276 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/1.526, allocations: 87.89 kB / 1.346 GB, free: 188 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004797/1.526, allocations: 165.7 kB / 1.346 GB, free: 24 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/1.527, allocations: 48.08 kB / 1.346 GB, free: 15.97 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001663/1.528, allocations: 1.005 MB / 1.347 GB, free: 14.95 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.5e-07/1.528, allocations: 0 / 1.347 GB, free: 14.95 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003417/1.532, allocations: 0.9844 MB / 1.348 GB, free: 13.96 MB / 1.092 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000296/1.532, allocations: 147.1 kB / 1.348 GB, free: 13.81 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007158/1.539, allocations: 4.296 MB / 1.352 GB, free: 9.461 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/1.539, allocations: 4 kB / 1.352 GB, free: 9.457 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004509/1.544, allocations: 2.662 MB / 1.355 GB, free: 6.754 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005207/1.549, allocations: 0.7816 MB / 1.355 GB, free: 6 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02043/1.569, allocations: 9.354 MB / 1.365 GB, free: 12.56 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006059/1.575, allocations: 3.67 MB / 1.368 GB, free: 8.855 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006041/1.576, allocations: 127.4 kB / 1.368 GB, free: 8.73 MB / 1.107 GB Notification: Performance of SimCode: time 1.112e-06/1.576, allocations: 0 / 1.368 GB, free: 8.73 MB / 1.107 GB Notification: Performance of Templates: time 0.2055/1.782, allocations: 159.7 MB / 1.524 GB, free: 9.035 MB / 1.264 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches