Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 110.3 kB / 15.99 MB, free: 6.359 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.001175/0.001176, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.352/1.352, allocations: 222.9 MB / 240.6 MB, free: 13.72 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.262/2.262, allocations: 390.2 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 69.25 kB / 0.8127 GB, free: 32.45 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2884, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01256/0.301, allocations: 10.07 MB / 0.9596 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.006297/0.3074, allocations: 3.154 MB / 0.9627 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.3086, allocations: 31.81 kB / 0.9627 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.3106, allocations: 0.5405 MB / 0.9632 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.3126, allocations: 0.6886 MB / 0.9639 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.3146, allocations: 0.6826 MB / 0.9646 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003525/0.3181, allocations: 3.004 MB / 0.9675 GB, free: 7 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004703/0.3228, allocations: 3.075 MB / 0.9705 GB, free: 3.887 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/0.3251, allocations: 1.27 MB / 0.9718 GB, free: 2.613 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.328, allocations: 1.652 MB / 0.9734 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008691/0.3289, allocations: 236 kB / 0.9736 GB, free: 0.7266 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.3307, allocations: 0.4954 MB / 0.9741 GB, free: 236 kB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001659/0.3324, allocations: 1.076 MB / 0.9751 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.3343, allocations: 1.116 MB / 0.9762 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003734/0.338, allocations: 3.095 MB / 0.9792 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3381, allocations: 0 / 0.9792 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3381, allocations: 4 kB / 0.9793 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001072/0.3382, allocations: 0 / 0.9793 GB, free: 10.93 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005465/0.3437, allocations: 2.147 MB / 0.9813 GB, free: 8.723 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3437, allocations: 12.03 kB / 0.9814 GB, free: 8.711 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008909/0.3526, allocations: 1.313 MB / 0.9826 GB, free: 7.395 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/0.3551, allocations: 1.251 MB / 0.9839 GB, free: 6.098 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.3553, allocations: 111.4 kB / 0.984 GB, free: 5.988 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005892/0.3559, allocations: 152.3 kB / 0.9841 GB, free: 5.84 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006716/0.3626, allocations: 3.439 MB / 0.9875 GB, free: 2.305 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.936e-05/0.3627, allocations: 15.92 kB / 0.9875 GB, free: 2.289 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003016/0.363, allocations: 67.97 kB / 0.9876 GB, free: 2.223 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003277/0.3633, allocations: 199.1 kB / 0.9877 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005364/0.3687, allocations: 3.124 MB / 0.9908 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01972/0.3884, allocations: 13.62 MB / 1.004 GB, free: 408 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.391, allocations: 1.727 MB / 1.006 GB, free: 14.66 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/0.393, allocations: 1.444 MB / 1.007 GB, free: 13.21 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.3932, allocations: 16.91 kB / 1.007 GB, free: 13.2 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.3932, allocations: 43.5 kB / 1.007 GB, free: 13.15 MB / 0.795 GB Notification: Performance of pre-optimization done (n=104): time 3.797e-06/0.3932, allocations: 3.938 kB / 1.007 GB, free: 13.14 MB / 0.795 GB Notification: Performance of matching and sorting (n=183): time 0.1372/0.5304, allocations: 36.67 MB / 1.043 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.5305, allocations: 73.41 kB / 1.043 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.5322, allocations: 1.05 MB / 1.044 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004053/0.5327, allocations: 53.7 kB / 1.044 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006647/0.5333, allocations: 0.7951 MB / 1.045 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007592/0.5341, allocations: 0.6161 MB / 1.046 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009009/0.535, allocations: 359.3 kB / 1.046 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.5351, allocations: 313.1 kB / 1.046 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002767/0.5379, allocations: 1.932 MB / 1.048 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003046/0.541, allocations: 2.285 MB / 1.05 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006042/0.547, allocations: 4.383 MB / 1.055 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/0.547, allocations: 4 kB / 1.055 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.021/0.5681, allocations: 9.02 MB / 1.063 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.5681, allocations: 15.92 kB / 1.063 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.5682, allocations: 8 kB / 1.063 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01769/0.5859, allocations: 5.007 MB / 1.068 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009227/0.5868, allocations: 195.7 kB / 1.069 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5074/1.094, allocations: 38.91 MB / 1.107 GB, free: 113.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/1.096, allocations: 101.9 kB / 1.107 GB, free: 113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002226/1.096, allocations: 67.58 kB / 1.107 GB, free: 113 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001329/1.098, allocations: 0.805 MB / 1.107 GB, free: 112.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/1.098, allocations: 143.8 kB / 1.108 GB, free: 112.6 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01916/1.117, allocations: 8.896 MB / 1.116 GB, free: 109.9 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.381e-05/1.117, allocations: 18.67 kB / 1.116 GB, free: 109.9 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.998e-05/1.117, allocations: 29.78 kB / 1.116 GB, free: 109.9 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/1.117, allocations: 11.39 kB / 1.116 GB, free: 109.9 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0245/1.142, allocations: 13.3 MB / 1.129 GB, free: 105.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-05/1.142, allocations: 7.156 kB / 1.129 GB, free: 105.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004951/1.142, allocations: 120.9 kB / 1.129 GB, free: 105.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01544/1.158, allocations: 4.79 MB / 1.134 GB, free: 102.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003342/1.158, allocations: 37.94 kB / 1.134 GB, free: 102.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04163/1.2, allocations: 34.86 MB / 1.168 GB, free: 73.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.2, allocations: 7.938 kB / 1.168 GB, free: 73.01 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/1.216, allocations: 8.404 MB / 1.176 GB, free: 64.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/1.217, allocations: 0.613 MB / 1.177 GB, free: 63.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003481/1.217, allocations: 39.98 kB / 1.177 GB, free: 63.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/1.219, allocations: 91.64 kB / 1.177 GB, free: 63.76 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007985/1.219, allocations: 165.6 kB / 1.177 GB, free: 63.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.22, allocations: 48 kB / 1.177 GB, free: 63.55 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000815/1.22, allocations: 0.7343 MB / 1.178 GB, free: 62.81 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.22, allocations: 0 / 1.178 GB, free: 62.81 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003176/1.224, allocations: 1.004 MB / 1.179 GB, free: 61.8 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003095/1.224, allocations: 149.4 kB / 1.179 GB, free: 61.65 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.009311/1.233, allocations: 6.704 MB / 1.186 GB, free: 54.91 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.233, allocations: 4.188 kB / 1.186 GB, free: 54.91 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0067/1.24, allocations: 3.833 MB / 1.19 GB, free: 51.03 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/1.242, allocations: 251.7 kB / 1.19 GB, free: 50.8 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007411/1.249, allocations: 6.074 MB / 1.196 GB, free: 44.69 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/1.251, allocations: 1.894 MB / 1.198 GB, free: 42.76 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/1.251, allocations: 75.42 kB / 1.198 GB, free: 42.69 MB / 0.8575 GB Notification: Performance of SimCode: time 1.012e-06/1.251, allocations: 0 / 1.198 GB, free: 42.69 MB / 0.8575 GB Notification: Performance of Templates: time 0.06323/1.314, allocations: 69.03 MB / 1.265 GB, free: 5.66 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches