Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.006559/0.006559, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.001408/0.001408, allocations: 187 kB / 16.67 MB, free: 5.922 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.212/2.212, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.91 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7426/0.744, allocations: 140.4 MB / 1.087 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04352/0.7876, allocations: 37.59 MB / 1.124 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02527/0.8129, allocations: 13.04 MB / 1.137 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005972/0.8189, allocations: 169.7 kB / 1.137 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01045/0.8294, allocations: 3.903 MB / 1.141 GB, free: 400 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007944/0.8374, allocations: 2.609 MB / 1.143 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007473/0.8449, allocations: 2.698 MB / 1.146 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01357/0.8584, allocations: 9.597 MB / 1.155 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01583/0.8743, allocations: 10.5 MB / 1.166 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008019/0.8823, allocations: 4.068 MB / 1.17 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008009/0.8904, allocations: 4.383 MB / 1.174 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002545/0.8929, allocations: 0.7711 MB / 1.175 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005652/0.8986, allocations: 1.781 MB / 1.176 GB, free: 15.32 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.005333/0.904, allocations: 3.04 MB / 1.179 GB, free: 13.34 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00915/0.9131, allocations: 3.579 MB / 1.183 GB, free: 10.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01855/0.9317, allocations: 11.89 MB / 1.195 GB, free: 384 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.9317, allocations: 3.984 kB / 1.195 GB, free: 380 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9318, allocations: 3.938 kB / 1.195 GB, free: 376 kB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003497/0.9321, allocations: 0 / 1.195 GB, free: 376 kB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01801/0.9501, allocations: 6.511 MB / 1.201 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.9502, allocations: 15.97 kB / 1.201 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001904/0.9521, allocations: 0.748 MB / 1.202 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008936/0.9611, allocations: 1.332 MB / 1.203 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008511/0.9696, allocations: 3.809 MB / 1.207 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/0.9699, allocations: 378.5 kB / 1.207 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001525/0.9715, allocations: 0.5003 MB / 1.208 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/0.9881, allocations: 8.882 MB / 1.216 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001563/0.9882, allocations: 31.72 kB / 1.216 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000789/0.989, allocations: 227.9 kB / 1.216 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002365/0.9914, allocations: 0.6343 MB / 1.217 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01361/1.005, allocations: 7.01 MB / 1.224 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04974/1.055, allocations: 40.11 MB / 1.263 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004065/1.059, allocations: 2.901 MB / 1.266 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003566/1.062, allocations: 2.675 MB / 1.269 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/1.063, allocations: 26.09 kB / 1.269 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/1.063, allocations: 64.59 kB / 1.269 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=265): time 6.001e-06/1.063, allocations: 3.984 kB / 1.269 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of matching and sorting (n=424): time 0.3035/1.366, allocations: 74.78 MB / 1.342 GB, free: 5.293 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/1.366, allocations: 98.67 kB / 1.342 GB, free: 5.184 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003445/1.37, allocations: 2.363 MB / 1.344 GB, free: 2.809 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0007373/1.371, allocations: 93.7 kB / 1.344 GB, free: 2.711 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001528/1.372, allocations: 2.402 MB / 1.346 GB, free: 296 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0018/1.374, allocations: 1.511 MB / 1.348 GB, free: 14.76 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001833/1.376, allocations: 0.7256 MB / 1.349 GB, free: 14.02 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 8.983e-05/1.376, allocations: 309.1 kB / 1.349 GB, free: 13.72 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004677/1.381, allocations: 2.995 MB / 1.352 GB, free: 10.71 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005645/1.386, allocations: 3.847 MB / 1.356 GB, free: 6.531 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/1.398, allocations: 7.384 MB / 1.363 GB, free: 14.82 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-05/1.398, allocations: 8 kB / 1.363 GB, free: 14.81 MB / 1.107 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03119/1.429, allocations: 12.58 MB / 1.375 GB, free: 2.137 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/1.429, allocations: 16 kB / 1.375 GB, free: 2.121 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.956e-05/1.429, allocations: 28 kB / 1.375 GB, free: 2.094 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02375/1.453, allocations: 6.022 MB / 1.381 GB, free: 12.01 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/1.455, allocations: 495.2 kB / 1.382 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08897/1.544, allocations: 73.04 MB / 1.453 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004949/1.549, allocations: 215.9 kB / 1.453 GB, free: 14.95 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009597/1.55, allocations: 155.9 kB / 1.453 GB, free: 14.79 MB / 1.201 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004223/1.555, allocations: 1.996 MB / 1.455 GB, free: 12.79 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001246/1.556, allocations: 417.5 kB / 1.456 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0301/1.586, allocations: 12.23 MB / 1.467 GB, free: 28 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-05/1.586, allocations: 43.98 kB / 1.468 GB, free: 15.98 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001679/1.586, allocations: 48 kB / 1.468 GB, free: 15.93 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.211e-05/1.586, allocations: 19.88 kB / 1.468 GB, free: 15.92 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04523/1.632, allocations: 19.15 MB / 1.486 GB, free: 12.5 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-05/1.632, allocations: 7.984 kB / 1.486 GB, free: 12.49 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/1.633, allocations: 283.6 kB / 1.487 GB, free: 12.21 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02217/1.656, allocations: 5.58 MB / 1.492 GB, free: 6.566 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001028/1.657, allocations: 87.98 kB / 1.492 GB, free: 6.48 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08512/1.742, allocations: 70.66 MB / 1.561 GB, free: 12.48 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/1.742, allocations: 8 kB / 1.561 GB, free: 12.47 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5577/2.3, allocations: 15.64 MB / 1.576 GB, free: 406.5 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003151/2.303, allocations: 1.054 MB / 1.577 GB, free: 406.4 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007145/2.303, allocations: 89.19 kB / 1.578 GB, free: 406.4 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002605/2.306, allocations: 215.4 kB / 1.578 GB, free: 406.4 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001535/2.308, allocations: 406 kB / 1.578 GB, free: 406.4 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003052/2.308, allocations: 106.5 kB / 1.578 GB, free: 406.4 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002622/2.311, allocations: 1.558 MB / 1.58 GB, free: 406.2 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.4e-07/2.311, allocations: 0 / 1.58 GB, free: 406.2 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.006213/2.317, allocations: 1.86 MB / 1.582 GB, free: 406.2 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03123/2.348, allocations: 16.31 MB / 1.597 GB, free: 404 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02221/2.37, allocations: 12.23 MB / 1.609 GB, free: 397.5 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/2.37, allocations: 5.188 kB / 1.609 GB, free: 397.5 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01542/2.386, allocations: 8.375 MB / 1.618 GB, free: 392.6 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007104/2.393, allocations: 1.201 MB / 1.619 GB, free: 392.2 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1005/2.493, allocations: 54.06 MB / 1.672 GB, free: 367.9 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004391/2.498, allocations: 4.087 MB / 1.676 GB, free: 366.5 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002306/2.5, allocations: 0.671 MB / 1.676 GB, free: 366.3 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001895/2.502, allocations: 2.125 MB / 1.678 GB, free: 364.5 MB / 1.311 GB Notification: Performance of SimCode: time 8.92e-07/2.502, allocations: 4 kB / 1.678 GB, free: 364.5 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2242/2.726, allocations: 150.9 MB / 1.826 GB, free: 222.3 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.01/20.74, allocations: 19.75 kB / 1.826 GB, free: 222.3 MB / 1.311 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches