Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_RLC,fileNamePrefix="Buildings_10_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_10_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.007483/0.007483, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00179/0.00179, allocations: 196.9 kB / 16.68 MB, free: 5.93 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.464/2.464, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 59.91 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8/0.8021, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04028/0.8424, allocations: 37.59 MB / 1.203 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02209/0.8646, allocations: 13.04 MB / 1.216 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004399/0.869, allocations: 175.1 kB / 1.216 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01051/0.8796, allocations: 3.88 MB / 1.22 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007303/0.8869, allocations: 2.491 MB / 1.222 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006854/0.8938, allocations: 2.707 MB / 1.225 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01161/0.9054, allocations: 9.575 MB / 1.234 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01417/0.9196, allocations: 10.51 MB / 1.244 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006071/0.9257, allocations: 3.984 MB / 1.248 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006753/0.9325, allocations: 4.381 MB / 1.252 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0021/0.9346, allocations: 0.7695 MB / 1.253 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004709/0.9393, allocations: 1.783 MB / 1.255 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.004385/0.9438, allocations: 3.037 MB / 1.258 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.006594/0.9504, allocations: 3.587 MB / 1.261 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01467/0.9651, allocations: 11.84 MB / 1.273 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.9651, allocations: 0 / 1.273 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9651, allocations: 0 / 1.273 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003756/0.9655, allocations: 0 / 1.273 GB, free: 5.98 MB / 0.9981 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.01921/0.9847, allocations: 6.358 MB / 1.279 GB, free: 15.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.9848, allocations: 16.86 kB / 1.279 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002209/0.987, allocations: 0.7519 MB / 1.28 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009186/0.9962, allocations: 1.297 MB / 1.281 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008498/1.005, allocations: 3.791 MB / 1.285 GB, free: 9.598 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003207/1.005, allocations: 378.5 kB / 1.285 GB, free: 9.227 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001567/1.007, allocations: 0.4963 MB / 1.286 GB, free: 8.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/1.023, allocations: 8.89 MB / 1.294 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/1.023, allocations: 19.78 kB / 1.294 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001042/1.024, allocations: 223.9 kB / 1.295 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002442/1.027, allocations: 0.6382 MB / 1.295 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/1.041, allocations: 7.014 MB / 1.302 GB, free: 7.582 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05457/1.095, allocations: 40.05 MB / 1.341 GB, free: 12.29 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004669/1.1, allocations: 2.902 MB / 1.344 GB, free: 9.383 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004177/1.104, allocations: 2.663 MB / 1.347 GB, free: 6.711 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003243/1.105, allocations: 26.09 kB / 1.347 GB, free: 6.684 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.134e-05/1.105, allocations: 72.58 kB / 1.347 GB, free: 6.602 MB / 1.076 GB Notification: Performance of pre-optimization done (n=265): time 5.5e-06/1.105, allocations: 0 / 1.347 GB, free: 6.602 MB / 1.076 GB Notification: Performance of matching and sorting (n=424): time 0.3171/1.422, allocations: 74.68 MB / 1.42 GB, free: 11.26 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.536e-05/1.422, allocations: 98.72 kB / 1.42 GB, free: 11.15 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003698/1.426, allocations: 2.363 MB / 1.422 GB, free: 8.773 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0007777/1.426, allocations: 97.7 kB / 1.422 GB, free: 8.672 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001495/1.428, allocations: 2.337 MB / 1.424 GB, free: 6.309 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001884/1.43, allocations: 1.44 MB / 1.426 GB, free: 4.848 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001989/1.432, allocations: 0.7215 MB / 1.427 GB, free: 4.113 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/1.432, allocations: 301.1 kB / 1.427 GB, free: 3.816 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004563/1.437, allocations: 2.995 MB / 1.43 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005309/1.442, allocations: 3.851 MB / 1.434 GB, free: 12.63 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/1.453, allocations: 7.384 MB / 1.441 GB, free: 4.922 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/1.453, allocations: 4 kB / 1.441 GB, free: 4.918 MB / 1.17 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03083/1.484, allocations: 12.56 MB / 1.453 GB, free: 8.246 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/1.484, allocations: 12 kB / 1.453 GB, free: 8.234 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.754e-05/1.484, allocations: 24 kB / 1.453 GB, free: 8.211 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02374/1.508, allocations: 6.02 MB / 1.459 GB, free: 2.125 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/1.51, allocations: 499.1 kB / 1.459 GB, free: 1.637 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08882/1.599, allocations: 73 MB / 1.531 GB, free: 5.301 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004639/1.604, allocations: 215.8 kB / 1.531 GB, free: 5.09 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009214/1.604, allocations: 152 kB / 1.531 GB, free: 4.941 MB / 1.264 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.004248/1.609, allocations: 1.992 MB / 1.533 GB, free: 2.938 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0012/1.61, allocations: 391.4 kB / 1.533 GB, free: 2.551 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0299/1.64, allocations: 12.23 MB / 1.545 GB, free: 6.199 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.764e-05/1.64, allocations: 44.08 kB / 1.545 GB, free: 6.156 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001657/1.64, allocations: 52 kB / 1.545 GB, free: 6.105 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.131e-05/1.64, allocations: 23.91 kB / 1.545 GB, free: 6.082 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04283/1.683, allocations: 19.14 MB / 1.564 GB, free: 2.676 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.962e-05/1.683, allocations: 8 kB / 1.564 GB, free: 2.668 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/1.685, allocations: 287.6 kB / 1.564 GB, free: 2.387 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5646/2.249, allocations: 5.573 MB / 1.57 GB, free: 367.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007995/2.25, allocations: 83.45 kB / 1.57 GB, free: 367.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06842/2.319, allocations: 70.6 MB / 1.639 GB, free: 320.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/2.319, allocations: 17.95 kB / 1.639 GB, free: 320.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0292/2.348, allocations: 15.62 MB / 1.654 GB, free: 307.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002845/2.351, allocations: 1.04 MB / 1.655 GB, free: 306.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001111/2.352, allocations: 84.91 kB / 1.655 GB, free: 306.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003148/2.355, allocations: 216.9 kB / 1.655 GB, free: 306.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001507/2.357, allocations: 412.8 kB / 1.656 GB, free: 306 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004259/2.357, allocations: 115.5 kB / 1.656 GB, free: 305.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002069/2.359, allocations: 1.551 MB / 1.657 GB, free: 304.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.9e-07/2.359, allocations: 0 / 1.657 GB, free: 304.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005557/2.365, allocations: 1.863 MB / 1.659 GB, free: 302.6 MB / 1.295 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.02699/2.392, allocations: 16.29 MB / 1.675 GB, free: 286.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01892/2.411, allocations: 12.2 MB / 1.687 GB, free: 273.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/2.411, allocations: 4 kB / 1.687 GB, free: 273.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01291/2.424, allocations: 8.361 MB / 1.695 GB, free: 265 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005574/2.429, allocations: 1.185 MB / 1.696 GB, free: 263.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09424/2.523, allocations: 53.86 MB / 1.749 GB, free: 208.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004975/2.528, allocations: 4.09 MB / 1.753 GB, free: 204.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002366/2.531, allocations: 0.6669 MB / 1.754 GB, free: 203.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002141/2.533, allocations: 2.128 MB / 1.756 GB, free: 201.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.342e-06/2.533, allocations: 0 / 1.756 GB, free: 201.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2579/2.791, allocations: 150.9 MB / 1.903 GB, free: 51.97 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.24/21.03, allocations: 7.844 kB / 1.903 GB, free: 51.96 MB / 1.295 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches