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.005399/0.005399, allocations: 98.92 kB / 15.73 MB, free: 6.055 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.00125/0.00125, allocations: 202.2 kB / 16.68 MB, free: 5.977 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.544/2.544, allocations: 437.1 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2913, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.006953/0.2983, allocations: 5.21 MB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002686/0.301, allocations: 1.683 MB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.3013, allocations: 19.94 kB / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.3029, allocations: 0.5251 MB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006015/0.3035, allocations: 243 kB / 1.174 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.3041, allocations: 239.5 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001544/0.3057, allocations: 1.68 MB / 1.176 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002792/0.3085, allocations: 2.528 MB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009455/0.3094, allocations: 0.7793 MB / 1.179 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.3108, allocations: 0.9312 MB / 1.18 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000394/0.3112, allocations: 196 kB / 1.18 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007029/0.3119, allocations: 315.7 kB / 1.18 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008025/0.3127, allocations: 0.7331 MB / 1.181 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.3137, allocations: 0.7045 MB / 1.182 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002304/0.3161, allocations: 2.664 MB / 1.184 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3161, allocations: 3.984 kB / 1.184 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3161, allocations: 0 / 1.184 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.806e-05/0.3162, allocations: 0 / 1.184 GB, free: 4.773 MB / 0.9356 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.002815/0.319, allocations: 1.389 MB / 1.186 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.319, allocations: 8.031 kB / 1.186 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002396/0.3193, allocations: 206.3 kB / 1.186 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.3208, allocations: 303.9 kB / 1.186 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.3221, allocations: 0.7311 MB / 1.187 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.606e-05/0.3221, allocations: 94.88 kB / 1.187 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.3223, allocations: 120.4 kB / 1.187 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002919/0.3252, allocations: 2.137 MB / 1.189 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.3253, allocations: 4 kB / 1.189 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.3254, allocations: 52 kB / 1.189 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-05/0.3255, allocations: 58.06 kB / 1.189 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/0.328, allocations: 1.87 MB / 1.191 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00791/0.3359, allocations: 7.68 MB / 1.198 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.3361, allocations: 126.3 kB / 1.199 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.78e-05/0.3362, allocations: 75.52 kB / 1.199 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.3363, allocations: 101.1 kB / 1.199 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.3363, allocations: 34.5 kB / 1.199 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.963e-06/0.3363, allocations: 0 / 1.199 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.000501/0.3368, allocations: 277.1 kB / 1.199 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.3369, allocations: 136.8 kB / 1.199 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009455/0.3379, allocations: 0.9124 MB / 1.2 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.3379, allocations: 29.7 kB / 1.2 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/0.3383, allocations: 0.7855 MB / 1.201 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.3384, allocations: 59.69 kB / 1.201 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/0.3386, allocations: 266.7 kB / 1.201 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3388, allocations: 366.8 kB / 1.202 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.3393, allocations: 430.3 kB / 1.202 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009502/0.3403, allocations: 1.173 MB / 1.203 GB, free: 112 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.3417, allocations: 1.595 MB / 1.205 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.3417, allocations: 8 kB / 1.205 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00191/0.3436, allocations: 1.542 MB / 1.206 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.3437, allocations: 22.97 kB / 1.206 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.3437, allocations: 24 kB / 1.206 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.753e-05/0.3438, allocations: 36 kB / 1.206 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007795/0.3445, allocations: 291.4 kB / 1.206 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-05/0.3446, allocations: 47.8 kB / 1.207 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007236/0.3453, allocations: 198.7 kB / 1.207 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.672e-05/0.3454, allocations: 72 kB / 1.207 GB, free: 11.91 MB / 0.9669 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.0006302/0.346, allocations: 0.6374 MB / 1.207 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.3462, allocations: 59.67 kB / 1.207 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.3464, allocations: 138 kB / 1.208 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3464, allocations: 0 / 1.208 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3464, allocations: 0 / 1.208 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3464, allocations: 3.984 kB / 1.208 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000918/0.3474, allocations: 0.7706 MB / 1.208 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3474, allocations: 0 / 1.208 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.3474, allocations: 11.92 kB / 1.208 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3474, allocations: 7.938 kB / 1.208 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.3474, allocations: 4 kB / 1.208 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3475, allocations: 3.938 kB / 1.208 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3475, allocations: 3.984 kB / 1.208 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.3477, allocations: 365.7 kB / 1.209 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.3478, allocations: 140.8 kB / 1.209 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.623e-05/0.3479, allocations: 3.984 kB / 1.209 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.3482, allocations: 11.98 kB / 1.209 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.3482, allocations: 3.938 kB / 1.209 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.3482, allocations: 4 kB / 1.209 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006526/0.3489, allocations: 0.6395 MB / 1.21 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3489, allocations: 0 / 1.21 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00096/0.3498, allocations: 287.2 kB / 1.21 GB, free: 8.715 MB / 0.9669 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.0004788/0.3503, allocations: 0.9021 MB / 1.211 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008801/0.3512, allocations: 0.7239 MB / 1.211 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3512, allocations: 0 / 1.211 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-05/0.3512, allocations: 16.67 kB / 1.211 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.3517, allocations: 47.19 kB / 1.211 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0081/0.3599, allocations: 8.086 MB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008902/0.3608, allocations: 1.284 MB / 1.221 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006541/0.3614, allocations: 365.2 kB / 1.221 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.3617, allocations: 287.3 kB / 1.221 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of SimCode: time 6.72e-07/0.3618, allocations: 0 / 1.221 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.3915, allocations: 13.79 MB / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.333, allocations: 17 kB / 1.235 GB, free: 14.48 MB / 0.9981 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