Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_latest_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.007464/0.007464, allocations: 98.89 kB / 15.73 MB, free: 6.031 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.001947/0.001947, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 482.4 MB / 0.7548 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 64.17 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2911, allocations: 162.2 MB / 1.241 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007404/0.2985, allocations: 5.205 MB / 1.247 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002621/0.3012, allocations: 1.691 MB / 1.248 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.3013, allocations: 19.94 kB / 1.248 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.3027, allocations: 0.5212 MB / 1.249 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004847/0.3032, allocations: 243 kB / 1.249 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005222/0.3038, allocations: 235.5 kB / 1.249 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001731/0.3055, allocations: 1.672 MB / 1.251 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002882/0.3084, allocations: 2.532 MB / 1.253 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009391/0.3093, allocations: 0.7754 MB / 1.254 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.3105, allocations: 0.9273 MB / 1.255 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002508/0.3108, allocations: 192 kB / 1.255 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005643/0.3113, allocations: 323.7 kB / 1.255 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000746/0.3121, allocations: 0.7292 MB / 1.256 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007577/0.3129, allocations: 0.72 MB / 1.257 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002496/0.3154, allocations: 2.656 MB / 1.259 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3154, allocations: 0 / 1.259 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3154, allocations: 0 / 1.259 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.3154, allocations: 0 / 1.259 GB, free: 6.805 MB / 0.9825 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.002412/0.3178, allocations: 1.389 MB / 1.261 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3179, allocations: 8.031 kB / 1.261 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002788/0.3182, allocations: 206.3 kB / 1.261 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.3197, allocations: 311.9 kB / 1.261 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.3208, allocations: 0.7253 MB / 1.262 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.3209, allocations: 90.88 kB / 1.262 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.3211, allocations: 124.4 kB / 1.262 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003299/0.3244, allocations: 2.133 MB / 1.264 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.3245, allocations: 0 / 1.264 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.3246, allocations: 55.97 kB / 1.264 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.816e-05/0.3247, allocations: 62.06 kB / 1.264 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00295/0.3276, allocations: 1.866 MB / 1.266 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00918/0.3368, allocations: 7.687 MB / 1.274 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.337, allocations: 126.3 kB / 1.274 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.3371, allocations: 75.52 kB / 1.274 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.3373, allocations: 93.09 kB / 1.274 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.3373, allocations: 38.5 kB / 1.274 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.3373, allocations: 3.938 kB / 1.274 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0005227/0.3378, allocations: 277 kB / 1.274 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/0.3379, allocations: 128.9 kB / 1.274 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.3391, allocations: 0.9202 MB / 1.275 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3391, allocations: 25.7 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/0.3397, allocations: 0.7933 MB / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.3397, allocations: 51.72 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/0.3401, allocations: 270.7 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.3403, allocations: 370.8 kB / 1.277 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006117/0.3409, allocations: 426.3 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.3422, allocations: 1.173 MB / 1.278 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.344, allocations: 1.598 MB / 1.28 GB, free: 168 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/0.344, allocations: 8 kB / 1.28 GB, free: 160 kB / 0.9981 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002277/0.3463, allocations: 1.538 MB / 1.281 GB, free: 14.61 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.3463, allocations: 16 kB / 1.281 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/0.3464, allocations: 24.84 kB / 1.281 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.945e-05/0.3464, allocations: 36 kB / 1.282 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008156/0.3472, allocations: 287.4 kB / 1.282 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.767e-05/0.3473, allocations: 59.78 kB / 1.282 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007683/0.3481, allocations: 198.7 kB / 1.282 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.874e-05/0.3482, allocations: 68.25 kB / 1.282 GB, free: 13.93 MB / 1.014 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.0007244/0.3489, allocations: 0.6374 MB / 1.283 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.349, allocations: 59.66 kB / 1.283 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.3493, allocations: 137.7 kB / 1.283 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.3493, allocations: 0 / 1.283 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3493, allocations: 3.984 kB / 1.283 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.3493, allocations: 4 kB / 1.283 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.3504, allocations: 0.7705 MB / 1.284 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3504, allocations: 3.938 kB / 1.284 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.3504, allocations: 4 kB / 1.284 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3505, allocations: 11.94 kB / 1.284 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.3505, allocations: 0 / 1.284 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3505, allocations: 0 / 1.284 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3505, allocations: 0 / 1.284 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.3508, allocations: 369.7 kB / 1.284 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.3509, allocations: 136.8 kB / 1.284 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/0.351, allocations: 4 kB / 1.284 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.3513, allocations: 19.91 kB / 1.284 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.3513, allocations: 0 / 1.284 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.3513, allocations: 4 kB / 1.284 GB, free: 11.66 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008194/0.3521, allocations: 0.6434 MB / 1.285 GB, free: 11.01 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3521, allocations: 0 / 1.285 GB, free: 11.01 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009873/0.3531, allocations: 287.1 kB / 1.285 GB, free: 10.73 MB / 1.014 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.000622/0.3538, allocations: 0.9079 MB / 1.286 GB, free: 9.797 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.3548, allocations: 0.7203 MB / 1.287 GB, free: 9.082 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3548, allocations: 4 kB / 1.287 GB, free: 9.078 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-05/0.3548, allocations: 11.98 kB / 1.287 GB, free: 9.066 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.3553, allocations: 43.5 kB / 1.287 GB, free: 9.027 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009884/0.3652, allocations: 8.098 MB / 1.295 GB, free: 92 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.3664, allocations: 1.28 MB / 1.296 GB, free: 14.78 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007263/0.3671, allocations: 365.2 kB / 1.296 GB, free: 14.42 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003756/0.3675, allocations: 291.3 kB / 1.297 GB, free: 14.13 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3675, allocations: 0 / 1.297 GB, free: 14.13 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03722/0.4047, allocations: 13.79 MB / 1.31 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.297/8.702, allocations: 17.19 kB / 1.31 GB, free: 496 kB / 1.029 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches