Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009142/0.009142, allocations: 101.3 kB / 15.73 MB, free: 6.48 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.001247/0.001247, allocations: 196.1 kB / 16.67 MB, free: 6.379 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.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.511/2.511, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.58 kB / 0.9509 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3551, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04471/0.3999, allocations: 41.18 MB / 1.128 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0262/0.4261, allocations: 15.08 MB / 1.143 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005942/0.4321, allocations: 187.1 kB / 1.143 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01237/0.4445, allocations: 4.48 MB / 1.147 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.4552, allocations: 2.927 MB / 1.15 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.008796/0.4641, allocations: 3.155 MB / 1.153 GB, free: 14.29 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01698/0.4811, allocations: 11.42 MB / 1.165 GB, free: 2.836 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01804/0.4992, allocations: 12.47 MB / 1.177 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009489/0.5087, allocations: 4.907 MB / 1.182 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0108/0.5195, allocations: 5.394 MB / 1.187 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.003567/0.5231, allocations: 0.9492 MB / 1.188 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00702/0.5302, allocations: 2.036 MB / 1.19 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.006671/0.5369, allocations: 3.699 MB / 1.193 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.01113/0.548, allocations: 4.295 MB / 1.198 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01883/0.5669, allocations: 14.27 MB / 1.211 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.233e-05/0.567, allocations: 0 / 1.211 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.889e-06/0.567, allocations: 0 / 1.211 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0006835/0.5677, allocations: 7.875 kB / 1.211 GB, free: 2.57 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.03365/0.6013, allocations: 7.597 MB / 1.219 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.6014, allocations: 12.03 kB / 1.219 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.6128, allocations: 1.518 MB / 1.22 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.6243, allocations: 4.447 MB / 1.225 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005577/0.6249, allocations: 460.4 kB / 1.225 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003258/0.6282, allocations: 0.5939 MB / 1.226 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0276/0.6558, allocations: 10.69 MB / 1.236 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004129/0.6563, allocations: 23.78 kB / 1.236 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002596/0.6589, allocations: 263.9 kB / 1.236 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002734/0.6617, allocations: 0.7768 MB / 1.237 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02229/0.684, allocations: 8.557 MB / 1.246 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9988/1.683, allocations: 46.52 MB / 1.291 GB, free: 120.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007327/1.69, allocations: 4.314 MB / 1.295 GB, free: 119 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006418/1.697, allocations: 3.723 MB / 1.299 GB, free: 117.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005248/1.697, allocations: 37.06 kB / 1.299 GB, free: 117.4 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/1.697, allocations: 75.34 kB / 1.299 GB, free: 117.4 MB / 1.014 GB Notification: Performance of pre-optimization done (n=353): time 9.468e-06/1.697, allocations: 1.406 kB / 1.299 GB, free: 117.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=578): time 0.4487/2.146, allocations: 122.8 MB / 1.419 GB, free: 18.94 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/2.146, allocations: 115.9 kB / 1.419 GB, free: 18.81 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004493/2.151, allocations: 2.685 MB / 1.422 GB, free: 16.12 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001174/2.152, allocations: 117.7 kB / 1.422 GB, free: 16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001374/2.153, allocations: 2.682 MB / 1.424 GB, free: 13.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002153/2.155, allocations: 1.948 MB / 1.426 GB, free: 11.37 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003076/2.158, allocations: 0.9209 MB / 1.427 GB, free: 10.44 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.714e-05/2.159, allocations: 304 kB / 1.427 GB, free: 10.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005541/2.164, allocations: 4.083 MB / 1.431 GB, free: 6.051 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006542/2.171, allocations: 5.015 MB / 1.436 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01573/2.186, allocations: 9.855 MB / 1.446 GB, free: 6.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.252e-05/2.186, allocations: 8 kB / 1.446 GB, free: 6.473 MB / 1.029 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04372/2.23, allocations: 16.99 MB / 1.463 GB, free: 5.348 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.91e-05/2.23, allocations: 19.97 kB / 1.463 GB, free: 5.328 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-05/2.23, allocations: 24 kB / 1.463 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03189/2.262, allocations: 9.085 MB / 1.471 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/2.265, allocations: 0.5265 MB / 1.472 GB, free: 11.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1135/2.378, allocations: 76.96 MB / 1.547 GB, free: 13.15 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006171/2.385, allocations: 279.8 kB / 1.547 GB, free: 12.88 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/2.386, allocations: 188 kB / 1.548 GB, free: 12.7 MB / 1.139 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005875/2.392, allocations: 2.429 MB / 1.55 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001438/2.393, allocations: 470.5 kB / 1.55 GB, free: 9.789 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0399/2.433, allocations: 16.82 MB / 1.567 GB, free: 8.824 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.887e-05/2.433, allocations: 59.94 kB / 1.567 GB, free: 8.766 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003067/2.434, allocations: 72 kB / 1.567 GB, free: 8.695 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00019/2.434, allocations: 27.89 kB / 1.567 GB, free: 8.668 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05819/2.492, allocations: 25.65 MB / 1.592 GB, free: 14.79 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.829e-05/2.492, allocations: 8 kB / 1.592 GB, free: 14.78 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002343/2.495, allocations: 323.5 kB / 1.592 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03033/2.525, allocations: 8.266 MB / 1.6 GB, free: 6.16 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001499/2.526, allocations: 108 kB / 1.6 GB, free: 6.055 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1123/2.639, allocations: 73.84 MB / 1.673 GB, free: 10.75 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/2.639, allocations: 11.94 kB / 1.673 GB, free: 10.74 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0461/2.685, allocations: 21.57 MB / 1.694 GB, free: 4.82 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004033/2.689, allocations: 1.354 MB / 1.695 GB, free: 3.441 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001307/2.69, allocations: 115.9 kB / 1.695 GB, free: 3.328 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003535/2.694, allocations: 283.6 kB / 1.695 GB, free: 3.051 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00198/2.696, allocations: 0.526 MB / 1.696 GB, free: 2.52 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004607/2.696, allocations: 155.5 kB / 1.696 GB, free: 2.371 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002663/2.699, allocations: 1.772 MB / 1.698 GB, free: 0.6094 MB / 1.279 GB Notification: Performance of sort global known variables: time 2e-07/2.699, allocations: 0 / 1.698 GB, free: 0.6094 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.007641/2.707, allocations: 2.465 MB / 1.7 GB, free: 14.14 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008651/2.708, allocations: 232.4 kB / 1.7 GB, free: 13.91 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02724/2.735, allocations: 14.54 MB / 1.715 GB, free: 15.19 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-05/2.735, allocations: 8.312 kB / 1.715 GB, free: 15.18 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.02002/2.755, allocations: 9.352 MB / 1.724 GB, free: 5.676 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007207/2.762, allocations: 1.369 MB / 1.725 GB, free: 4.355 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03529/2.797, allocations: 15.57 MB / 1.74 GB, free: 4.676 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0107/2.808, allocations: 4.901 MB / 1.745 GB, free: 15.73 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.003667/2.812, allocations: 0.741 MB / 1.746 GB, free: 14.99 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/2.813, allocations: 203.4 kB / 1.746 GB, free: 14.79 MB / 1.342 GB Notification: Performance of SimCode: time 1.492e-06/2.813, allocations: 0 / 1.746 GB, free: 14.79 MB / 1.342 GB Notification: Performance of Templates: time 0.9278/3.741, allocations: 147 MB / 1.89 GB, free: 396.6 MB / 1.357 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches