Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.007292/0.007292, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001955/0.001955, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.69/2.69, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 71.88 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7015/0.7034, allocations: 159.1 MB / 1.22 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04027/0.7438, allocations: 32.6 MB / 1.252 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01754/0.7613, allocations: 10.27 MB / 1.262 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002768/0.7641, allocations: 147.2 kB / 1.262 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.009649/0.7738, allocations: 3.723 MB / 1.266 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00518/0.779, allocations: 1.85 MB / 1.268 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005536/0.7846, allocations: 2.139 MB / 1.27 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009308/0.7939, allocations: 7.329 MB / 1.277 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01322/0.8072, allocations: 9.416 MB / 1.286 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005251/0.8124, allocations: 3.17 MB / 1.289 GB, free: 11.05 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005802/0.8183, allocations: 3.485 MB / 1.293 GB, free: 7.555 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001796/0.8201, allocations: 0.6445 MB / 1.293 GB, free: 6.91 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004323/0.8244, allocations: 1.771 MB / 1.295 GB, free: 5.137 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003854/0.8283, allocations: 2.55 MB / 1.297 GB, free: 2.582 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005301/0.8336, allocations: 2.898 MB / 1.3 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.8471, allocations: 10.12 MB / 1.31 GB, free: 5.523 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8472, allocations: 4 kB / 1.31 GB, free: 5.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8472, allocations: 0 / 1.31 GB, free: 5.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002847/0.8475, allocations: 0 / 1.31 GB, free: 5.52 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01246/0.8599, allocations: 5.127 MB / 1.315 GB, free: 320 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.86, allocations: 12.03 kB / 1.315 GB, free: 308 kB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001522/0.8615, allocations: 0.6781 MB / 1.316 GB, free: 15.61 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005448/0.867, allocations: 0.9774 MB / 1.317 GB, free: 14.63 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005967/0.873, allocations: 3.063 MB / 1.32 GB, free: 11.51 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003284/0.8733, allocations: 345.7 kB / 1.32 GB, free: 11.17 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/0.8747, allocations: 464.3 kB / 1.321 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01519/0.8899, allocations: 7.663 MB / 1.328 GB, free: 2.707 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001606/0.8901, allocations: 35.72 kB / 1.328 GB, free: 2.672 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000702/0.8908, allocations: 200 kB / 1.328 GB, free: 2.477 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003932/0.8912, allocations: 312.9 kB / 1.329 GB, free: 2.168 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.9022, allocations: 5.71 MB / 1.334 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03931/0.9415, allocations: 34.88 MB / 1.368 GB, free: 6.355 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/0.9447, allocations: 2.157 MB / 1.37 GB, free: 4.074 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/0.9465, allocations: 1.268 MB / 1.372 GB, free: 2.809 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.058e-05/0.9466, allocations: 13.31 kB / 1.372 GB, free: 2.797 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.9467, allocations: 47.88 kB / 1.372 GB, free: 2.742 MB / 1.092 GB Notification: Performance of pre-optimization done (n=133): time 3.467e-06/0.9467, allocations: 0 / 1.372 GB, free: 2.742 MB / 1.092 GB Notification: Performance of matching and sorting (n=136): time 0.01441/0.9611, allocations: 7.145 MB / 1.379 GB, free: 11.33 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.9612, allocations: 68.66 kB / 1.379 GB, free: 11.25 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.9632, allocations: 1.48 MB / 1.38 GB, free: 9.727 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.9633, allocations: 45.7 kB / 1.38 GB, free: 9.676 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00157/0.9649, allocations: 2.073 MB / 1.382 GB, free: 7.582 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005021/0.9654, allocations: 0.4996 MB / 1.383 GB, free: 7.078 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005417/0.966, allocations: 347.4 kB / 1.383 GB, free: 6.73 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.9661, allocations: 309.1 kB / 1.383 GB, free: 6.426 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.9675, allocations: 0.9174 MB / 1.384 GB, free: 5.508 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001998/0.9695, allocations: 1.589 MB / 1.386 GB, free: 3.605 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003695/0.9732, allocations: 2.737 MB / 1.388 GB, free: 0.5586 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/0.9733, allocations: 8 kB / 1.388 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006517/0.9798, allocations: 3.543 MB / 1.392 GB, free: 12.96 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.9798, allocations: 16 kB / 1.392 GB, free: 12.94 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/0.9799, allocations: 23.94 kB / 1.392 GB, free: 12.92 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00271/0.9826, allocations: 0.9039 MB / 1.393 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.9839, allocations: 351.3 kB / 1.393 GB, free: 11.64 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02422/1.008, allocations: 23.12 MB / 1.416 GB, free: 2.844 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/1.01, allocations: 95.92 kB / 1.416 GB, free: 2.75 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002527/1.01, allocations: 91.98 kB / 1.416 GB, free: 2.66 MB / 1.139 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002601/1.013, allocations: 1.602 MB / 1.417 GB, free: 1.047 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000448/1.013, allocations: 222.9 kB / 1.418 GB, free: 0.8281 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005735/1.019, allocations: 2.994 MB / 1.421 GB, free: 13.79 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/1.019, allocations: 19.98 kB / 1.421 GB, free: 13.77 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.321e-05/1.019, allocations: 8 kB / 1.421 GB, free: 13.76 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/1.019, allocations: 11.91 kB / 1.421 GB, free: 13.75 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/1.032, allocations: 7.333 MB / 1.428 GB, free: 6.176 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.032, allocations: 4 kB / 1.428 GB, free: 6.172 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008219/1.033, allocations: 179.7 kB / 1.428 GB, free: 5.996 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002562/1.036, allocations: 0.8218 MB / 1.429 GB, free: 5.137 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/1.036, allocations: 28 kB / 1.429 GB, free: 5.109 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02286/1.059, allocations: 21.96 MB / 1.45 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.059, allocations: 4 kB / 1.45 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005758/1.064, allocations: 3.03 MB / 1.453 GB, free: 10.31 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009655/1.065, allocations: 483.4 kB / 1.454 GB, free: 9.82 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003826/1.066, allocations: 28 kB / 1.454 GB, free: 9.793 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009729/1.067, allocations: 75.91 kB / 1.454 GB, free: 9.719 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000355/1.067, allocations: 120.7 kB / 1.454 GB, free: 9.602 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.384e-05/1.067, allocations: 40 kB / 1.454 GB, free: 9.562 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001541/1.069, allocations: 0.9756 MB / 1.455 GB, free: 8.562 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/1.069, allocations: 0 / 1.455 GB, free: 8.562 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002753/1.071, allocations: 0.7891 MB / 1.456 GB, free: 7.773 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005912/1.077, allocations: 3.632 MB / 1.459 GB, free: 4.023 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.006581/1.084, allocations: 4.035 MB / 1.463 GB, free: 15.84 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.084, allocations: 0 / 1.463 GB, free: 15.84 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004149/1.088, allocations: 2.741 MB / 1.466 GB, free: 12.94 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/1.092, allocations: 0.7345 MB / 1.466 GB, free: 12.23 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04054/1.133, allocations: 22.48 MB / 1.488 GB, free: 4.723 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004867/1.138, allocations: 3.109 MB / 1.491 GB, free: 1.586 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001431/1.139, allocations: 458 kB / 1.492 GB, free: 1.137 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002234/1.141, allocations: 1.538 MB / 1.493 GB, free: 15.59 MB / 1.232 GB Notification: Performance of SimCode: time 8.11e-07/1.141, allocations: 4 kB / 1.493 GB, free: 15.59 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1399/1.281, allocations: 61.41 MB / 1.553 GB, free: 2.848 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.86, allocations: 10.81 kB / 1.553 GB, free: 2.84 MB / 1.279 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches