Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_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_10_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_10_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.001308/0.001308, allocations: 108.1 kB / 16.27 MB, free: 6.004 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.001333/0.001333, allocations: 190.8 kB / 17.2 MB, free: 5.613 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.457/1.457, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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.662/2.662, allocations: 437.1 MB / 0.7111 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.59 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3086, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04447/0.3531, allocations: 34.85 MB / 1.052 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02043/0.3736, allocations: 11.49 MB / 1.063 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003491/0.3772, allocations: 163.2 kB / 1.063 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01253/0.3898, allocations: 4.259 MB / 1.068 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006982/0.3968, allocations: 1.99 MB / 1.07 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007231/0.4041, allocations: 2.401 MB / 1.072 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.5197/0.9238, allocations: 8.462 MB / 1.08 GB, free: 20.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01789/0.9417, allocations: 11.21 MB / 1.091 GB, free: 18.37 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008276/0.95, allocations: 3.723 MB / 1.095 GB, free: 18.16 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008815/0.9589, allocations: 4.182 MB / 1.099 GB, free: 17.7 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003596/0.9625, allocations: 0.7784 MB / 1.1 GB, free: 17.7 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006929/0.9695, allocations: 2.029 MB / 1.102 GB, free: 17.7 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.006973/0.9765, allocations: 3.054 MB / 1.105 GB, free: 17.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.009699/0.9862, allocations: 3.401 MB / 1.108 GB, free: 16.36 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01758/1.004, allocations: 11.91 MB / 1.119 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.004, allocations: 2.109 kB / 1.119 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.944e-06/1.004, allocations: 5.188 kB / 1.119 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003641/1.004, allocations: 0 / 1.119 GB, free: 12.9 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01748/1.022, allocations: 5.798 MB / 1.125 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.022, allocations: 10.55 kB / 1.125 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007469/1.029, allocations: 1.054 MB / 1.126 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007418/1.037, allocations: 3.267 MB / 1.129 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003609/1.037, allocations: 412.8 kB / 1.13 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002398/1.04, allocations: 0.5428 MB / 1.13 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0259/1.065, allocations: 9.081 MB / 1.139 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003551/1.066, allocations: 28.06 kB / 1.139 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002329/1.068, allocations: 235.6 kB / 1.139 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003821/1.069, allocations: 349.5 kB / 1.14 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01528/1.084, allocations: 6.831 MB / 1.146 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05876/1.143, allocations: 40.11 MB / 1.186 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004895/1.148, allocations: 3.111 MB / 1.189 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003438/1.151, allocations: 1.976 MB / 1.191 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/1.151, allocations: 18 kB / 1.191 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.016e-05/1.151, allocations: 56.56 kB / 1.191 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=179): time 4.298e-06/1.151, allocations: 0 / 1.191 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=182): time 0.02873/1.18, allocations: 9.97 MB / 1.2 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/1.18, allocations: 76.41 kB / 1.2 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002683/1.183, allocations: 1.522 MB / 1.202 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003207/1.183, allocations: 57.7 kB / 1.202 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001799/1.185, allocations: 2.251 MB / 1.204 GB, free: 1.246 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009671/1.186, allocations: 0.6368 MB / 1.205 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009631/1.187, allocations: 407.7 kB / 1.205 GB, free: 220 kB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.187, allocations: 305.1 kB / 1.205 GB, free: 15.91 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001982/1.189, allocations: 1.179 MB / 1.207 GB, free: 14.73 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002738/1.192, allocations: 1.884 MB / 1.208 GB, free: 12.54 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00489/1.197, allocations: 3.378 MB / 1.212 GB, free: 8.945 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.042e-05/1.197, allocations: 4 kB / 1.212 GB, free: 8.941 MB / 0.92 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.009061/1.206, allocations: 4.582 MB / 1.216 GB, free: 4.523 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.611e-05/1.206, allocations: 23.11 kB / 1.216 GB, free: 4.504 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.785e-05/1.206, allocations: 20 kB / 1.216 GB, free: 4.484 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004101/1.21, allocations: 1.589 MB / 1.218 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/1.212, allocations: 353.7 kB / 1.218 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02661/1.238, allocations: 18.62 MB / 1.236 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/1.241, allocations: 115.9 kB / 1.236 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005167/1.241, allocations: 95.98 kB / 1.237 GB, free: 15.25 MB / 0.9512 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.004403/1.246, allocations: 1.897 MB / 1.238 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007111/1.246, allocations: 225.3 kB / 1.239 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008008/1.254, allocations: 4.085 MB / 1.243 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/1.255, allocations: 20 kB / 1.243 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.805e-05/1.255, allocations: 16 kB / 1.243 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.573e-05/1.255, allocations: 15.95 kB / 1.243 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02118/1.276, allocations: 9.473 MB / 1.252 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-05/1.276, allocations: 4 kB / 1.252 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009277/1.277, allocations: 181.3 kB / 1.252 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003729/1.281, allocations: 1.364 MB / 1.253 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002693/1.281, allocations: 32 kB / 1.253 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02451/1.305, allocations: 17.37 MB / 1.27 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/1.305, allocations: 4 kB / 1.27 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008305/1.314, allocations: 4.073 MB / 1.274 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/1.315, allocations: 0.5218 MB / 1.275 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006971/1.316, allocations: 36 kB / 1.275 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/1.318, allocations: 87.89 kB / 1.275 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006245/1.318, allocations: 169.6 kB / 1.275 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/1.318, allocations: 48 kB / 1.275 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001999/1.32, allocations: 1.005 MB / 1.276 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.32, allocations: 0 / 1.276 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00423/1.325, allocations: 0.9844 MB / 1.277 GB, free: 4.977 MB / 0.9825 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.0003942/1.325, allocations: 152.4 kB / 1.277 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009807/1.335, allocations: 5.192 MB / 1.282 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.335, allocations: 4 kB / 1.282 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005219/1.34, allocations: 2.668 MB / 1.285 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005214/1.345, allocations: 0.7815 MB / 1.286 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/1.367, allocations: 9.475 MB / 1.295 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007066/1.374, allocations: 3.662 MB / 1.299 GB, free: 15.01 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006406/1.374, allocations: 131.4 kB / 1.299 GB, free: 14.88 MB / 1.014 GB Notification: Performance of SimCode: time 1.183e-06/1.375, allocations: 0 / 1.299 GB, free: 14.88 MB / 1.014 GB Notification: Performance of Templates: time 0.2333/1.608, allocations: 159.4 MB / 1.454 GB, free: 15.57 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches