Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_9_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.006161/0.006161, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001469/0.001469, 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.143/2.143, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8066/0.8079, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007161/0.8152, allocations: 5.208 MB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002797/0.818, allocations: 1.689 MB / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.8182, allocations: 14.16 kB / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.8196, allocations: 0.5186 MB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005096/0.8201, allocations: 246.5 kB / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.8207, allocations: 234.5 kB / 1.095 GB, free: 152 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00207/0.8228, allocations: 1.676 MB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003278/0.8261, allocations: 2.523 MB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.8275, allocations: 0.7827 MB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.8288, allocations: 0.9334 MB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002282/0.829, allocations: 189.4 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006362/0.8297, allocations: 319.3 kB / 1.101 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000885/0.8306, allocations: 0.7345 MB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.8316, allocations: 0.7069 MB / 1.103 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003889/0.8355, allocations: 2.667 MB / 1.105 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8356, allocations: 0 / 1.105 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.266e-06/0.8356, allocations: 1.641 kB / 1.105 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.12e-05/0.8356, allocations: 0 / 1.105 GB, free: 12.09 MB / 0.8731 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.002963/0.8386, allocations: 1.393 MB / 1.107 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.8387, allocations: 9.906 kB / 1.107 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004084/0.8391, allocations: 207.9 kB / 1.107 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.8408, allocations: 314.9 kB / 1.107 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.8422, allocations: 0.7227 MB / 1.108 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.899e-05/0.8423, allocations: 96.77 kB / 1.108 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.8426, allocations: 116.3 kB / 1.108 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003958/0.8466, allocations: 2.136 MB / 1.11 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.8466, allocations: 0 / 1.11 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/0.8468, allocations: 54.83 kB / 1.11 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.953e-05/0.8469, allocations: 57.72 kB / 1.11 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003129/0.85, allocations: 1.866 MB / 1.112 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/0.8603, allocations: 7.68 MB / 1.12 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.8605, allocations: 130.5 kB / 1.12 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.86e-05/0.8606, allocations: 80.09 kB / 1.12 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.8608, allocations: 86.36 kB / 1.12 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.8609, allocations: 37.39 kB / 1.12 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.8609, allocations: 1.625 kB / 1.12 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9): time 0.0006442/0.8615, allocations: 279.8 kB / 1.12 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.8616, allocations: 132.4 kB / 1.12 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.8628, allocations: 0.9162 MB / 1.121 GB, free: 2.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.8628, allocations: 26.77 kB / 1.121 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005034/0.8634, allocations: 0.7955 MB / 1.122 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.409e-05/0.8634, allocations: 57.28 kB / 1.122 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/0.8638, allocations: 266.8 kB / 1.122 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.8639, allocations: 375.7 kB / 1.123 GB, free: 1.473 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006058/0.8646, allocations: 425.4 kB / 1.123 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.8658, allocations: 1.165 MB / 1.124 GB, free: 192 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.8675, allocations: 1.606 MB / 1.126 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.8676, allocations: 7.25 kB / 1.126 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00229/0.8699, allocations: 1.541 MB / 1.127 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.8699, allocations: 21.19 kB / 1.127 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.673e-05/0.8699, allocations: 27.02 kB / 1.127 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.127e-05/0.87, allocations: 35.91 kB / 1.128 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008854/0.8709, allocations: 279 kB / 1.128 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.078e-05/0.871, allocations: 52.64 kB / 1.128 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008643/0.8718, allocations: 195.5 kB / 1.128 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-05/0.8719, allocations: 72.3 kB / 1.128 GB, free: 14.03 MB / 0.8887 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.0008725/0.8728, allocations: 0.6412 MB / 1.129 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.873, allocations: 61.28 kB / 1.129 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.8732, allocations: 130.8 kB / 1.129 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.8732, allocations: 1.25 kB / 1.129 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8733, allocations: 1.219 kB / 1.129 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8733, allocations: 4.609 kB / 1.129 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.8745, allocations: 0.7777 MB / 1.13 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.8745, allocations: 2.281 kB / 1.13 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.8746, allocations: 4.922 kB / 1.13 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.8746, allocations: 1.125 kB / 1.13 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.8746, allocations: 1.5 kB / 1.13 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.8746, allocations: 1.828 kB / 1.13 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.8746, allocations: 5.156 kB / 1.13 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.8749, allocations: 372.8 kB / 1.13 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.8752, allocations: 129.9 kB / 1.13 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/0.8753, allocations: 3.109 kB / 1.13 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.8755, allocations: 12.34 kB / 1.13 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.8756, allocations: 6.656 kB / 1.13 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.8756, allocations: 1.031 kB / 1.13 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008489/0.8764, allocations: 0.6448 MB / 1.131 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8764, allocations: 4 kB / 1.131 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00118/0.8776, allocations: 287.2 kB / 1.131 GB, free: 12.39 MB / 0.8887 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.0006813/0.8783, allocations: 0.9092 MB / 1.132 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.8794, allocations: 0.7177 MB / 1.133 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.8794, allocations: 5.344 kB / 1.133 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.848e-05/0.8795, allocations: 19.91 kB / 1.133 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.88, allocations: 38.97 kB / 1.133 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.8907, allocations: 8.116 MB / 1.141 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/0.8922, allocations: 1.28 MB / 1.142 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001247/0.8935, allocations: 357.5 kB / 1.142 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005817/0.8941, allocations: 289.7 kB / 1.143 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of SimCode: time 9.22e-07/0.8941, allocations: 4 kB / 1.143 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04135/0.9355, allocations: 13.78 MB / 1.156 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.839, allocations: 9.422 kB / 1.156 GB, free: 15.43 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches