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.001547/0.001547, allocations: 110.5 kB / 16.41 MB, free: 6.008 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.001826/0.001826, allocations: 183.3 kB / 17.34 MB, free: 5.629 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.18 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.29/2.29, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 67.89 kB / 0.9516 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8733/0.8748, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04522/0.9201, allocations: 34.84 MB / 1.123 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02582/0.9459, allocations: 11.49 MB / 1.134 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005526/0.9515, allocations: 160.4 kB / 1.134 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01267/0.9642, allocations: 4.259 MB / 1.138 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008505/0.9728, allocations: 1.99 MB / 1.14 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008996/0.9818, allocations: 2.404 MB / 1.142 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01477/0.9966, allocations: 8.462 MB / 1.151 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02113/1.018, allocations: 11.13 MB / 1.162 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00909/1.027, allocations: 3.801 MB / 1.165 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008826/1.036, allocations: 4.184 MB / 1.169 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003754/1.04, allocations: 0.7784 MB / 1.17 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008457/1.048, allocations: 2.026 MB / 1.172 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.007905/1.056, allocations: 3.056 MB / 1.175 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01068/1.067, allocations: 3.397 MB / 1.178 GB, free: 15.76 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02152/1.088, allocations: 11.98 MB / 1.19 GB, free: 6.066 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.088, allocations: 8 kB / 1.19 GB, free: 6.059 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.763e-06/1.088, allocations: 0 / 1.19 GB, free: 6.059 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003853/1.089, allocations: 0 / 1.19 GB, free: 6.059 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.02199/1.111, allocations: 5.799 MB / 1.196 GB, free: 192 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.111, allocations: 8.031 kB / 1.196 GB, free: 184 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007365/1.118, allocations: 1.06 MB / 1.197 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007437/1.126, allocations: 3.453 MB / 1.2 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000443/1.126, allocations: 415.5 kB / 1.201 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002054/1.128, allocations: 0.5393 MB / 1.201 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02179/1.15, allocations: 9.075 MB / 1.21 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002757/1.15, allocations: 31.7 kB / 1.21 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001634/1.152, allocations: 240 kB / 1.21 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004379/1.152, allocations: 350.8 kB / 1.211 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01431/1.167, allocations: 6.826 MB / 1.217 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04569/1.212, allocations: 39.79 MB / 1.256 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004038/1.216, allocations: 3.102 MB / 1.259 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002796/1.219, allocations: 1.997 MB / 1.261 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/1.219, allocations: 18 kB / 1.261 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/1.219, allocations: 52.56 kB / 1.261 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=179): time 3.787e-06/1.22, allocations: 3.938 kB / 1.261 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of matching and sorting (n=182): time 0.02515/1.245, allocations: 9.981 MB / 1.271 GB, free: 14.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/1.245, allocations: 73.41 kB / 1.271 GB, free: 14.83 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/1.247, allocations: 1.522 MB / 1.272 GB, free: 13.26 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001743/1.247, allocations: 53.7 kB / 1.273 GB, free: 13.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00143/1.249, allocations: 2.261 MB / 1.275 GB, free: 10.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005998/1.249, allocations: 0.6277 MB / 1.275 GB, free: 10.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006845/1.25, allocations: 407.9 kB / 1.276 GB, free: 9.867 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/1.25, allocations: 309.1 kB / 1.276 GB, free: 9.562 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/1.252, allocations: 1.176 MB / 1.277 GB, free: 8.383 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/1.254, allocations: 1.881 MB / 1.279 GB, free: 6.176 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004101/1.258, allocations: 3.375 MB / 1.282 GB, free: 2.488 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/1.258, allocations: 8 kB / 1.282 GB, free: 2.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007525/1.266, allocations: 4.577 MB / 1.287 GB, free: 13.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/1.266, allocations: 20.25 kB / 1.287 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/1.266, allocations: 20 kB / 1.287 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003591/1.269, allocations: 1.586 MB / 1.288 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.271, allocations: 347.4 kB / 1.289 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/1.294, allocations: 18.58 MB / 1.307 GB, free: 8.758 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/1.295, allocations: 123.9 kB / 1.307 GB, free: 8.637 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003268/1.296, allocations: 96 kB / 1.307 GB, free: 8.543 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.003353/1.299, allocations: 1.887 MB / 1.309 GB, free: 6.645 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004936/1.3, allocations: 225.4 kB / 1.309 GB, free: 6.422 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006996/1.307, allocations: 4.094 MB / 1.313 GB, free: 2.301 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/1.307, allocations: 20 kB / 1.313 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.294e-05/1.307, allocations: 19.98 kB / 1.313 GB, free: 2.262 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/1.307, allocations: 7.969 kB / 1.313 GB, free: 2.254 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/1.324, allocations: 9.457 MB / 1.322 GB, free: 8.551 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/1.324, allocations: 4 kB / 1.322 GB, free: 8.547 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008365/1.324, allocations: 187.9 kB / 1.323 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003371/1.328, allocations: 1.356 MB / 1.324 GB, free: 7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/1.328, allocations: 36 kB / 1.324 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02185/1.35, allocations: 17.35 MB / 1.341 GB, free: 5.047 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.35, allocations: 4 kB / 1.341 GB, free: 5.043 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007058/1.357, allocations: 4.082 MB / 1.345 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.358, allocations: 0.5333 MB / 1.345 GB, free: 320 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004355/1.359, allocations: 32 kB / 1.345 GB, free: 288 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/1.36, allocations: 87.89 kB / 1.346 GB, free: 200 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004383/1.36, allocations: 165.7 kB / 1.346 GB, free: 36 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/1.36, allocations: 44.08 kB / 1.346 GB, free: 15.99 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001522/1.362, allocations: 1.008 MB / 1.347 GB, free: 14.96 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.41e-07/1.362, allocations: 0 / 1.347 GB, free: 14.96 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00322/1.365, allocations: 0.9883 MB / 1.348 GB, free: 13.97 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.0002729/1.365, allocations: 143.1 kB / 1.348 GB, free: 13.82 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006822/1.372, allocations: 4.296 MB / 1.352 GB, free: 9.473 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.372, allocations: 0 / 1.352 GB, free: 9.473 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0043/1.376, allocations: 2.674 MB / 1.355 GB, free: 6.762 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00399/1.38, allocations: 0.786 MB / 1.355 GB, free: 6.004 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0181/1.399, allocations: 9.343 MB / 1.365 GB, free: 12.56 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005632/1.404, allocations: 3.67 MB / 1.368 GB, free: 8.859 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005915/1.405, allocations: 127.4 kB / 1.368 GB, free: 8.734 MB / 1.107 GB Notification: Performance of SimCode: time 8.31e-07/1.405, allocations: 0 / 1.368 GB, free: 8.734 MB / 1.107 GB Notification: Performance of Templates: time 0.177/1.582, 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