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.005601/0.005601, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.001202/0.001203, allocations: 193.6 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.306/2.306, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.02 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2618, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.006961/0.2688, allocations: 5.2 MB / 1.093 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002702/0.2715, allocations: 1.687 MB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.2718, allocations: 16 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.2733, allocations: 0.5147 MB / 1.095 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005812/0.2739, allocations: 251 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006489/0.2746, allocations: 235.5 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001651/0.2762, allocations: 1.672 MB / 1.097 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002942/0.2792, allocations: 2.534 MB / 1.099 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.2803, allocations: 0.7677 MB / 1.1 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.2818, allocations: 0.9351 MB / 1.101 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004811/0.2822, allocations: 192 kB / 1.101 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008257/0.2831, allocations: 323.7 kB / 1.101 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0009814/0.2841, allocations: 0.7293 MB / 1.102 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.2854, allocations: 0.7161 MB / 1.103 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002675/0.2881, allocations: 2.65 MB / 1.105 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2881, allocations: 0 / 1.105 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2881, allocations: 0 / 1.105 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.637e-05/0.2882, allocations: 0 / 1.105 GB, free: 15.53 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.003056/0.2912, allocations: 1.367 MB / 1.107 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.2913, allocations: 12.02 kB / 1.107 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002673/0.2916, allocations: 214.2 kB / 1.107 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.293, allocations: 307.3 kB / 1.107 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.2943, allocations: 0.7136 MB / 1.108 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.252e-05/0.2944, allocations: 94.86 kB / 1.108 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.2946, allocations: 120.4 kB / 1.108 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/0.2975, allocations: 2.141 MB / 1.11 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.2976, allocations: 4 kB / 1.11 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.2977, allocations: 48 kB / 1.11 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.389e-05/0.2978, allocations: 58.06 kB / 1.11 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.3004, allocations: 1.867 MB / 1.112 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008276/0.3087, allocations: 7.674 MB / 1.12 GB, free: 160 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.3089, allocations: 122.4 kB / 1.12 GB, free: 0 / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.309, allocations: 75.52 kB / 1.12 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.3091, allocations: 97.03 kB / 1.12 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.3091, allocations: 34.56 kB / 1.12 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3092, allocations: 0 / 1.12 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of matching and sorting (n=9): time 0.0005045/0.3097, allocations: 273.1 kB / 1.12 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.3097, allocations: 132.5 kB / 1.12 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009945/0.3107, allocations: 0.9122 MB / 1.121 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.3108, allocations: 25.7 kB / 1.121 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/0.3112, allocations: 0.7625 MB / 1.122 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.3112, allocations: 51.53 kB / 1.122 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.3116, allocations: 270.4 kB / 1.122 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3117, allocations: 370.8 kB / 1.123 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/0.3122, allocations: 430.3 kB / 1.123 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.3133, allocations: 1.169 MB / 1.124 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.3148, allocations: 1.593 MB / 1.126 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.3148, allocations: 12 kB / 1.126 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001957/0.3168, allocations: 1.547 MB / 1.127 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.3168, allocations: 16 kB / 1.127 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.3168, allocations: 28.03 kB / 1.127 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.906e-05/0.3169, allocations: 40 kB / 1.127 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007534/0.3176, allocations: 283.5 kB / 1.128 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.216e-05/0.3177, allocations: 55.78 kB / 1.128 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007261/0.3184, allocations: 190.3 kB / 1.128 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/0.3185, allocations: 68 kB / 1.128 GB, free: 6.742 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.0006486/0.3191, allocations: 0.6413 MB / 1.129 GB, free: 6.09 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.3193, allocations: 59.34 kB / 1.129 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.3195, allocations: 133.6 kB / 1.129 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3195, allocations: 0 / 1.129 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3195, allocations: 0 / 1.129 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3196, allocations: 4 kB / 1.129 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009605/0.3205, allocations: 0.7744 MB / 1.13 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3205, allocations: 4 kB / 1.13 GB, free: 5.047 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.3206, allocations: 4 kB / 1.13 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3206, allocations: 4 kB / 1.13 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.3206, allocations: 0 / 1.13 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3206, allocations: 0 / 1.13 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3206, allocations: 0 / 1.13 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.3209, allocations: 373.3 kB / 1.13 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.321, allocations: 132.5 kB / 1.13 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/0.3211, allocations: 3.906 kB / 1.13 GB, free: 4.504 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.3213, allocations: 15.97 kB / 1.13 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.3214, allocations: 0 / 1.13 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3214, allocations: 8 kB / 1.13 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000707/0.3221, allocations: 0.6434 MB / 1.131 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3221, allocations: 0 / 1.131 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009539/0.3231, allocations: 278.9 kB / 1.131 GB, free: 3.562 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.0005478/0.3236, allocations: 0.904 MB / 1.132 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008711/0.3245, allocations: 0.7206 MB / 1.133 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3245, allocations: 4 kB / 1.133 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.71e-05/0.3245, allocations: 24.05 kB / 1.133 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.325, allocations: 39 kB / 1.133 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008643/0.3337, allocations: 8.076 MB / 1.141 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009794/0.3347, allocations: 1.28 MB / 1.142 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006755/0.3354, allocations: 361.2 kB / 1.142 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.3357, allocations: 291.3 kB / 1.142 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of SimCode: time 1.572e-06/0.3357, allocations: 0 / 1.142 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.3642, allocations: 13.8 MB / 1.156 GB, free: 9.348 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.321, allocations: 15.62 kB / 1.156 GB, free: 9.332 MB / 0.92 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