Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_latest_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_latest_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.005063/0.005063, allocations: 98.95 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.00127/0.00127, allocations: 201.8 kB / 16.68 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 63.91 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2995, allocations: 162.2 MB / 1.241 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.5747/0.8742, allocations: 37.6 MB / 1.278 GB, free: 11.14 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02347/0.8978, allocations: 13.04 MB / 1.291 GB, free: 2.312 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004418/0.9022, allocations: 170.8 kB / 1.291 GB, free: 2.258 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01065/0.9129, allocations: 3.876 MB / 1.295 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007776/0.9207, allocations: 2.486 MB / 1.297 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00762/0.9283, allocations: 2.709 MB / 1.3 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0134/0.9418, allocations: 9.57 MB / 1.309 GB, free: 8.562 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01588/0.9577, allocations: 10.51 MB / 1.32 GB, free: 4.316 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007656/0.9653, allocations: 3.996 MB / 1.323 GB, free: 2.516 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008916/0.9743, allocations: 4.374 MB / 1.328 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.003176/0.9775, allocations: 0.7698 MB / 1.328 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006499/0.984, allocations: 1.784 MB / 1.33 GB, free: 248 kB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.006301/0.9903, allocations: 3.029 MB / 1.333 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.009964/1, allocations: 3.589 MB / 1.337 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01982/1.02, allocations: 11.89 MB / 1.348 GB, free: 5.152 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.02, allocations: 5.062 kB / 1.348 GB, free: 5.148 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.973e-06/1.02, allocations: 0 / 1.348 GB, free: 5.148 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003708/1.021, allocations: 0 / 1.348 GB, free: 5.148 MB / 1.045 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.02133/1.042, allocations: 6.52 MB / 1.355 GB, free: 0.793 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.042, allocations: 9.594 kB / 1.355 GB, free: 0.793 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002265/1.044, allocations: 0.7485 MB / 1.355 GB, free: 268 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009647/1.054, allocations: 1.327 MB / 1.357 GB, free: 15.62 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008925/1.063, allocations: 3.818 MB / 1.36 GB, free: 13.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/1.063, allocations: 382.6 kB / 1.361 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002078/1.065, allocations: 0.4934 MB / 1.361 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02071/1.086, allocations: 8.886 MB / 1.37 GB, free: 4.965 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/1.086, allocations: 35.77 kB / 1.37 GB, free: 4.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001347/1.088, allocations: 227.9 kB / 1.37 GB, free: 4.707 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002577/1.09, allocations: 0.6265 MB / 1.371 GB, free: 4.078 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01622/1.106, allocations: 7.01 MB / 1.378 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05932/1.166, allocations: 40.11 MB / 1.417 GB, free: 1.711 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004864/1.171, allocations: 2.902 MB / 1.42 GB, free: 14.8 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004235/1.175, allocations: 2.663 MB / 1.422 GB, free: 12.13 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/1.175, allocations: 26.09 kB / 1.422 GB, free: 12.1 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.622e-05/1.175, allocations: 76.5 kB / 1.422 GB, free: 12.02 MB / 1.123 GB Notification: Performance of pre-optimization done (n=265): time 4.729e-06/1.175, allocations: 0 / 1.422 GB, free: 12.02 MB / 1.123 GB Notification: Performance of matching and sorting (n=424): time 0.352/1.527, allocations: 74.78 MB / 1.495 GB, free: 0.5859 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/1.527, allocations: 98.73 kB / 1.495 GB, free: 488 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003751/1.531, allocations: 2.359 MB / 1.498 GB, free: 14.11 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0006939/1.532, allocations: 97.7 kB / 1.498 GB, free: 14 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001969/1.534, allocations: 2.395 MB / 1.5 GB, free: 11.59 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001982/1.536, allocations: 1.514 MB / 1.502 GB, free: 10.06 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001927/1.538, allocations: 0.7217 MB / 1.502 GB, free: 9.328 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.538, allocations: 309.1 kB / 1.503 GB, free: 9.023 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004893/1.543, allocations: 2.995 MB / 1.506 GB, free: 6.02 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005795/1.549, allocations: 3.847 MB / 1.509 GB, free: 1.84 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/1.56, allocations: 7.388 MB / 1.517 GB, free: 10.12 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.541e-05/1.56, allocations: 8 kB / 1.517 GB, free: 10.12 MB / 1.217 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03166/1.592, allocations: 12.57 MB / 1.529 GB, free: 13.45 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/1.592, allocations: 17.91 kB / 1.529 GB, free: 13.43 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.525e-05/1.592, allocations: 28 kB / 1.529 GB, free: 13.41 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02477/1.617, allocations: 6.024 MB / 1.535 GB, free: 7.316 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/1.619, allocations: 499.1 kB / 1.535 GB, free: 6.828 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1155/1.735, allocations: 73.04 MB / 1.607 GB, free: 10.45 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004452/1.739, allocations: 215.8 kB / 1.607 GB, free: 10.24 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000912/1.74, allocations: 156 kB / 1.607 GB, free: 10.09 MB / 1.311 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.004576/1.745, allocations: 1.992 MB / 1.609 GB, free: 8.086 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001386/1.746, allocations: 413.5 kB / 1.609 GB, free: 7.68 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03212/1.778, allocations: 12.22 MB / 1.621 GB, free: 11.34 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-05/1.778, allocations: 40 kB / 1.621 GB, free: 11.3 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001417/1.779, allocations: 51.94 kB / 1.621 GB, free: 11.25 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.877e-05/1.779, allocations: 23.92 kB / 1.621 GB, free: 11.23 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04429/1.823, allocations: 19.15 MB / 1.64 GB, free: 7.805 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.996e-05/1.823, allocations: 4.125 kB / 1.64 GB, free: 7.801 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/1.825, allocations: 295.5 kB / 1.64 GB, free: 7.512 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02283/1.848, allocations: 5.584 MB / 1.646 GB, free: 1.863 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006344/1.848, allocations: 80 kB / 1.646 GB, free: 1.785 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09328/1.941, allocations: 70.66 MB / 1.715 GB, free: 7.793 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/1.942, allocations: 11.94 kB / 1.715 GB, free: 7.781 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03449/1.976, allocations: 15.64 MB / 1.73 GB, free: 7.898 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002922/1.979, allocations: 1.065 MB / 1.731 GB, free: 6.812 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008483/1.98, allocations: 83.98 kB / 1.731 GB, free: 6.73 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002695/1.983, allocations: 211.7 kB / 1.731 GB, free: 6.523 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001435/1.984, allocations: 410.2 kB / 1.732 GB, free: 6.121 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003187/1.984, allocations: 108 kB / 1.732 GB, free: 6.016 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.002402/1.987, allocations: 1.556 MB / 1.733 GB, free: 4.461 MB / 1.436 GB Notification: Performance of sort global known variables: time 1.41e-07/1.987, allocations: 0 / 1.733 GB, free: 4.461 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.006488/1.993, allocations: 1.863 MB / 1.735 GB, free: 2.598 MB / 1.436 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.028, allocations: 16.32 MB / 1.751 GB, free: 2.023 MB / 1.451 GB Notification: Performance of simCode: created initialization part: time 0.02384/2.052, allocations: 12.24 MB / 1.763 GB, free: 5.457 MB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/2.052, allocations: 4 kB / 1.763 GB, free: 5.453 MB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.01668/2.069, allocations: 8.379 MB / 1.771 GB, free: 12.76 MB / 1.482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005888/2.075, allocations: 1.193 MB / 1.773 GB, free: 11.6 MB / 1.482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.11/2.185, allocations: 54.05 MB / 1.825 GB, free: 3.992 MB / 1.529 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.537/2.722, allocations: 4.084 MB / 1.829 GB, free: 0.4913 GB / 1.529 GB Notification: Performance of simCode: alias equations: time 0.002528/2.724, allocations: 0.6642 MB / 1.83 GB, free: 0.4912 GB / 1.529 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002611/2.727, allocations: 2.133 MB / 1.832 GB, free: 0.4912 GB / 1.529 GB Notification: Performance of SimCode: time 1.122e-06/2.727, allocations: 0.75 kB / 1.832 GB, free: 0.4912 GB / 1.529 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2588/2.986, allocations: 150.9 MB / 1.979 GB, free: 424.4 MB / 1.529 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.26/21.25, allocations: 17.23 kB / 1.979 GB, free: 424.4 MB / 1.529 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches