Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_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_10_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_10_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.001392/0.001392, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00166/0.00166, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.684/2.684, allocations: 437 MB / 0.7099 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001236, allocations: 59.91 kB / 0.8685 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6914/0.6926, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04362/0.7363, allocations: 40.8 MB / 1.056 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02701/0.7634, allocations: 15.05 MB / 1.071 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006552/0.77, allocations: 167.1 kB / 1.071 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01196/0.782, allocations: 4.157 MB / 1.075 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01155/0.7936, allocations: 2.64 MB / 1.078 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008524/0.8021, allocations: 2.883 MB / 1.081 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01997/0.8221, allocations: 16.01 MB / 1.096 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02613/0.8483, allocations: 13.66 MB / 1.11 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/0.8589, allocations: 4.106 MB / 1.114 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01246/0.8714, allocations: 5.483 MB / 1.119 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.003849/0.8753, allocations: 0.6094 MB / 1.12 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008117/0.8834, allocations: 2.032 MB / 1.122 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00742/0.8909, allocations: 3.363 MB / 1.125 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.01215/0.9031, allocations: 3.928 MB / 1.129 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.02006/0.9232, allocations: 14.02 MB / 1.143 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.9232, allocations: 0 / 1.143 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9232, allocations: 0 / 1.143 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0005516/0.9238, allocations: 0 / 1.143 GB, free: 1.457 MB / 0.8887 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.02442/0.9482, allocations: 7.6 MB / 1.15 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.9483, allocations: 8.031 kB / 1.15 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/0.9605, allocations: 1.518 MB / 1.151 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00979/0.9703, allocations: 4.209 MB / 1.156 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004836/0.9708, allocations: 460.4 kB / 1.156 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002779/0.9736, allocations: 0.59 MB / 1.157 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03024/1.004, allocations: 10.69 MB / 1.167 GB, free: 7.848 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004006/1.004, allocations: 35.69 kB / 1.167 GB, free: 7.812 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002512/1.007, allocations: 263.9 kB / 1.167 GB, free: 7.555 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003007/1.01, allocations: 0.7768 MB / 1.168 GB, free: 6.773 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01961/1.029, allocations: 8.557 MB / 1.176 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06944/1.099, allocations: 46.85 MB / 1.222 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006456/1.105, allocations: 4.32 MB / 1.226 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005763/1.111, allocations: 3.693 MB / 1.23 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004513/1.112, allocations: 34.78 kB / 1.23 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.586e-05/1.112, allocations: 73.34 kB / 1.23 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=353): time 9.387e-06/1.112, allocations: 7.984 kB / 1.23 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=578): time 1.165/2.277, allocations: 122.7 MB / 1.35 GB, free: 136 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/2.277, allocations: 111.9 kB / 1.35 GB, free: 135.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004095/2.281, allocations: 2.689 MB / 1.353 GB, free: 133.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001405/2.282, allocations: 121.7 kB / 1.353 GB, free: 133.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00144/2.284, allocations: 2.675 MB / 1.355 GB, free: 130.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002236/2.286, allocations: 1.953 MB / 1.357 GB, free: 128.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003145/2.289, allocations: 0.9248 MB / 1.358 GB, free: 127.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.777e-05/2.289, allocations: 305.1 kB / 1.358 GB, free: 127.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005396/2.295, allocations: 4.083 MB / 1.362 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006079/2.301, allocations: 5.011 MB / 1.367 GB, free: 117.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/2.314, allocations: 9.854 MB / 1.377 GB, free: 107.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.721e-05/2.314, allocations: 11.94 kB / 1.377 GB, free: 107.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03804/2.352, allocations: 16.99 MB / 1.394 GB, free: 90.44 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.643e-05/2.352, allocations: 15.98 kB / 1.394 GB, free: 90.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.956e-05/2.352, allocations: 24 kB / 1.394 GB, free: 90.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03137/2.383, allocations: 9.083 MB / 1.403 GB, free: 81.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002756/2.386, allocations: 0.5265 MB / 1.403 GB, free: 80.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0949/2.481, allocations: 70.52 MB / 1.472 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00607/2.487, allocations: 279.8 kB / 1.472 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001687/2.489, allocations: 188 kB / 1.472 GB, free: 8.312 MB / 0.9981 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.005961/2.495, allocations: 2.422 MB / 1.475 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001995/2.497, allocations: 478.5 kB / 1.475 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04356/2.54, allocations: 16.81 MB / 1.492 GB, free: 4.453 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.508e-05/2.54, allocations: 56 kB / 1.492 GB, free: 4.398 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000296/2.541, allocations: 68 kB / 1.492 GB, free: 4.332 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001371/2.541, allocations: 31.89 kB / 1.492 GB, free: 4.301 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06441/2.605, allocations: 25.66 MB / 1.517 GB, free: 10.4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-05/2.605, allocations: 4 kB / 1.517 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002234/2.608, allocations: 320.3 kB / 1.517 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03154/2.639, allocations: 8.273 MB / 1.525 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001387/2.641, allocations: 104 kB / 1.525 GB, free: 1.668 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1126/2.753, allocations: 67.4 MB / 1.591 GB, free: 12.82 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/2.753, allocations: 11.94 kB / 1.591 GB, free: 12.8 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05155/2.805, allocations: 21.56 MB / 1.612 GB, free: 6.887 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004752/2.81, allocations: 1.362 MB / 1.613 GB, free: 5.5 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00237/2.812, allocations: 112 kB / 1.614 GB, free: 5.391 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005067/2.817, allocations: 291.6 kB / 1.614 GB, free: 5.105 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003604/2.821, allocations: 0.5143 MB / 1.614 GB, free: 4.582 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001136/2.822, allocations: 147.9 kB / 1.615 GB, free: 4.438 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.004396/2.826, allocations: 1.776 MB / 1.616 GB, free: 2.672 MB / 1.139 GB Notification: Performance of sort global known variables: time 6.61e-07/2.826, allocations: 0 / 1.616 GB, free: 2.672 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0122/2.839, allocations: 2.464 MB / 1.619 GB, free: 216 kB / 1.139 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.001463/2.84, allocations: 248.3 kB / 1.619 GB, free: 15.96 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.03312/2.873, allocations: 14.48 MB / 1.633 GB, free: 1.285 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.989e-05/2.873, allocations: 4 kB / 1.633 GB, free: 1.281 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.02352/2.897, allocations: 9.36 MB / 1.642 GB, free: 7.777 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01015/2.907, allocations: 1.276 MB / 1.643 GB, free: 6.523 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03927/2.946, allocations: 18.75 MB / 1.662 GB, free: 3.648 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009947/2.956, allocations: 4.893 MB / 1.667 GB, free: 14.71 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.004176/2.961, allocations: 0.737 MB / 1.667 GB, free: 13.97 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/2.962, allocations: 199.4 kB / 1.667 GB, free: 13.78 MB / 1.201 GB Notification: Performance of SimCode: time 1.463e-06/2.962, allocations: 0 / 1.667 GB, free: 13.78 MB / 1.201 GB Notification: Performance of Templates: time 0.8595/3.821, allocations: 142.8 MB / 1.807 GB, free: 355.9 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches