Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006767/0.006767, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001775/0.001775, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.738/2.738, allocations: 469.8 MB / 0.7425 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 71.81 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3551, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.7153/1.07, allocations: 37.59 MB / 1.257 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02172/1.092, allocations: 13.04 MB / 1.27 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005186/1.097, allocations: 171.5 kB / 1.27 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009791/1.107, allocations: 3.88 MB / 1.274 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00898/1.116, allocations: 2.488 MB / 1.276 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008878/1.125, allocations: 2.709 MB / 1.279 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0166/1.142, allocations: 9.568 MB / 1.288 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01897/1.161, allocations: 10.52 MB / 1.298 GB, free: 14.06 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009335/1.17, allocations: 3.991 MB / 1.302 GB, free: 12.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01004/1.18, allocations: 4.381 MB / 1.306 GB, free: 10.39 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.003711/1.184, allocations: 0.7706 MB / 1.307 GB, free: 10.39 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007853/1.192, allocations: 1.777 MB / 1.309 GB, free: 9.992 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.007905/1.2, allocations: 3.04 MB / 1.312 GB, free: 8.727 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01302/1.213, allocations: 3.58 MB / 1.315 GB, free: 6.457 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02481/1.238, allocations: 11.89 MB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/1.238, allocations: 0 / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.984e-06/1.238, allocations: 4 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0004649/1.238, allocations: 1.094 kB / 1.327 GB, free: 0.5547 MB / 1.014 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.02599/1.264, allocations: 6.515 MB / 1.333 GB, free: 12.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.264, allocations: 9.781 kB / 1.333 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003686/1.268, allocations: 0.7484 MB / 1.334 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/1.279, allocations: 1.332 MB / 1.335 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01416/1.293, allocations: 3.811 MB / 1.339 GB, free: 8.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005354/1.294, allocations: 382.1 kB / 1.339 GB, free: 8.324 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002904/1.297, allocations: 0.49 MB / 1.34 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02745/1.324, allocations: 8.889 MB / 1.349 GB, free: 2.641 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000369/1.325, allocations: 33.44 kB / 1.349 GB, free: 2.617 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002694/1.328, allocations: 222.8 kB / 1.349 GB, free: 2.453 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002486/1.33, allocations: 0.6281 MB / 1.35 GB, free: 2.242 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0172/1.347, allocations: 7.014 MB / 1.356 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06244/1.41, allocations: 40.12 MB / 1.396 GB, free: 1.234 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005079/1.415, allocations: 2.904 MB / 1.398 GB, free: 14.32 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004425/1.419, allocations: 2.663 MB / 1.401 GB, free: 11.65 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/1.42, allocations: 30 kB / 1.401 GB, free: 11.62 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.641e-05/1.42, allocations: 72.59 kB / 1.401 GB, free: 11.54 MB / 1.092 GB Notification: Performance of pre-optimization done (n=265): time 5.13e-06/1.42, allocations: 0 / 1.401 GB, free: 11.54 MB / 1.092 GB Notification: Performance of matching and sorting (n=424): time 0.3191/1.739, allocations: 74.77 MB / 1.474 GB, free: 116 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/1.739, allocations: 98.73 kB / 1.474 GB, free: 4 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003615/1.743, allocations: 2.363 MB / 1.476 GB, free: 13.63 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0009148/1.744, allocations: 97.7 kB / 1.477 GB, free: 13.53 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001871/1.745, allocations: 2.399 MB / 1.479 GB, free: 11.11 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.002088/1.748, allocations: 1.51 MB / 1.48 GB, free: 9.586 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001548/1.749, allocations: 0.7256 MB / 1.481 GB, free: 8.848 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.749, allocations: 301.1 kB / 1.481 GB, free: 8.551 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004561/1.754, allocations: 2.999 MB / 1.484 GB, free: 5.543 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005189/1.759, allocations: 3.851 MB / 1.488 GB, free: 1.359 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/1.769, allocations: 7.384 MB / 1.495 GB, free: 9.648 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.415e-05/1.77, allocations: 4 kB / 1.495 GB, free: 9.645 MB / 1.186 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02965/1.799, allocations: 12.57 MB / 1.508 GB, free: 12.96 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/1.799, allocations: 12 kB / 1.508 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/1.799, allocations: 24.09 kB / 1.508 GB, free: 12.93 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02373/1.823, allocations: 6.027 MB / 1.514 GB, free: 6.836 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/1.825, allocations: 495.2 kB / 1.514 GB, free: 6.352 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09388/1.919, allocations: 73.05 MB / 1.585 GB, free: 9.977 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004676/1.924, allocations: 215.9 kB / 1.586 GB, free: 9.766 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008692/1.925, allocations: 160 kB / 1.586 GB, free: 9.609 MB / 1.279 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.004668/1.93, allocations: 1.989 MB / 1.588 GB, free: 7.609 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/1.931, allocations: 409.5 kB / 1.588 GB, free: 7.207 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02953/1.96, allocations: 12.23 MB / 1.6 GB, free: 10.86 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.235e-05/1.96, allocations: 43.94 kB / 1.6 GB, free: 10.82 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001611/1.961, allocations: 52 kB / 1.6 GB, free: 10.77 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.759e-05/1.961, allocations: 23.91 kB / 1.6 GB, free: 10.74 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04392/2.005, allocations: 19.14 MB / 1.619 GB, free: 7.336 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-05/2.005, allocations: 8 kB / 1.619 GB, free: 7.328 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/2.006, allocations: 291.6 kB / 1.619 GB, free: 7.043 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02216/2.029, allocations: 5.572 MB / 1.624 GB, free: 1.406 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009256/2.03, allocations: 80 kB / 1.625 GB, free: 1.328 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09095/2.121, allocations: 70.68 MB / 1.694 GB, free: 7.32 MB / 1.389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-05/2.121, allocations: 16 kB / 1.694 GB, free: 7.305 MB / 1.389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03432/2.155, allocations: 15.64 MB / 1.709 GB, free: 7.414 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003421/2.158, allocations: 1.057 MB / 1.71 GB, free: 6.336 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001338/2.16, allocations: 83.98 kB / 1.71 GB, free: 6.254 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003402/2.163, allocations: 215.7 kB / 1.71 GB, free: 6.043 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001603/2.165, allocations: 406.3 kB / 1.711 GB, free: 5.645 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003328/2.165, allocations: 107.9 kB / 1.711 GB, free: 5.539 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.0026/2.168, allocations: 1.553 MB / 1.712 GB, free: 3.988 MB / 1.404 GB Notification: Performance of sort global known variables: time 1.3e-07/2.168, allocations: 480 / 1.712 GB, free: 3.988 MB / 1.404 GB Notification: Performance of remove unused functions: time 0.007875/2.176, allocations: 1.863 MB / 1.714 GB, free: 2.125 MB / 1.404 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.03478/2.21, allocations: 16.31 MB / 1.73 GB, free: 1.559 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.02363/2.234, allocations: 12.24 MB / 1.742 GB, free: 4.992 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 2.01e-05/2.234, allocations: 0 / 1.742 GB, free: 4.992 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.01744/2.252, allocations: 8.383 MB / 1.75 GB, free: 12.29 MB / 1.451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008238/2.26, allocations: 1.187 MB / 1.751 GB, free: 11.14 MB / 1.451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1251/2.385, allocations: 54.07 MB / 1.804 GB, free: 3.52 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007212/2.392, allocations: 4.083 MB / 1.808 GB, free: 15.4 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.002708/2.395, allocations: 0.663 MB / 1.809 GB, free: 14.73 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003198/2.398, allocations: 2.132 MB / 1.811 GB, free: 12.6 MB / 1.514 GB Notification: Performance of SimCode: time 1.213e-06/2.398, allocations: 0 / 1.811 GB, free: 12.6 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8242/3.222, allocations: 150.9 MB / 1.958 GB, free: 442.4 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.27/21.49, allocations: 5.094 kB / 1.958 GB, free: 442.4 MB / 1.514 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches