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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001535/0.001535, allocations: 117.7 kB / 16.37 MB, free: 6 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.001712/0.001712, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.432/1.432, 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.2-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001824, allocations: 63.67 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3418, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.07895/0.4208, allocations: 41.19 MB / 0.9914 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.04299/0.4638, allocations: 15.09 MB / 1.006 GB, free: 15.59 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008154/0.4721, allocations: 191.1 kB / 1.006 GB, free: 15.4 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01828/0.4904, allocations: 4.46 MB / 1.011 GB, free: 10.93 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01299/0.5034, allocations: 2.794 MB / 1.013 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.008647/0.5121, allocations: 3.169 MB / 1.016 GB, free: 4.953 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01546/0.5276, allocations: 11.39 MB / 1.028 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01671/0.5444, allocations: 12.46 MB / 1.04 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00766/0.552, allocations: 4.822 MB / 1.044 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00859/0.5607, allocations: 5.382 MB / 1.05 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002627/0.5633, allocations: 0.9492 MB / 1.051 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005637/0.569, allocations: 2.04 MB / 1.053 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.005329/0.5743, allocations: 3.692 MB / 1.056 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.007887/0.5822, allocations: 4.295 MB / 1.06 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01687/0.5991, allocations: 14.28 MB / 1.074 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.5992, allocations: 0 / 1.074 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5992, allocations: 3.938 kB / 1.074 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0004656/0.5997, allocations: 0 / 1.074 GB, free: 9.375 MB / 0.8575 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.02074/0.6204, allocations: 7.612 MB / 1.082 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.6205, allocations: 8.031 kB / 1.082 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.6311, allocations: 1.522 MB / 1.083 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5078/1.139, allocations: 4.428 MB / 1.088 GB, free: 117.2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004229/1.139, allocations: 459.5 kB / 1.088 GB, free: 117 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002442/1.142, allocations: 0.5942 MB / 1.089 GB, free: 116.8 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02606/1.168, allocations: 10.68 MB / 1.099 GB, free: 112.4 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002667/1.168, allocations: 38.36 kB / 1.099 GB, free: 112.4 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001457/1.17, allocations: 261.4 kB / 1.099 GB, free: 112.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002815/1.173, allocations: 0.7757 MB / 1.1 GB, free: 112.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01789/1.19, allocations: 8.561 MB / 1.108 GB, free: 109.1 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06181/1.252, allocations: 46.54 MB / 1.154 GB, free: 70.36 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005563/1.258, allocations: 4.309 MB / 1.158 GB, free: 68.05 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004437/1.262, allocations: 3.711 MB / 1.162 GB, free: 66.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/1.263, allocations: 38.34 kB / 1.162 GB, free: 66.06 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/1.263, allocations: 71.19 kB / 1.162 GB, free: 66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=353): time 5.42e-06/1.263, allocations: 6.656 kB / 1.162 GB, free: 66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=578): time 0.5203/1.783, allocations: 122.7 MB / 1.282 GB, free: 9.973 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.246e-05/1.783, allocations: 115.9 kB / 1.282 GB, free: 9.844 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004678/1.788, allocations: 2.685 MB / 1.284 GB, free: 7.16 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001217/1.789, allocations: 117.7 kB / 1.285 GB, free: 7.039 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001816/1.791, allocations: 2.682 MB / 1.287 GB, free: 4.336 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002471/1.793, allocations: 1.954 MB / 1.289 GB, free: 2.398 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001942/1.795, allocations: 0.9209 MB / 1.29 GB, free: 1.469 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.795, allocations: 301.1 kB / 1.29 GB, free: 1.172 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005968/1.801, allocations: 4.086 MB / 1.294 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007432/1.809, allocations: 5.019 MB / 1.299 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01491/1.824, allocations: 9.844 MB / 1.309 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-05/1.824, allocations: 8 kB / 1.309 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04081/1.865, allocations: 17 MB / 1.325 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/1.865, allocations: 17.91 kB / 1.325 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.426e-05/1.865, allocations: 31.92 kB / 1.325 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03176/1.897, allocations: 9.08 MB / 1.334 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/1.899, allocations: 0.5226 MB / 1.335 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1064/2.006, allocations: 76.95 MB / 1.41 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00469/2.01, allocations: 279.8 kB / 1.41 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006371/2.011, allocations: 188 kB / 1.41 GB, free: 3.734 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 (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.003824/2.015, allocations: 2.423 MB / 1.413 GB, free: 1.301 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/2.016, allocations: 474.4 kB / 1.413 GB, free: 0.832 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03753/2.053, allocations: 16.84 MB / 1.43 GB, free: 15.91 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.357e-05/2.053, allocations: 56 kB / 1.43 GB, free: 15.85 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002377/2.054, allocations: 72 kB / 1.43 GB, free: 15.78 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001293/2.054, allocations: 31.83 kB / 1.43 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05645/2.11, allocations: 25.65 MB / 1.455 GB, free: 5.867 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.732e-05/2.11, allocations: 14.8 kB / 1.455 GB, free: 5.855 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001885/2.112, allocations: 319.5 kB / 1.455 GB, free: 5.543 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03639/2.149, allocations: 8.266 MB / 1.463 GB, free: 13.23 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002069/2.151, allocations: 112 kB / 1.463 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6718/2.823, allocations: 73.82 MB / 1.535 GB, free: 382.1 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.665e-05/2.823, allocations: 12.33 kB / 1.535 GB, free: 382.1 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04931/2.872, allocations: 21.57 MB / 1.557 GB, free: 376.3 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004545/2.877, allocations: 1.356 MB / 1.558 GB, free: 375.8 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00116/2.878, allocations: 110.1 kB / 1.558 GB, free: 375.7 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003374/2.881, allocations: 284.5 kB / 1.558 GB, free: 375.6 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002264/2.883, allocations: 0.5251 MB / 1.559 GB, free: 375.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004485/2.884, allocations: 144.8 kB / 1.559 GB, free: 375.5 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002581/2.886, allocations: 1.777 MB / 1.561 GB, free: 374.8 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.4e-07/2.886, allocations: 2.75 kB / 1.561 GB, free: 374.8 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.008342/2.895, allocations: 2.462 MB / 1.563 GB, free: 374.6 MB / 1.154 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.000796/2.896, allocations: 247 kB / 1.563 GB, free: 374.4 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.02437/2.92, allocations: 14.54 MB / 1.577 GB, free: 367.7 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/2.92, allocations: 6.75 kB / 1.577 GB, free: 367.7 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.01718/2.937, allocations: 9.341 MB / 1.587 GB, free: 363.2 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007115/2.944, allocations: 1.378 MB / 1.588 GB, free: 362.7 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0231/2.967, allocations: 15.58 MB / 1.603 GB, free: 356 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004957/2.972, allocations: 4.897 MB / 1.608 GB, free: 353.8 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.002378/2.975, allocations: 0.7446 MB / 1.609 GB, free: 353.3 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/2.975, allocations: 195.4 kB / 1.609 GB, free: 353.1 MB / 1.154 GB Notification: Performance of SimCode: time 8.02e-07/2.975, allocations: 0 / 1.609 GB, free: 353.1 MB / 1.154 GB Notification: Performance of Templates: time 0.1839/3.159, allocations: 144.7 MB / 1.75 GB, free: 213.2 MB / 1.154 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 -s gbode -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/jenkins1/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