Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.001683/0.001683, 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.001948/0.001948, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.597/2.597, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.91 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6228/0.6243, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02933/0.6537, allocations: 26.64 MB / 1.043 GB, free: 7.719 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01731/0.6711, allocations: 8.079 MB / 1.051 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002506/0.6736, allocations: 111.4 kB / 1.051 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.006864/0.6805, allocations: 2.769 MB / 1.054 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004292/0.6848, allocations: 1.582 MB / 1.056 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.6894, allocations: 1.684 MB / 1.057 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.007082/0.6965, allocations: 6.135 MB / 1.063 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01054/0.7071, allocations: 7.427 MB / 1.071 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00441/0.7116, allocations: 2.551 MB / 1.073 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004868/0.7165, allocations: 2.842 MB / 1.076 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.718, allocations: 0.5078 MB / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0035/0.7215, allocations: 1.287 MB / 1.078 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002945/0.7244, allocations: 2.043 MB / 1.08 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004902/0.7294, allocations: 2.389 MB / 1.082 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.009448/0.7388, allocations: 7.993 MB / 1.09 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.7389, allocations: 3.984 kB / 1.09 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7389, allocations: 4 kB / 1.09 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000236/0.7391, allocations: 4 kB / 1.09 GB, free: 8.098 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01026/0.7494, allocations: 4.22 MB / 1.094 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.7495, allocations: 12.03 kB / 1.094 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001151/0.7506, allocations: 0.5382 MB / 1.094 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004439/0.7551, allocations: 0.7961 MB / 1.095 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004524/0.7596, allocations: 2.432 MB / 1.098 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.7598, allocations: 275.6 kB / 1.098 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007946/0.7606, allocations: 384.3 kB / 1.098 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.7707, allocations: 5.984 MB / 1.104 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.1e-05/0.7708, allocations: 15.88 kB / 1.104 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003792/0.7712, allocations: 163.9 kB / 1.104 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005944/0.7718, allocations: 282.9 kB / 1.104 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00749/0.7793, allocations: 4.52 MB / 1.109 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0267/0.806, allocations: 27.66 MB / 1.136 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.8076, allocations: 1.114 MB / 1.137 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.8089, allocations: 1.023 MB / 1.138 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.427e-05/0.809, allocations: 16.94 kB / 1.138 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.809, allocations: 47.56 kB / 1.138 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 2.796e-06/0.809, allocations: 0 / 1.138 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of matching and sorting (n=131): time 0.02163/0.8307, allocations: 9.67 MB / 1.147 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.8307, allocations: 64.72 kB / 1.148 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.8326, allocations: 1.494 MB / 1.149 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.8327, allocations: 49.7 kB / 1.149 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009938/0.8337, allocations: 1.667 MB / 1.151 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003849/0.8341, allocations: 469.2 kB / 1.151 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004825/0.8346, allocations: 331.2 kB / 1.151 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.491e-05/0.8347, allocations: 313 kB / 1.152 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.836, allocations: 0.9135 MB / 1.153 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.8376, allocations: 1.463 MB / 1.154 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003003/0.8406, allocations: 2.55 MB / 1.157 GB, free: 4 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.8406, allocations: 4 kB / 1.157 GB, free: 0 / 0.9044 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00565/0.8462, allocations: 3.294 MB / 1.16 GB, free: 12.67 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.8463, allocations: 12 kB / 1.16 GB, free: 12.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.8463, allocations: 16 kB / 1.16 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002319/0.8487, allocations: 0.7374 MB / 1.161 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.8503, allocations: 383.4 kB / 1.161 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/0.8657, allocations: 17.05 MB / 1.178 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.8674, allocations: 108.1 kB / 1.178 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.8676, allocations: 76 kB / 1.178 GB, free: 9.004 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002024/0.8696, allocations: 1.309 MB / 1.179 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004146/0.87, allocations: 201.7 kB / 1.179 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005012/0.875, allocations: 2.784 MB / 1.182 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.8751, allocations: 20 kB / 1.182 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.8751, allocations: 4 kB / 1.182 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.8751, allocations: 7.969 kB / 1.182 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.8853, allocations: 6.217 MB / 1.188 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.8854, allocations: 4 kB / 1.188 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.8866, allocations: 235.6 kB / 1.188 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002049/0.8886, allocations: 0.6834 MB / 1.189 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.8887, allocations: 28 kB / 1.189 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/0.9036, allocations: 16.79 MB / 1.205 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.9036, allocations: 11.94 kB / 1.205 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006066/0.9097, allocations: 4.008 MB / 1.209 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009296/0.9106, allocations: 450.7 kB / 1.21 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.9109, allocations: 39.92 kB / 1.21 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009423/0.9119, allocations: 79.89 kB / 1.21 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003266/0.9122, allocations: 120.7 kB / 1.21 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.463e-05/0.9123, allocations: 40 kB / 1.21 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001273/0.9136, allocations: 0.9903 MB / 1.211 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9136, allocations: 0 / 1.211 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002166/0.9157, allocations: 0.6836 MB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006199/0.9219, allocations: 4.609 MB / 1.216 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006397/0.9284, allocations: 4.104 MB / 1.22 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.9284, allocations: 4.812 kB / 1.22 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003254/0.9317, allocations: 2.295 MB / 1.222 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/0.9349, allocations: 0.6778 MB / 1.223 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03541/0.9703, allocations: 22.71 MB / 1.245 GB, free: 360 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4803/1.451, allocations: 2.659 MB / 1.248 GB, free: 212.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002252/1.453, allocations: 488.5 kB / 1.248 GB, free: 212.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/1.454, allocations: 1.281 MB / 1.249 GB, free: 212.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.112e-06/1.454, allocations: 0 / 1.249 GB, free: 212.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09763/1.552, allocations: 56.28 MB / 1.304 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10/11.56, allocations: 13.89 kB / 1.304 GB, free: 180.6 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches