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.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_9_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_9_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.008429/0.008429, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.002234/0.002235, allocations: 190.2 kB / 16.67 MB, free: 5.871 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 15.04 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.176/2.176, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7653/0.7666, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04866/0.8153, allocations: 41.19 MB / 1.128 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03131/0.8467, allocations: 15.07 MB / 1.142 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006364/0.8531, allocations: 187.2 kB / 1.143 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01313/0.8663, allocations: 4.481 MB / 1.147 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.8764, allocations: 2.931 MB / 1.15 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.009723/0.8862, allocations: 3.152 MB / 1.153 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01699/0.9032, allocations: 11.43 MB / 1.164 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02169/0.9249, allocations: 12.47 MB / 1.176 GB, free: 13.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009326/0.9343, allocations: 4.905 MB / 1.181 GB, free: 10.59 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01009/0.9444, allocations: 5.396 MB / 1.186 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00373/0.9482, allocations: 0.9485 MB / 1.187 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007149/0.9553, allocations: 2.04 MB / 1.189 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.006596/0.962, allocations: 3.688 MB / 1.193 GB, free: 2.145 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01048/0.9725, allocations: 4.303 MB / 1.197 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02218/0.9947, allocations: 14.32 MB / 1.211 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.9947, allocations: 0 / 1.211 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9948, allocations: 0 / 1.211 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.000489/0.9953, allocations: 0 / 1.211 GB, free: 15.46 MB / 0.9512 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.02346/1.019, allocations: 7.787 MB / 1.219 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/1.019, allocations: 12.03 kB / 1.219 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003727/1.023, allocations: 0.8994 MB / 1.22 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/1.034, allocations: 1.546 MB / 1.221 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/1.046, allocations: 4.47 MB / 1.225 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004739/1.046, allocations: 456.5 kB / 1.226 GB, free: 120 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002793/1.049, allocations: 0.5939 MB / 1.226 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02589/1.075, allocations: 10.69 MB / 1.237 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003106/1.076, allocations: 39.7 kB / 1.237 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001905/1.077, allocations: 263.9 kB / 1.237 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003113/1.081, allocations: 0.769 MB / 1.238 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/1.099, allocations: 8.561 MB / 1.246 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06518/1.164, allocations: 46.61 MB / 1.292 GB, free: 8.449 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006167/1.171, allocations: 4.309 MB / 1.296 GB, free: 4.133 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005575/1.176, allocations: 3.716 MB / 1.3 GB, free: 412 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003711/1.177, allocations: 38.78 kB / 1.3 GB, free: 372 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.094e-05/1.177, allocations: 77.28 kB / 1.3 GB, free: 284 kB / 1.029 GB Notification: Performance of pre-optimization done (n=353): time 7.775e-06/1.177, allocations: 0 / 1.3 GB, free: 284 kB / 1.029 GB Notification: Performance of matching and sorting (n=578): time 0.5215/1.698, allocations: 122.9 MB / 1.42 GB, free: 4.539 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.915e-05/1.698, allocations: 111.9 kB / 1.42 GB, free: 4.414 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004557/1.703, allocations: 2.685 MB / 1.422 GB, free: 1.73 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0009394/1.704, allocations: 125.7 kB / 1.423 GB, free: 1.602 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001764/1.706, allocations: 2.75 MB / 1.425 GB, free: 14.82 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.002322/1.708, allocations: 2.049 MB / 1.427 GB, free: 12.76 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002772/1.711, allocations: 0.9251 MB / 1.428 GB, free: 11.82 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 9.201e-05/1.711, allocations: 301.1 kB / 1.428 GB, free: 11.53 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006391/1.717, allocations: 4.079 MB / 1.432 GB, free: 7.441 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007416/1.725, allocations: 5.015 MB / 1.437 GB, free: 2.105 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01481/1.74, allocations: 9.852 MB / 1.447 GB, free: 7.871 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.94e-05/1.74, allocations: 8 kB / 1.447 GB, free: 7.863 MB / 1.186 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04122/1.781, allocations: 17.03 MB / 1.464 GB, free: 6.707 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/1.781, allocations: 12 kB / 1.464 GB, free: 6.695 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.502e-05/1.781, allocations: 24.09 kB / 1.464 GB, free: 6.672 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03339/1.814, allocations: 9.082 MB / 1.472 GB, free: 13.55 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/1.817, allocations: 0.5304 MB / 1.473 GB, free: 13.02 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1151/1.932, allocations: 77.03 MB / 1.548 GB, free: 14.41 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005568/1.938, allocations: 283.9 kB / 1.549 GB, free: 14.13 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001393/1.939, allocations: 192 kB / 1.549 GB, free: 13.95 MB / 1.295 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.005667/1.945, allocations: 2.429 MB / 1.551 GB, free: 11.5 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001594/1.946, allocations: 493 kB / 1.552 GB, free: 11.02 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04148/1.988, allocations: 16.81 MB / 1.568 GB, free: 10.06 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.981e-05/1.988, allocations: 56 kB / 1.568 GB, free: 10 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002089/1.988, allocations: 72 kB / 1.568 GB, free: 9.934 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.686e-05/1.988, allocations: 31.83 kB / 1.568 GB, free: 9.902 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5709/2.559, allocations: 25.65 MB / 1.593 GB, free: 413.9 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.377e-05/2.559, allocations: 7.219 kB / 1.593 GB, free: 413.9 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/2.561, allocations: 318.1 kB / 1.593 GB, free: 413.9 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03063/2.592, allocations: 8.274 MB / 1.602 GB, free: 413 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008272/2.593, allocations: 109.2 kB / 1.602 GB, free: 412.9 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09807/2.691, allocations: 73.9 MB / 1.674 GB, free: 371.2 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/2.691, allocations: 17.89 kB / 1.674 GB, free: 371.2 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03752/2.728, allocations: 21.58 MB / 1.695 GB, free: 362.1 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003577/2.732, allocations: 1.381 MB / 1.696 GB, free: 361.3 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001145/2.733, allocations: 113.8 kB / 1.696 GB, free: 361.2 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003512/2.737, allocations: 287.7 kB / 1.697 GB, free: 361.1 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001905/2.739, allocations: 0.5233 MB / 1.697 GB, free: 360.9 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003571/2.739, allocations: 147.9 kB / 1.697 GB, free: 360.7 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002136/2.741, allocations: 1.777 MB / 1.699 GB, free: 359.3 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.1e-07/2.741, allocations: 0 / 1.699 GB, free: 359.3 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.006881/2.748, allocations: 2.465 MB / 1.701 GB, free: 356.8 MB / 1.311 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.03568/2.784, allocations: 22.3 MB / 1.723 GB, free: 334.8 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02282/2.807, allocations: 14.57 MB / 1.737 GB, free: 320 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 2.058e-05/2.807, allocations: 4 kB / 1.737 GB, free: 320 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01641/2.823, allocations: 9.395 MB / 1.747 GB, free: 310.4 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006972/2.83, allocations: 1.372 MB / 1.748 GB, free: 309.1 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1282/2.958, allocations: 70.4 MB / 1.817 GB, free: 237.1 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007054/2.965, allocations: 4.901 MB / 1.821 GB, free: 232.2 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002741/2.968, allocations: 0.741 MB / 1.822 GB, free: 231.4 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002724/2.971, allocations: 2.608 MB / 1.825 GB, free: 228.8 MB / 1.311 GB Notification: Performance of SimCode: time 8.72e-07/2.971, allocations: 4 kB / 1.825 GB, free: 228.8 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2481/3.219, allocations: 196.5 MB / 2.017 GB, free: 33.95 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.31/23.53, allocations: 11.84 kB / 2.017 GB, free: 33.93 MB / 1.311 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > 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.csv","/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