Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.008198/0.008198, allocations: 99.81 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.00208/0.00208, allocations: 195.1 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.341/1.341, 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 10.1.1-maint.10.0.x/package.mo): time 2.386/2.386, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.91 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.751/0.7524, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03573/0.7881, allocations: 33.35 MB / 1.199 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02156/0.8097, allocations: 14.82 MB / 1.213 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003103/0.8129, allocations: 151.2 kB / 1.213 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.009491/0.8224, allocations: 3.671 MB / 1.217 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008344/0.8308, allocations: 2.993 MB / 1.22 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005696/0.8365, allocations: 2.325 MB / 1.222 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0102/0.8467, allocations: 8.826 MB / 1.231 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01122/0.858, allocations: 9.579 MB / 1.24 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007579/0.8656, allocations: 4.016 MB / 1.244 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005737/0.8713, allocations: 4.042 MB / 1.248 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001116/0.8725, allocations: 0.7148 MB / 1.249 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.8756, allocations: 1.724 MB / 1.25 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002509/0.8782, allocations: 2.822 MB / 1.253 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003942/0.8821, allocations: 3.392 MB / 1.256 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.8932, allocations: 11.21 MB / 1.267 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.8933, allocations: 0 / 1.267 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8933, allocations: 0 / 1.267 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002569/0.8935, allocations: 0 / 1.267 GB, free: 11.77 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0127/0.9062, allocations: 6.14 MB / 1.273 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.9063, allocations: 8.922 kB / 1.273 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001007/0.9073, allocations: 0.727 MB / 1.274 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006395/0.9137, allocations: 1.172 MB / 1.275 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006763/0.9205, allocations: 3.538 MB / 1.279 GB, free: 8 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002992/0.9208, allocations: 378.5 kB / 1.279 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/0.922, allocations: 495.9 kB / 1.28 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01523/0.9372, allocations: 8.001 MB / 1.287 GB, free: 6.875 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001876/0.9374, allocations: 27.83 kB / 1.287 GB, free: 6.848 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009973/0.9385, allocations: 212 kB / 1.288 GB, free: 6.641 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001119/0.9396, allocations: 441.5 kB / 1.288 GB, free: 6.207 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/0.9517, allocations: 6.085 MB / 1.294 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04036/0.9921, allocations: 34.96 MB / 1.328 GB, free: 9.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/0.995, allocations: 2.018 MB / 1.33 GB, free: 7.961 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002501/0.9975, allocations: 1.881 MB / 1.332 GB, free: 6.082 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.9977, allocations: 18 kB / 1.332 GB, free: 6.062 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.9977, allocations: 60.48 kB / 1.332 GB, free: 5.996 MB / 1.061 GB Notification: Performance of pre-optimization done (n=171): time 3.236e-06/0.9977, allocations: 0 / 1.332 GB, free: 5.996 MB / 1.061 GB Notification: Performance of matching and sorting (n=276): time 0.1487/1.146, allocations: 38.98 MB / 1.37 GB, free: 14.91 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/1.147, allocations: 77.58 kB / 1.37 GB, free: 14.82 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00338/1.15, allocations: 2.286 MB / 1.372 GB, free: 12.52 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003226/1.15, allocations: 73.7 kB / 1.372 GB, free: 12.45 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001549/1.152, allocations: 2.334 MB / 1.375 GB, free: 10.09 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008847/1.153, allocations: 0.9798 MB / 1.376 GB, free: 9.102 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/1.154, allocations: 0.5064 MB / 1.376 GB, free: 8.586 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.154, allocations: 309 kB / 1.376 GB, free: 8.281 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002924/1.157, allocations: 1.97 MB / 1.378 GB, free: 6.309 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003281/1.16, allocations: 2.606 MB / 1.381 GB, free: 3.457 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006513/1.167, allocations: 4.929 MB / 1.386 GB, free: 14.25 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/1.167, allocations: 8 kB / 1.386 GB, free: 14.25 MB / 1.123 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01446/1.181, allocations: 7.767 MB / 1.393 GB, free: 6.41 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/1.181, allocations: 16 kB / 1.393 GB, free: 6.395 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/1.181, allocations: 16 kB / 1.393 GB, free: 6.379 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009483/1.191, allocations: 3.221 MB / 1.396 GB, free: 3.141 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/1.193, allocations: 399.3 kB / 1.397 GB, free: 2.75 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04465/1.237, allocations: 33.9 MB / 1.43 GB, free: 4 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/1.24, allocations: 167.9 kB / 1.43 GB, free: 15.84 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004341/1.241, allocations: 104 kB / 1.43 GB, free: 15.73 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003147/1.244, allocations: 1.797 MB / 1.432 GB, free: 13.93 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007627/1.245, allocations: 353.8 kB / 1.432 GB, free: 13.58 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/1.259, allocations: 7.36 MB / 1.439 GB, free: 6.125 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/1.259, allocations: 28 kB / 1.44 GB, free: 6.098 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.706e-05/1.259, allocations: 28 kB / 1.44 GB, free: 6.07 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.118e-05/1.259, allocations: 11.95 kB / 1.44 GB, free: 6.059 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02513/1.284, allocations: 12.93 MB / 1.452 GB, free: 8.953 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/1.284, allocations: 12 kB / 1.452 GB, free: 8.941 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000926/1.285, allocations: 227.6 kB / 1.452 GB, free: 8.719 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008013/1.293, allocations: 2.853 MB / 1.455 GB, free: 5.848 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/1.293, allocations: 48 kB / 1.455 GB, free: 5.801 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04247/1.336, allocations: 32.69 MB / 1.487 GB, free: 4.25 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/1.336, allocations: 11.94 kB / 1.487 GB, free: 4.238 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/1.348, allocations: 6.908 MB / 1.494 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001896/1.35, allocations: 0.7917 MB / 1.495 GB, free: 12.3 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007597/1.351, allocations: 59.98 kB / 1.495 GB, free: 12.25 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/1.353, allocations: 163.8 kB / 1.495 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008267/1.354, allocations: 253.4 kB / 1.495 GB, free: 11.84 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/1.354, allocations: 76 kB / 1.495 GB, free: 11.76 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002472/1.357, allocations: 1.525 MB / 1.497 GB, free: 10.23 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.6e-07/1.357, allocations: 0 / 1.497 GB, free: 10.23 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004395/1.361, allocations: 1.371 MB / 1.498 GB, free: 8.863 MB / 1.232 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01241/1.373, allocations: 7.537 MB / 1.505 GB, free: 1.105 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01183/1.385, allocations: 6.943 MB / 1.512 GB, free: 10.07 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.385, allocations: 4 kB / 1.512 GB, free: 10.07 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.007748/1.393, allocations: 4.433 MB / 1.517 GB, free: 5.559 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005128/1.398, allocations: 1.108 MB / 1.518 GB, free: 4.484 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5898/1.988, allocations: 39.18 MB / 1.556 GB, free: 352.9 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004023/1.992, allocations: 3.639 MB / 1.559 GB, free: 352.1 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00184/1.994, allocations: 0.5568 MB / 1.56 GB, free: 352 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/1.996, allocations: 1.972 MB / 1.562 GB, free: 352 MB / 1.279 GB Notification: Performance of SimCode: time 1.082e-06/1.996, allocations: 0 / 1.562 GB, free: 352 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1473/2.143, allocations: 111.6 MB / 1.671 GB, free: 262.8 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.15/18.29, allocations: 8.469 kB / 1.671 GB, free: 262.8 MB / 1.279 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_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_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches