Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001048/0.001048, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001274/0.001274, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.965/2.965, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005327/0.0005329, allocations: 7.938 kB / 0.9021 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4421, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03889/0.481, allocations: 37.53 MB / 1.095 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02677/0.5078, allocations: 14.39 MB / 1.109 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005933/0.5138, allocations: 171 kB / 1.109 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004072/0.5179, allocations: 0.8371 MB / 1.11 GB, free: 268 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008614/0.5265, allocations: 2.332 MB / 1.112 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.007234/0.5338, allocations: 1.9 MB / 1.114 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01941/0.5532, allocations: 12.72 MB / 1.126 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02321/0.5765, allocations: 13.98 MB / 1.14 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008169/0.5847, allocations: 3.572 MB / 1.143 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009036/0.5937, allocations: 4.649 MB / 1.148 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001866/0.5956, allocations: 400 kB / 1.148 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004441/0.6001, allocations: 0.8896 MB / 1.149 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004039/0.6041, allocations: 2.977 MB / 1.152 GB, free: 4.68 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003407/0.6076, allocations: 1.389 MB / 1.153 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.6216, allocations: 11.76 MB / 1.165 GB, free: 7.492 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.6216, allocations: 3.938 kB / 1.165 GB, free: 7.488 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6216, allocations: 0 / 1.165 GB, free: 7.488 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004757/0.6221, allocations: 0 / 1.165 GB, free: 7.488 MB / 0.92 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.01746/0.6396, allocations: 6.224 MB / 1.171 GB, free: 1.184 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.6396, allocations: 8.031 kB / 1.171 GB, free: 1.176 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.6508, allocations: 1.525 MB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009548/0.6604, allocations: 4.105 MB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004465/0.6609, allocations: 456.1 kB / 1.177 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002877/0.6637, allocations: 0.5896 MB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02559/0.6894, allocations: 10.63 MB / 1.188 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001703/0.6896, allocations: 27.78 kB / 1.188 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007906/0.6904, allocations: 263.9 kB / 1.188 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002303/0.6927, allocations: 0.7729 MB / 1.189 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01882/0.7115, allocations: 8.514 MB / 1.197 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07472/0.7862, allocations: 47 MB / 1.243 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7685/1.555, allocations: 4.287 MB / 1.247 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008801/1.564, allocations: 3.67 MB / 1.251 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004842/1.564, allocations: 38.3 kB / 1.251 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/1.564, allocations: 81.42 kB / 1.251 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 6.713e-06/1.564, allocations: 1.406 kB / 1.251 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.4795/2.044, allocations: 127.9 MB / 1.376 GB, free: 75.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/2.044, allocations: 115.9 kB / 1.376 GB, free: 75.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00317/2.047, allocations: 2.661 MB / 1.379 GB, free: 73.04 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001008/2.048, allocations: 117.7 kB / 1.379 GB, free: 72.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/2.049, allocations: 2.677 MB / 1.381 GB, free: 70.21 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002105/2.052, allocations: 1.958 MB / 1.383 GB, free: 68.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004025/2.052, allocations: 108 kB / 1.383 GB, free: 68.17 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002067/2.052, allocations: 0.5257 MB / 1.384 GB, free: 67.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004899/2.057, allocations: 4.052 MB / 1.388 GB, free: 63.58 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006292/2.063, allocations: 4.998 MB / 1.393 GB, free: 58.26 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006791/2.07, allocations: 4.823 MB / 1.397 GB, free: 53.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.079e-05/2.07, allocations: 12 kB / 1.397 GB, free: 53.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03474/2.105, allocations: 16.91 MB / 1.414 GB, free: 36.35 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/2.105, allocations: 16 kB / 1.414 GB, free: 36.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/2.105, allocations: 20 kB / 1.414 GB, free: 36.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02692/2.132, allocations: 9.061 MB / 1.423 GB, free: 27.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/2.135, allocations: 0.5226 MB / 1.423 GB, free: 26.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09842/2.233, allocations: 70.61 MB / 1.492 GB, free: 2.621 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005198/2.238, allocations: 275.8 kB / 1.493 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009266/2.239, allocations: 196 kB / 1.493 GB, free: 2.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004815/2.244, allocations: 2.426 MB / 1.495 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/2.245, allocations: 474.4 kB / 1.496 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03739/2.283, allocations: 16.75 MB / 1.512 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-05/2.283, allocations: 55.94 kB / 1.512 GB, free: 14.31 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001644/2.283, allocations: 75.95 kB / 1.512 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.222e-05/2.283, allocations: 31.89 kB / 1.512 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05413/2.337, allocations: 25.61 MB / 1.537 GB, free: 4.367 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.221e-05/2.337, allocations: 8 kB / 1.537 GB, free: 4.359 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/2.339, allocations: 331.5 kB / 1.537 GB, free: 4.035 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02772/2.367, allocations: 8.255 MB / 1.545 GB, free: 11.74 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009748/2.368, allocations: 104 kB / 1.546 GB, free: 11.64 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1006/2.468, allocations: 67.45 MB / 1.611 GB, free: 6.715 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/2.469, allocations: 15.94 kB / 1.611 GB, free: 6.699 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0565/2.525, allocations: 21.48 MB / 1.632 GB, free: 0.875 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006408/2.532, allocations: 1.363 MB / 1.634 GB, free: 15.49 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002433/2.534, allocations: 108 kB / 1.634 GB, free: 15.38 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007106/2.541, allocations: 287.6 kB / 1.634 GB, free: 15.1 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00355/2.545, allocations: 0.526 MB / 1.635 GB, free: 14.57 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001193/2.546, allocations: 140 kB / 1.635 GB, free: 14.43 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.005697/2.552, allocations: 1.753 MB / 1.637 GB, free: 12.69 MB / 1.201 GB Notification: Performance of sort global known variables: time 4.188e-06/2.552, allocations: 0 / 1.637 GB, free: 12.69 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.01673/2.568, allocations: 2.469 MB / 1.639 GB, free: 10.22 MB / 1.201 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 (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001852/2.57, allocations: 247.6 kB / 1.639 GB, free: 9.977 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.03887/2.609, allocations: 14.48 MB / 1.653 GB, free: 11.3 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-05/2.609, allocations: 4 kB / 1.653 GB, free: 11.3 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.02224/2.632, allocations: 9.384 MB / 1.662 GB, free: 1.754 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007814/2.639, allocations: 1.283 MB / 1.664 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03204/2.672, allocations: 18.09 MB / 1.681 GB, free: 14.28 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008584/2.68, allocations: 4.896 MB / 1.686 GB, free: 9.34 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.003411/2.684, allocations: 0.741 MB / 1.687 GB, free: 8.594 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007072/2.684, allocations: 199.4 kB / 1.687 GB, free: 8.398 MB / 1.248 GB Notification: Performance of SimCode: time 9.22e-07/2.684, allocations: 0 / 1.687 GB, free: 8.398 MB / 1.248 GB Notification: Performance of Templates: time 0.8746/3.559, allocations: 135.4 MB / 1.819 GB, free: 370.6 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches