Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.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.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",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.001089/0.001089, allocations: 108 kB / 15.6 MB, free: 132 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.001198/0.001198, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.594/2.594, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 67.91 kB / 0.8694 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6255/0.6269, allocations: 151.6 MB / 1.017 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007377/0.6343, allocations: 5.206 MB / 1.023 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.6371, allocations: 1.68 MB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003124/0.6374, allocations: 19.94 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.6389, allocations: 0.5289 MB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005953/0.6395, allocations: 239 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.6401, allocations: 235.5 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001527/0.6417, allocations: 1.673 MB / 1.027 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002808/0.6445, allocations: 2.557 MB / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009016/0.6454, allocations: 0.7638 MB / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.6466, allocations: 0.9273 MB / 1.031 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003852/0.647, allocations: 192 kB / 1.031 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007172/0.6477, allocations: 319.7 kB / 1.031 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0008086/0.6486, allocations: 0.737 MB / 1.032 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.6496, allocations: 0.7122 MB / 1.033 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.6517, allocations: 2.641 MB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6517, allocations: 0 / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6517, allocations: 4 kB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.879e-05/0.6518, allocations: 0 / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.002491/0.6543, allocations: 1.376 MB / 1.037 GB, free: 14.52 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.6544, allocations: 12.03 kB / 1.037 GB, free: 14.5 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002241/0.6546, allocations: 206.3 kB / 1.037 GB, free: 14.29 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.656, allocations: 299.3 kB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009689/0.657, allocations: 0.7252 MB / 1.038 GB, free: 13.23 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.074e-05/0.6571, allocations: 86.88 kB / 1.038 GB, free: 13.15 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.6573, allocations: 124.4 kB / 1.038 GB, free: 13.03 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.6601, allocations: 2.137 MB / 1.04 GB, free: 10.85 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.6601, allocations: 0 / 1.04 GB, free: 10.85 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.6602, allocations: 55.98 kB / 1.04 GB, free: 10.79 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.175e-05/0.6603, allocations: 58.06 kB / 1.04 GB, free: 10.73 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.6628, allocations: 1.868 MB / 1.042 GB, free: 8.859 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007497/0.6703, allocations: 7.74 MB / 1.05 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.6705, allocations: 134.3 kB / 1.05 GB, free: 348 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.395e-05/0.6706, allocations: 75.52 kB / 1.05 GB, free: 260 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.753e-05/0.6707, allocations: 89.09 kB / 1.05 GB, free: 152 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.6707, allocations: 38.55 kB / 1.05 GB, free: 104 kB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.6707, allocations: 3.938 kB / 1.05 GB, free: 100 kB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0004741/0.6712, allocations: 264.8 kB / 1.05 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.6713, allocations: 140.4 kB / 1.05 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009425/0.6722, allocations: 0.9087 MB / 1.051 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.6723, allocations: 29.7 kB / 1.051 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.6727, allocations: 0.7586 MB / 1.052 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.6727, allocations: 55.53 kB / 1.052 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/0.673, allocations: 270.4 kB / 1.052 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6731, allocations: 370.8 kB / 1.053 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005128/0.6736, allocations: 426.3 kB / 1.053 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009115/0.6746, allocations: 1.165 MB / 1.054 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.676, allocations: 1.6 MB / 1.056 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.676, allocations: 11.94 kB / 1.056 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001934/0.6779, allocations: 1.535 MB / 1.057 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.678, allocations: 16 kB / 1.057 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.678, allocations: 31.98 kB / 1.057 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.765e-05/0.678, allocations: 36.75 kB / 1.057 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007712/0.6788, allocations: 279.4 kB / 1.058 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.802e-05/0.6789, allocations: 55.84 kB / 1.058 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007178/0.6796, allocations: 202.1 kB / 1.058 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/0.6797, allocations: 72 kB / 1.058 GB, free: 7.086 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 (147): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005771/0.6803, allocations: 0.6335 MB / 1.059 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.6804, allocations: 59.34 kB / 1.059 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.6806, allocations: 125.8 kB / 1.059 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.6806, allocations: 4 kB / 1.059 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.6806, allocations: 256 / 1.059 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.6806, allocations: 0 / 1.059 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000877/0.6815, allocations: 0.7783 MB / 1.06 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.6815, allocations: 4 kB / 1.06 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.6816, allocations: 7.938 kB / 1.06 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.6816, allocations: 4 kB / 1.06 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.6816, allocations: 4 kB / 1.06 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.6816, allocations: 7.938 kB / 1.06 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6816, allocations: 0 / 1.06 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.6818, allocations: 365.4 kB / 1.06 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.6819, allocations: 128.5 kB / 1.06 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.682, allocations: 8 kB / 1.06 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.6823, allocations: 15.97 kB / 1.06 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.6823, allocations: 0 / 1.06 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.6823, allocations: 48 / 1.06 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006625/0.683, allocations: 0.6473 MB / 1.061 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.483e-06/0.683, allocations: 0 / 1.061 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009349/0.6839, allocations: 278.9 kB / 1.061 GB, free: 3.922 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004687/0.6844, allocations: 0.9135 MB / 1.062 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008396/0.6852, allocations: 0.717 MB / 1.063 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6852, allocations: 0 / 1.063 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.311e-05/0.6853, allocations: 19.92 kB / 1.063 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.6858, allocations: 39.62 kB / 1.063 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00793/0.6937, allocations: 8.172 MB / 1.071 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008705/0.6946, allocations: 1.288 MB / 1.072 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0007195/0.6953, allocations: 357.2 kB / 1.072 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.6957, allocations: 287.3 kB / 1.073 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.6957, allocations: 4 kB / 1.073 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.7242, allocations: 13.39 MB / 1.086 GB, free: 10 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.206/7.93, allocations: 11.8 kB / 1.086 GB, free: 9.988 MB / 0.8419 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_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_Interfaces_Examples_WyeToDelta.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches