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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001694/0.001695, allocations: 108 kB / 15.61 MB, free: 128 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.002099/0.002099, allocations: 198 kB / 16.53 MB, free: 6.668 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.711/2.711, allocations: 469.4 MB / 0.742 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 69.56 kB / 0.9083 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2913, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007316/0.2987, allocations: 5.208 MB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00261/0.3013, allocations: 1.687 MB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.3016, allocations: 16 kB / 1.07 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.3031, allocations: 0.5367 MB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000555/0.3036, allocations: 239 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/0.3042, allocations: 231.5 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.3058, allocations: 1.676 MB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002947/0.3088, allocations: 2.555 MB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009571/0.3097, allocations: 0.7639 MB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.3111, allocations: 0.9311 MB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0004617/0.3115, allocations: 192 kB / 1.077 GB, free: 416 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000742/0.3123, allocations: 323.7 kB / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000889/0.3132, allocations: 0.7293 MB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.3143, allocations: 0.7045 MB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.3168, allocations: 2.645 MB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3168, allocations: 0 / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3168, allocations: 0 / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.965e-05/0.3169, allocations: 0 / 1.082 GB, free: 12 MB / 0.8419 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.002916/0.3198, allocations: 1.371 MB / 1.083 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3199, allocations: 12.03 kB / 1.083 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002828/0.3202, allocations: 206.3 kB / 1.083 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.3217, allocations: 307.3 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009885/0.3227, allocations: 0.7058 MB / 1.084 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.3228, allocations: 94.86 kB / 1.084 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.323, allocations: 120.4 kB / 1.084 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002947/0.3259, allocations: 2.141 MB / 1.086 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.3259, allocations: 0 / 1.086 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.3261, allocations: 52 kB / 1.087 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-05/0.3262, allocations: 58.05 kB / 1.087 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002594/0.3288, allocations: 1.866 MB / 1.088 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007766/0.3365, allocations: 7.752 MB / 1.096 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.3367, allocations: 122.4 kB / 1.096 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.3368, allocations: 75.52 kB / 1.096 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.3369, allocations: 93.09 kB / 1.096 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.3369, allocations: 38.5 kB / 1.096 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.994e-06/0.3369, allocations: 0 / 1.096 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0004751/0.3374, allocations: 268.8 kB / 1.097 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.3375, allocations: 136.9 kB / 1.097 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009582/0.3385, allocations: 0.9083 MB / 1.098 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.3385, allocations: 25.7 kB / 1.098 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/0.3389, allocations: 0.7664 MB / 1.098 GB, free: 10 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.3389, allocations: 55.53 kB / 1.098 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002993/0.3392, allocations: 270.4 kB / 1.099 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3394, allocations: 366.8 kB / 1.099 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.3399, allocations: 426.3 kB / 1.099 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009359/0.3409, allocations: 1.169 MB / 1.101 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.3423, allocations: 1.597 MB / 1.102 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.3423, allocations: 8 kB / 1.102 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001989/0.3443, allocations: 1.542 MB / 1.104 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.3443, allocations: 18.5 kB / 1.104 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.3444, allocations: 28 kB / 1.104 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.994e-05/0.3444, allocations: 36 kB / 1.104 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007636/0.3452, allocations: 287.5 kB / 1.104 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.86e-05/0.3452, allocations: 55.78 kB / 1.104 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000744/0.346, allocations: 186.3 kB / 1.104 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/0.3461, allocations: 72 kB / 1.104 GB, free: 3.16 MB / 0.8575 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.0006146/0.3467, allocations: 0.638 MB / 1.105 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.3468, allocations: 55.34 kB / 1.105 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.3471, allocations: 141.6 kB / 1.105 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3471, allocations: 0 / 1.105 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3471, allocations: 4 kB / 1.105 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3471, allocations: 0 / 1.105 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009704/0.3481, allocations: 0.7746 MB / 1.106 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3481, allocations: 8 kB / 1.106 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.3482, allocations: 8 kB / 1.106 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3482, allocations: 0 / 1.106 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.3482, allocations: 0 / 1.106 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3482, allocations: 4 kB / 1.106 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3482, allocations: 0 / 1.106 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.3484, allocations: 377.3 kB / 1.106 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.3485, allocations: 124.5 kB / 1.106 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.835e-05/0.3486, allocations: 7.906 kB / 1.106 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.3489, allocations: 11.97 kB / 1.106 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.3489, allocations: 8 kB / 1.106 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.3489, allocations: 0 / 1.106 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006812/0.3496, allocations: 0.6434 MB / 1.107 GB, free: 260 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3496, allocations: 0 / 1.107 GB, free: 260 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00097/0.3506, allocations: 279.1 kB / 1.107 GB, free: 15.98 MB / 0.8731 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.0004758/0.3511, allocations: 0.9018 MB / 1.108 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008718/0.352, allocations: 0.7199 MB / 1.109 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.352, allocations: 1 kB / 1.109 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.758e-05/0.352, allocations: 24.11 kB / 1.109 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.3525, allocations: 38.53 kB / 1.109 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008426/0.361, allocations: 8.185 MB / 1.117 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009058/0.3619, allocations: 1.28 MB / 1.118 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007424/0.3627, allocations: 361.2 kB / 1.119 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/0.363, allocations: 287.3 kB / 1.119 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/0.363, allocations: 0 / 1.119 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.3929, allocations: 13.4 MB / 1.132 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/7.924, allocations: 13.14 kB / 1.132 GB, free: 6.035 MB / 0.8887 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 50 --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