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.001425/0.001425, allocations: 105.9 kB / 15.98 MB, free: 6.352 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.001998/0.001998, allocations: 193.5 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.524/1.524, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.604/2.604, allocations: 437.1 MB / 0.7107 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 72.27 kB / 0.8694 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3208, allocations: 151.6 MB / 1.018 GB, free: 10.94 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04732/0.3681, allocations: 40.8 MB / 1.057 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02637/0.3945, allocations: 14.97 MB / 1.072 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004832/0.3994, allocations: 175 kB / 1.072 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.5249/0.9244, allocations: 4.153 MB / 1.076 GB, free: 19.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009213/0.9336, allocations: 2.591 MB / 1.079 GB, free: 19.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.008459/0.9421, allocations: 2.89 MB / 1.082 GB, free: 19.2 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02115/0.9633, allocations: 11.44 MB / 1.093 GB, free: 18.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02618/0.9895, allocations: 14.85 MB / 1.107 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01169/1.001, allocations: 4.896 MB / 1.112 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01215/1.013, allocations: 5.637 MB / 1.117 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.004861/1.018, allocations: 0.9492 MB / 1.118 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009843/1.028, allocations: 2.041 MB / 1.12 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.009399/1.038, allocations: 3.696 MB / 1.124 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01519/1.053, allocations: 4.305 MB / 1.128 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01655/1.069, allocations: 12.17 MB / 1.14 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/1.07, allocations: 0 / 1.14 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.445e-06/1.07, allocations: 5.75 kB / 1.14 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0005104/1.07, allocations: 0 / 1.14 GB, free: 0.5938 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02754/1.098, allocations: 7.594 MB / 1.148 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.098, allocations: 11.77 kB / 1.148 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/1.11, allocations: 1.518 MB / 1.149 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/1.12, allocations: 4.211 MB / 1.153 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005142/1.121, allocations: 456.5 kB / 1.154 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003152/1.124, allocations: 0.5994 MB / 1.154 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03394/1.158, allocations: 10.68 MB / 1.165 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003479/1.159, allocations: 39.64 kB / 1.165 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003055/1.162, allocations: 264.3 kB / 1.165 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003223/1.165, allocations: 0.7729 MB / 1.166 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02257/1.187, allocations: 8.561 MB / 1.174 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0781/1.266, allocations: 46.85 MB / 1.22 GB, free: 204 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007351/1.273, allocations: 4.311 MB / 1.224 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006545/1.28, allocations: 3.7 MB / 1.228 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004435/1.28, allocations: 34.78 kB / 1.228 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.39e-05/1.28, allocations: 73.34 kB / 1.228 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=353): time 4.96e-06/1.28, allocations: 4 kB / 1.228 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of matching and sorting (n=578): time 0.516/1.796, allocations: 122.8 MB / 1.348 GB, free: 12.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.796, allocations: 111.9 kB / 1.348 GB, free: 12.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004496/1.801, allocations: 2.677 MB / 1.35 GB, free: 9.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.001254/1.802, allocations: 121.7 kB / 1.35 GB, free: 9.555 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.002344/1.804, allocations: 2.681 MB / 1.353 GB, free: 6.855 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.003093/1.808, allocations: 1.951 MB / 1.355 GB, free: 4.918 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002123/1.81, allocations: 0.9209 MB / 1.356 GB, free: 3.988 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.81, allocations: 305.1 kB / 1.356 GB, free: 3.688 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00714/1.817, allocations: 4.083 MB / 1.36 GB, free: 15.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008583/1.826, allocations: 5.021 MB / 1.365 GB, free: 10.26 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01728/1.843, allocations: 9.843 MB / 1.375 GB, free: 44 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.765e-05/1.843, allocations: 8 kB / 1.375 GB, free: 36 kB / 1.076 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04495/1.888, allocations: 17 MB / 1.391 GB, free: 14.91 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/1.888, allocations: 16 kB / 1.391 GB, free: 14.89 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-05/1.888, allocations: 20 kB / 1.391 GB, free: 14.87 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03308/1.921, allocations: 9.155 MB / 1.4 GB, free: 5.676 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002989/1.924, allocations: 0.5226 MB / 1.401 GB, free: 5.152 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1219/2.046, allocations: 77.02 MB / 1.476 GB, free: 6.598 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007296/2.053, allocations: 283.8 kB / 1.476 GB, free: 6.32 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001731/2.055, allocations: 188 kB / 1.476 GB, free: 6.137 MB / 1.186 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.006045/2.061, allocations: 2.429 MB / 1.479 GB, free: 3.695 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001474/2.063, allocations: 470.5 kB / 1.479 GB, free: 3.23 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04315/2.106, allocations: 16.83 MB / 1.496 GB, free: 2.262 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.987e-05/2.106, allocations: 52 kB / 1.496 GB, free: 2.211 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002369/2.106, allocations: 72 kB / 1.496 GB, free: 2.141 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001374/2.107, allocations: 31.89 kB / 1.496 GB, free: 2.109 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0632/2.17, allocations: 25.64 MB / 1.521 GB, free: 8.238 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.333e-05/2.17, allocations: 11.94 kB / 1.521 GB, free: 8.227 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002037/2.172, allocations: 327.5 kB / 1.521 GB, free: 7.906 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03025/2.202, allocations: 8.328 MB / 1.529 GB, free: 15.54 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001416/2.204, allocations: 111.9 kB / 1.529 GB, free: 15.43 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7625/2.966, allocations: 73.89 MB / 1.602 GB, free: 399.6 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/2.966, allocations: 12.28 kB / 1.602 GB, free: 399.6 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04375/3.01, allocations: 21.56 MB / 1.623 GB, free: 390.7 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003579/3.014, allocations: 1.362 MB / 1.624 GB, free: 390 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/3.015, allocations: 110.5 kB / 1.624 GB, free: 390 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003846/3.019, allocations: 294.7 kB / 1.624 GB, free: 389.9 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002203/3.021, allocations: 0.5193 MB / 1.625 GB, free: 389.8 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004741/3.022, allocations: 143.5 kB / 1.625 GB, free: 389.8 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002305/3.024, allocations: 1.776 MB / 1.627 GB, free: 389.1 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/3.024, allocations: 0 / 1.627 GB, free: 389.1 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.008378/3.032, allocations: 2.461 MB / 1.629 GB, free: 388.9 MB / 1.248 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.001079/3.033, allocations: 246.5 kB / 1.629 GB, free: 388.7 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.03229/3.066, allocations: 18.67 MB / 1.648 GB, free: 380.8 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/3.066, allocations: 4 kB / 1.648 GB, free: 380.8 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01743/3.083, allocations: 9.356 MB / 1.657 GB, free: 372.5 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008034/3.091, allocations: 1.383 MB / 1.658 GB, free: 371.4 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02907/3.12, allocations: 19.66 MB / 1.677 GB, free: 353.5 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007589/3.128, allocations: 4.99 MB / 1.682 GB, free: 349.6 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/3.129, allocations: 215.2 kB / 1.682 GB, free: 349.4 MB / 1.248 GB Notification: Performance of SimCode: time 8.82e-07/3.129, allocations: 0 / 1.682 GB, free: 349.4 MB / 1.248 GB Notification: Performance of Templates: time 0.8866/4.016, allocations: 474.6 MB / 2.146 GB, free: 326.4 MB / 1.248 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=400 -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/jenkins1/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