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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 192.7 kB / 16.53 MB, free: 6.699 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.594/2.594, allocations: 437 MB / 0.7104 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.88 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5396/0.5409, allocations: 151.6 MB / 1.017 GB, free: 2.625 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04157/0.5825, allocations: 41.19 MB / 1.058 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02253/0.6051, allocations: 15.09 MB / 1.072 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003026/0.6081, allocations: 187.1 kB / 1.073 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01013/0.6183, allocations: 4.451 MB / 1.077 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.006182/0.6245, allocations: 2.802 MB / 1.08 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006373/0.6309, allocations: 3.158 MB / 1.083 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.012/0.6429, allocations: 11.39 MB / 1.094 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01518/0.6581, allocations: 12.64 MB / 1.106 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006792/0.6649, allocations: 4.798 MB / 1.111 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007589/0.6725, allocations: 5.382 MB / 1.116 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002391/0.6749, allocations: 0.9492 MB / 1.117 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005194/0.6801, allocations: 2.033 MB / 1.119 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.005048/0.6852, allocations: 3.699 MB / 1.123 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.008263/0.6935, allocations: 4.291 MB / 1.127 GB, free: 2.137 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01453/0.708, allocations: 14.19 MB / 1.141 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.708, allocations: 0 / 1.141 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.422e-06/0.708, allocations: 0 / 1.141 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003627/0.7084, allocations: 4 kB / 1.141 GB, free: 3.906 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.02035/0.7288, allocations: 7.596 MB / 1.148 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.7288, allocations: 8.031 kB / 1.148 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002426/0.7312, allocations: 0.8955 MB / 1.149 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.742, allocations: 1.522 MB / 1.15 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008516/0.7505, allocations: 4.205 MB / 1.155 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003839/0.7509, allocations: 452.5 kB / 1.155 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001811/0.7527, allocations: 0.6017 MB / 1.156 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01957/0.7723, allocations: 10.68 MB / 1.166 GB, free: 9.395 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000203/0.7725, allocations: 35.62 kB / 1.166 GB, free: 9.359 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001255/0.7738, allocations: 267.9 kB / 1.166 GB, free: 9.098 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003134/0.7769, allocations: 0.769 MB / 1.167 GB, free: 8.324 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01646/0.7934, allocations: 8.557 MB / 1.175 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05624/0.8497, allocations: 46.85 MB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005626/0.8553, allocations: 4.312 MB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00479/0.8602, allocations: 3.709 MB / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.8604, allocations: 42.72 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.967e-05/0.8605, allocations: 69.34 kB / 1.229 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=353): time 5.42e-06/0.8605, allocations: 4 kB / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=578): time 0.9155/1.776, allocations: 122.8 MB / 1.349 GB, free: 137.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/1.776, allocations: 111.9 kB / 1.349 GB, free: 137.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/1.779, allocations: 2.681 MB / 1.352 GB, free: 134.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008214/1.78, allocations: 121.7 kB / 1.352 GB, free: 134.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009901/1.781, allocations: 2.674 MB / 1.355 GB, free: 131.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001383/1.782, allocations: 1.956 MB / 1.356 GB, free: 129.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/1.784, allocations: 0.9287 MB / 1.357 GB, free: 128.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.493e-05/1.784, allocations: 301.1 kB / 1.358 GB, free: 128.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004482/1.788, allocations: 4.079 MB / 1.362 GB, free: 124.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004838/1.793, allocations: 5.011 MB / 1.367 GB, free: 119.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/1.804, allocations: 9.851 MB / 1.376 GB, free: 108.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/1.804, allocations: 7.938 kB / 1.376 GB, free: 108.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03305/1.837, allocations: 16.99 MB / 1.393 GB, free: 91.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/1.837, allocations: 17.56 kB / 1.393 GB, free: 91.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/1.837, allocations: 24 kB / 1.393 GB, free: 91.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02885/1.866, allocations: 9.158 MB / 1.402 GB, free: 82.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/1.868, allocations: 0.5226 MB / 1.402 GB, free: 82.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08576/1.954, allocations: 77.01 MB / 1.477 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004974/1.959, allocations: 289.4 kB / 1.478 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006237/1.96, allocations: 191.9 kB / 1.478 GB, free: 3.039 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.003263/1.963, allocations: 2.417 MB / 1.48 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000949/1.964, allocations: 474.5 kB / 1.481 GB, free: 144 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03769/2.002, allocations: 16.82 MB / 1.497 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.754e-05/2.002, allocations: 56 kB / 1.497 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001411/2.002, allocations: 76 kB / 1.497 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.168e-05/2.002, allocations: 27.89 kB / 1.497 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05326/2.055, allocations: 25.66 MB / 1.522 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.112e-05/2.055, allocations: 12 kB / 1.522 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/2.057, allocations: 319.5 kB / 1.523 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02922/2.086, allocations: 8.332 MB / 1.531 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006937/2.087, allocations: 111.9 kB / 1.531 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09815/2.185, allocations: 73.88 MB / 1.603 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/2.185, allocations: 15.92 kB / 1.603 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04099/2.226, allocations: 21.57 MB / 1.624 GB, free: 10.97 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00296/2.229, allocations: 1.354 MB / 1.625 GB, free: 9.594 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001474/2.231, allocations: 114.9 kB / 1.626 GB, free: 9.484 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004068/2.235, allocations: 283.6 kB / 1.626 GB, free: 9.207 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002231/2.237, allocations: 0.5258 MB / 1.626 GB, free: 8.676 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000455/2.238, allocations: 152.1 kB / 1.626 GB, free: 8.527 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002418/2.24, allocations: 1.776 MB / 1.628 GB, free: 6.762 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.61e-07/2.24, allocations: 0 / 1.628 GB, free: 6.762 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.006409/2.247, allocations: 2.465 MB / 1.631 GB, free: 4.297 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.04241/2.289, allocations: 22.27 MB / 1.652 GB, free: 13.67 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0338/2.323, allocations: 18.66 MB / 1.671 GB, free: 10.82 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/2.323, allocations: 8.062 kB / 1.671 GB, free: 10.82 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01821/2.341, allocations: 9.361 MB / 1.68 GB, free: 1.312 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006016/2.347, allocations: 1.374 MB / 1.681 GB, free: 15.99 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5697/2.917, allocations: 79.86 MB / 1.759 GB, free: 394.7 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004753/2.922, allocations: 4.897 MB / 1.764 GB, free: 393.1 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002651/2.924, allocations: 0.7419 MB / 1.765 GB, free: 393 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002279/2.927, allocations: 2.611 MB / 1.767 GB, free: 390.8 MB / 1.232 GB Notification: Performance of SimCode: time 9.92e-07/2.927, allocations: 0 / 1.767 GB, free: 390.8 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2496/3.176, allocations: 196.9 MB / 1.959 GB, free: 210.5 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/16.5, allocations: 18.16 kB / 1.959 GB, free: 210.5 MB / 1.232 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > 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.csv","/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