Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.004847/0.004848, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001276/0.001276, allocations: 192 kB / 16.67 MB, free: 5.48 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.664/2.664, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001999, allocations: 67.89 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7104/0.7124, allocations: 159.1 MB / 1.22 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03586/0.7483, allocations: 30.76 MB / 1.25 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02213/0.7704, allocations: 13.59 MB / 1.263 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003004/0.7735, allocations: 143.2 kB / 1.264 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.008286/0.7818, allocations: 3.206 MB / 1.267 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007809/0.7896, allocations: 2.657 MB / 1.269 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005164/0.7948, allocations: 2.011 MB / 1.271 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01004/0.8049, allocations: 7.62 MB / 1.279 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01134/0.8163, allocations: 8.234 MB / 1.287 GB, free: 13.47 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006083/0.8224, allocations: 3.412 MB / 1.29 GB, free: 10.05 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0059/0.8283, allocations: 3.391 MB / 1.293 GB, free: 6.648 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001746/0.8301, allocations: 0.5977 MB / 1.294 GB, free: 6.051 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003883/0.834, allocations: 1.486 MB / 1.295 GB, free: 4.562 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003412/0.8374, allocations: 2.374 MB / 1.298 GB, free: 2.184 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005257/0.8427, allocations: 2.879 MB / 1.301 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.8546, allocations: 9.484 MB / 1.31 GB, free: 5.777 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.8547, allocations: 0 / 1.31 GB, free: 5.777 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8547, allocations: 4 kB / 1.31 GB, free: 5.773 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002493/0.855, allocations: 0 / 1.31 GB, free: 5.773 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01128/0.8662, allocations: 5.263 MB / 1.315 GB, free: 436 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.8663, allocations: 8.031 kB / 1.315 GB, free: 428 kB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00134/0.8676, allocations: 0.6203 MB / 1.316 GB, free: 15.79 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00602/0.8737, allocations: 1.024 MB / 1.317 GB, free: 14.76 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00641/0.8801, allocations: 3.097 MB / 1.32 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002902/0.8804, allocations: 316.8 kB / 1.32 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.8815, allocations: 423.9 kB / 1.32 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.8948, allocations: 6.795 MB / 1.327 GB, free: 3.766 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001498/0.895, allocations: 19.83 kB / 1.327 GB, free: 3.746 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007484/0.8957, allocations: 184 kB / 1.327 GB, free: 3.566 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009051/0.8966, allocations: 372 kB / 1.328 GB, free: 3.199 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009805/0.9065, allocations: 5.118 MB / 1.333 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03698/0.9435, allocations: 30.57 MB / 1.362 GB, free: 12.73 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.9457, allocations: 1.387 MB / 1.364 GB, free: 11.34 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/0.9476, allocations: 1.328 MB / 1.365 GB, free: 10.01 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.9478, allocations: 21.25 kB / 1.365 GB, free: 9.988 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.9478, allocations: 51.81 kB / 1.365 GB, free: 9.93 MB / 1.092 GB Notification: Performance of pre-optimization done (n=130): time 2.855e-06/0.9478, allocations: 0 / 1.365 GB, free: 9.93 MB / 1.092 GB Notification: Performance of matching and sorting (n=199): time 0.09002/1.038, allocations: 23.15 MB / 1.388 GB, free: 2.66 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/1.038, allocations: 73.41 kB / 1.388 GB, free: 2.574 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003443/1.041, allocations: 2.062 MB / 1.39 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002882/1.042, allocations: 61.7 kB / 1.39 GB, free: 440 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001639/1.043, allocations: 2.059 MB / 1.392 GB, free: 14.35 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000816/1.044, allocations: 0.7088 MB / 1.393 GB, free: 13.64 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009739/1.045, allocations: 416.4 kB / 1.393 GB, free: 13.22 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.045, allocations: 309.1 kB / 1.393 GB, free: 12.92 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/1.048, allocations: 1.426 MB / 1.395 GB, free: 11.49 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002769/1.05, allocations: 2.017 MB / 1.397 GB, free: 9.219 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005293/1.056, allocations: 3.688 MB / 1.4 GB, free: 5.289 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/1.056, allocations: 4 kB / 1.4 GB, free: 5.285 MB / 1.123 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01163/1.067, allocations: 5.682 MB / 1.406 GB, free: 15.54 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/1.067, allocations: 16.25 kB / 1.406 GB, free: 15.52 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/1.067, allocations: 16 kB / 1.406 GB, free: 15.5 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006976/1.074, allocations: 2.079 MB / 1.408 GB, free: 13.37 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/1.076, allocations: 375.4 kB / 1.408 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04193/1.118, allocations: 38.46 MB / 1.446 GB, free: 4.016 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/1.12, allocations: 123.9 kB / 1.446 GB, free: 3.895 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002342/1.121, allocations: 95.98 kB / 1.446 GB, free: 3.801 MB / 1.17 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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%), (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 prepare postOptimizeDAE: time 0.00249/1.123, allocations: 1.51 MB / 1.447 GB, free: 2.281 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005583/1.124, allocations: 298.2 kB / 1.448 GB, free: 1.988 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/1.134, allocations: 5.215 MB / 1.453 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/1.134, allocations: 20 kB / 1.453 GB, free: 12.68 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.452e-05/1.134, allocations: 23.94 kB / 1.453 GB, free: 12.66 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/1.134, allocations: 7.969 kB / 1.453 GB, free: 12.65 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/1.152, allocations: 9.676 MB / 1.462 GB, free: 2.758 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/1.152, allocations: 4 kB / 1.462 GB, free: 2.754 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008764/1.153, allocations: 220.5 kB / 1.463 GB, free: 2.539 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006002/1.159, allocations: 1.845 MB / 1.464 GB, free: 0.6367 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001597/1.159, allocations: 40 kB / 1.464 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04058/1.2, allocations: 37.47 MB / 1.501 GB, free: 8.594 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/1.2, allocations: 8 kB / 1.501 GB, free: 8.586 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009851/1.21, allocations: 4.93 MB / 1.506 GB, free: 3.5 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/1.211, allocations: 0.6318 MB / 1.506 GB, free: 2.848 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006174/1.212, allocations: 47.94 kB / 1.506 GB, free: 2.801 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/1.214, allocations: 131.8 kB / 1.507 GB, free: 2.672 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006207/1.214, allocations: 189.6 kB / 1.507 GB, free: 2.484 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/1.214, allocations: 60 kB / 1.507 GB, free: 2.426 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002181/1.216, allocations: 1.378 MB / 1.508 GB, free: 1.039 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.5e-07/1.217, allocations: 0 / 1.508 GB, free: 1.039 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003322/1.22, allocations: 1.043 MB / 1.509 GB, free: 15.99 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009582/1.229, allocations: 5.552 MB / 1.515 GB, free: 10.27 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01051/1.24, allocations: 6.307 MB / 1.521 GB, free: 3.738 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.24, allocations: 4 kB / 1.521 GB, free: 3.734 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.007048/1.247, allocations: 4.41 MB / 1.525 GB, free: 15.09 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004547/1.252, allocations: 0.9951 MB / 1.526 GB, free: 14.13 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5687/1.82, allocations: 30.78 MB / 1.556 GB, free: 308.1 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003974/1.824, allocations: 3.127 MB / 1.559 GB, free: 307.4 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001698/1.826, allocations: 0.516 MB / 1.56 GB, free: 307.3 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/1.827, allocations: 1.678 MB / 1.561 GB, free: 307.3 MB / 1.279 GB Notification: Performance of SimCode: time 7.51e-07/1.827, allocations: 0 / 1.561 GB, free: 307.3 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1537/1.981, allocations: 88.11 MB / 1.647 GB, free: 245.4 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/16.67, allocations: 13.84 kB / 1.647 GB, free: 245.4 MB / 1.279 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches