Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002132/0.002132, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.538/1.538, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.859/2.859, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 63.91 kB / 0.8686 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.696/0.698, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03939/0.7374, allocations: 32.32 MB / 1.048 GB, free: 2.316 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01808/0.7555, allocations: 10.27 MB / 1.058 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004015/0.7596, allocations: 135.2 kB / 1.058 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.7699, allocations: 3.48 MB / 1.062 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.006228/0.7761, allocations: 1.735 MB / 1.063 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.006011/0.7821, allocations: 1.941 MB / 1.065 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01331/0.7955, allocations: 10.58 MB / 1.076 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01924/0.8148, allocations: 10.62 MB / 1.086 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005602/0.8204, allocations: 2.705 MB / 1.089 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00764/0.8281, allocations: 3.548 MB / 1.092 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002401/0.8305, allocations: 455.9 kB / 1.093 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005628/0.8362, allocations: 1.887 MB / 1.094 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.006081/0.8423, allocations: 2.343 MB / 1.097 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.007683/0.85, allocations: 2.66 MB / 1.099 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01618/0.8662, allocations: 9.971 MB / 1.109 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.8663, allocations: 4 kB / 1.109 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8663, allocations: 0 / 1.109 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003805/0.8667, allocations: 0 / 1.109 GB, free: 3.75 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01425/0.881, allocations: 4.994 MB / 1.114 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.881, allocations: 16.03 kB / 1.114 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006498/0.8875, allocations: 0.9512 MB / 1.115 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00763/0.8952, allocations: 2.855 MB / 1.118 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004227/0.8956, allocations: 349.7 kB / 1.118 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002117/0.8978, allocations: 468.1 kB / 1.118 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0201/0.9179, allocations: 7.667 MB / 1.126 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003205/0.9183, allocations: 27.72 kB / 1.126 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001662/0.9199, allocations: 204 kB / 1.126 GB, free: 1.754 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004679/0.9204, allocations: 312.9 kB / 1.126 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01461/0.9351, allocations: 5.702 MB / 1.132 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04788/0.983, allocations: 35.1 MB / 1.166 GB, free: 5.422 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/0.9867, allocations: 2.154 MB / 1.168 GB, free: 3.152 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.9888, allocations: 1.276 MB / 1.17 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/0.9889, allocations: 13.31 kB / 1.17 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.989, allocations: 47.88 kB / 1.17 GB, free: 1.805 MB / 0.92 GB Notification: Performance of pre-optimization done (n=133): time 4.238e-06/0.989, allocations: 7.938 kB / 1.17 GB, free: 1.797 MB / 0.92 GB Notification: Performance of matching and sorting (n=136): time 0.01719/1.006, allocations: 7.081 MB / 1.177 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/1.006, allocations: 72.66 kB / 1.177 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/1.009, allocations: 1.48 MB / 1.178 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002268/1.009, allocations: 49.7 kB / 1.178 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001748/1.011, allocations: 2.004 MB / 1.18 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006677/1.012, allocations: 489 kB / 1.181 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007217/1.012, allocations: 351.1 kB / 1.181 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.013, allocations: 305.1 kB / 1.181 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/1.014, allocations: 0.9096 MB / 1.182 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/1.016, allocations: 1.589 MB / 1.184 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004033/1.021, allocations: 2.737 MB / 1.186 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.89e-05/1.021, allocations: 8 kB / 1.186 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007204/1.028, allocations: 3.534 MB / 1.19 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/1.028, allocations: 16 kB / 1.19 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.939e-05/1.028, allocations: 20 kB / 1.19 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/1.031, allocations: 0.9039 MB / 1.191 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/1.032, allocations: 355.3 kB / 1.191 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02407/1.056, allocations: 21.21 MB / 1.212 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/1.058, allocations: 108 kB / 1.212 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003012/1.058, allocations: 88.02 kB / 1.212 GB, free: 3.836 MB / 0.9669 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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 prepare postOptimizeDAE: time 0.003006/1.061, allocations: 1.604 MB / 1.214 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005272/1.062, allocations: 205.6 kB / 1.214 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006116/1.068, allocations: 2.998 MB / 1.217 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/1.068, allocations: 12 kB / 1.217 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.014e-05/1.068, allocations: 8 kB / 1.217 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/1.068, allocations: 11.97 kB / 1.217 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/1.086, allocations: 7.345 MB / 1.224 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/1.086, allocations: 4 kB / 1.224 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008178/1.086, allocations: 179.7 kB / 1.224 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002559/1.089, allocations: 0.8179 MB / 1.225 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/1.089, allocations: 28 kB / 1.225 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02321/1.112, allocations: 20.31 MB / 1.245 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/1.112, allocations: 7.938 kB / 1.245 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6211/1.733, allocations: 3.018 MB / 1.248 GB, free: 207.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/1.735, allocations: 456.9 kB / 1.248 GB, free: 207.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/1.735, allocations: 31.62 kB / 1.248 GB, free: 207.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008413/1.736, allocations: 70.62 kB / 1.248 GB, free: 207.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004814/1.736, allocations: 128.9 kB / 1.248 GB, free: 207.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/1.736, allocations: 39.98 kB / 1.248 GB, free: 207.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001633/1.738, allocations: 0.9769 MB / 1.249 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.738, allocations: 0.7188 kB / 1.249 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003302/1.741, allocations: 0.7892 MB / 1.25 GB, free: 207.1 MB / 0.9981 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002835/1.742, allocations: 140.2 kB / 1.25 GB, free: 207 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006395/1.748, allocations: 4.02 MB / 1.254 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.748, allocations: 1.125 kB / 1.254 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004486/1.753, allocations: 2.728 MB / 1.257 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004229/1.757, allocations: 0.6693 MB / 1.257 GB, free: 203.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/1.771, allocations: 9.154 MB / 1.266 GB, free: 198.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004228/1.776, allocations: 3.111 MB / 1.269 GB, free: 197 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001844/1.778, allocations: 458.1 kB / 1.27 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/1.778, allocations: 118.5 kB / 1.27 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/1.778, allocations: 0 / 1.27 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.06219/1.84, allocations: 34.71 MB / 1.304 GB, free: 177.1 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches