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.001537/0.001537, 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.001804/0.001804, allocations: 193.7 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 60.02 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3315, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.00841/0.3399, allocations: 5.205 MB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003074/0.343, allocations: 1.699 MB / 1.06 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003401/0.3434, allocations: 19.94 kB / 1.06 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.3451, allocations: 0.5205 MB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006256/0.3457, allocations: 243 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006099/0.3464, allocations: 235.5 kB / 1.061 GB, free: 336 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.3482, allocations: 1.68 MB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003138/0.3513, allocations: 2.548 MB / 1.065 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.3525, allocations: 0.7678 MB / 1.066 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.354, allocations: 0.9312 MB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0004347/0.3544, allocations: 188 kB / 1.067 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007745/0.3552, allocations: 327.7 kB / 1.067 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0008482/0.3561, allocations: 0.7293 MB / 1.068 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.3572, allocations: 0.7161 MB / 1.068 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002412/0.3596, allocations: 2.638 MB / 1.071 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3596, allocations: 0 / 1.071 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3597, allocations: 0 / 1.071 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.427e-05/0.3597, allocations: 0 / 1.071 GB, free: 5.766 MB / 0.8262 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.003106/0.3628, allocations: 1.371 MB / 1.072 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.3629, allocations: 12.62 kB / 1.072 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003749/0.3633, allocations: 202.3 kB / 1.072 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.3649, allocations: 307.3 kB / 1.073 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.3662, allocations: 0.7174 MB / 1.073 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.477e-05/0.3663, allocations: 90.88 kB / 1.074 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.3665, allocations: 124.4 kB / 1.074 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003501/0.37, allocations: 2.137 MB / 1.076 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.37, allocations: 0 / 1.076 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.3702, allocations: 51.98 kB / 1.076 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-05/0.3703, allocations: 58.06 kB / 1.076 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002983/0.3732, allocations: 1.87 MB / 1.078 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009352/0.3826, allocations: 7.74 MB / 1.085 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.3828, allocations: 126.4 kB / 1.085 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3829, allocations: 83.5 kB / 1.085 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.383, allocations: 81.11 kB / 1.085 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.3831, allocations: 46.48 kB / 1.086 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.944e-06/0.3831, allocations: 0 / 1.086 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0005788/0.3837, allocations: 261.2 kB / 1.086 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.611e-05/0.3838, allocations: 144.4 kB / 1.086 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.385, allocations: 0.9083 MB / 1.087 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.385, allocations: 25.7 kB / 1.087 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006768/0.3857, allocations: 0.7625 MB / 1.088 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.468e-05/0.3858, allocations: 55.53 kB / 1.088 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003455/0.3862, allocations: 270.4 kB / 1.088 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.3864, allocations: 370.8 kB / 1.088 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/0.387, allocations: 430.3 kB / 1.089 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.3882, allocations: 1.165 MB / 1.09 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.3899, allocations: 1.598 MB / 1.091 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/0.3899, allocations: 16 kB / 1.091 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002345/0.3923, allocations: 1.535 MB / 1.093 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.3923, allocations: 21.89 kB / 1.093 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.394e-05/0.3923, allocations: 32 kB / 1.093 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.416e-05/0.3924, allocations: 36 kB / 1.093 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008495/0.3933, allocations: 279.4 kB / 1.093 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.455e-05/0.3933, allocations: 59.77 kB / 1.093 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008202/0.3941, allocations: 190.3 kB / 1.093 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.586e-05/0.3942, allocations: 68 kB / 1.094 GB, free: 12.92 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.000743/0.395, allocations: 0.6426 MB / 1.094 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.3951, allocations: 55.34 kB / 1.094 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.3954, allocations: 133.6 kB / 1.094 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3954, allocations: 0 / 1.094 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3954, allocations: 4 kB / 1.094 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3955, allocations: 3.938 kB / 1.094 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3965, allocations: 0.7784 MB / 1.095 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3965, allocations: 4 kB / 1.095 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.3966, allocations: 7.938 kB / 1.095 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3966, allocations: 3.984 kB / 1.095 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.3966, allocations: 0 / 1.095 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3966, allocations: 4 kB / 1.095 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3966, allocations: 0 / 1.095 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.3969, allocations: 369.4 kB / 1.095 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.397, allocations: 124.5 kB / 1.096 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/0.3971, allocations: 4 kB / 1.096 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.3974, allocations: 11.97 kB / 1.096 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.3974, allocations: 7.938 kB / 1.096 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.3974, allocations: 4 kB / 1.096 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007763/0.3982, allocations: 0.6434 MB / 1.096 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3982, allocations: 4 kB / 1.096 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00108/0.3993, allocations: 282.9 kB / 1.097 GB, free: 9.734 MB / 0.8575 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.0006053/0.3999, allocations: 0.8979 MB / 1.097 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.401, allocations: 0.7206 MB / 1.098 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.401, allocations: 8 kB / 1.098 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.015e-05/0.4011, allocations: 19.98 kB / 1.098 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.4016, allocations: 35 kB / 1.098 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.4117, allocations: 8.174 MB / 1.106 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.4129, allocations: 1.28 MB / 1.107 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008486/0.4137, allocations: 361.2 kB / 1.108 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.4141, allocations: 291.3 kB / 1.108 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of SimCode: time 9.92e-07/0.4141, allocations: 0 / 1.108 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5474/0.9615, allocations: 13.39 MB / 1.121 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/13.23, allocations: 8.25 kB / 1.121 GB, free: 15.81 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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