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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001225/0.001225, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00136/0.00136, allocations: 191.7 kB / 16.13 MB, free: 6.695 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.497/2.497, allocations: 461.9 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 61.39 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.233, allocations: 157.4 MB / 1.052 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.006314/0.2393, allocations: 5.238 MB / 1.057 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002439/0.2418, allocations: 1.691 MB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.242, allocations: 16 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.2432, allocations: 498.2 kB / 1.059 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004539/0.2437, allocations: 235.2 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.2442, allocations: 203.7 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001921/0.2461, allocations: 2.612 MB / 1.062 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003464/0.2496, allocations: 2.9 MB / 1.065 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008706/0.2504, allocations: 0.6506 MB / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.2517, allocations: 0.9624 MB / 1.067 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002529/0.2519, allocations: 136 kB / 1.067 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005731/0.2525, allocations: 283.7 kB / 1.067 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006848/0.2532, allocations: 0.6862 MB / 1.068 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0009931/0.2542, allocations: 0.6537 MB / 1.069 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002239/0.2564, allocations: 2.61 MB / 1.071 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2565, allocations: 0 / 1.071 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2565, allocations: 0 / 1.071 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.45e-05/0.2566, allocations: 0 / 1.071 GB, free: 4.82 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.002864/0.2594, allocations: 1.371 MB / 1.072 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.2595, allocations: 12.03 kB / 1.072 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003834/0.2599, allocations: 214.3 kB / 1.073 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.2614, allocations: 299.3 kB / 1.073 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.2625, allocations: 0.7097 MB / 1.074 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.081e-05/0.2625, allocations: 94.86 kB / 1.074 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.2627, allocations: 116.4 kB / 1.074 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00307/0.2658, allocations: 2.137 MB / 1.076 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.2658, allocations: 0 / 1.076 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.266, allocations: 55.98 kB / 1.076 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.088e-05/0.266, allocations: 58.06 kB / 1.076 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.2686, allocations: 1.871 MB / 1.078 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007498/0.2761, allocations: 7.74 MB / 1.085 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.2763, allocations: 126.4 kB / 1.086 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.378e-05/0.2764, allocations: 79.52 kB / 1.086 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.901e-05/0.2765, allocations: 89.09 kB / 1.086 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.2765, allocations: 46.44 kB / 1.086 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.2765, allocations: 0 / 1.086 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0004702/0.277, allocations: 264.8 kB / 1.086 GB, free: 4.715 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.277, allocations: 136.5 kB / 1.086 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009426/0.278, allocations: 0.9083 MB / 1.087 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.278, allocations: 29.7 kB / 1.087 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/0.2784, allocations: 0.7629 MB / 1.088 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.2785, allocations: 59.53 kB / 1.088 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002928/0.2788, allocations: 266.4 kB / 1.088 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.2789, allocations: 370.8 kB / 1.088 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/0.2794, allocations: 422.3 kB / 1.089 GB, free: 1.711 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008739/0.2803, allocations: 1.165 MB / 1.09 GB, free: 176 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.2817, allocations: 1.597 MB / 1.092 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.2817, allocations: 8 kB / 1.092 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001935/0.2836, allocations: 1.542 MB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.2837, allocations: 16 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.2837, allocations: 28 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.428e-05/0.2837, allocations: 36 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007175/0.2845, allocations: 287.4 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.663e-05/0.2845, allocations: 51.8 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000728/0.2852, allocations: 194.9 kB / 1.094 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-05/0.2853, allocations: 72 kB / 1.094 GB, free: 11.98 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.0005822/0.2859, allocations: 0.6354 MB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.2861, allocations: 63.34 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.2863, allocations: 137.6 kB / 1.095 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.2863, allocations: 4 kB / 1.095 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2863, allocations: 0 / 1.095 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2863, allocations: 0 / 1.095 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008855/0.2872, allocations: 0.7745 MB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2872, allocations: 0 / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.2872, allocations: 11.92 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2873, allocations: 0 / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.2873, allocations: 0 / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.2873, allocations: 4 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2873, allocations: 7.938 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.2875, allocations: 369.4 kB / 1.096 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.2876, allocations: 124.5 kB / 1.096 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.2877, allocations: 7.906 kB / 1.096 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.2879, allocations: 11.98 kB / 1.096 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.288, allocations: 15.92 kB / 1.096 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.288, allocations: 0 / 1.096 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006599/0.2886, allocations: 0.6434 MB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.2886, allocations: 0 / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009321/0.2896, allocations: 282.9 kB / 1.097 GB, free: 8.781 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.0004343/0.29, allocations: 0.9057 MB / 1.098 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008355/0.2909, allocations: 0.7193 MB / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2909, allocations: 0 / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.316e-05/0.2909, allocations: 16 kB / 1.098 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.2914, allocations: 40.55 kB / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008356/0.2998, allocations: 8.574 MB / 1.107 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009008/0.3007, allocations: 1.277 MB / 1.108 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007141/0.3014, allocations: 365.2 kB / 1.108 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.3017, allocations: 291.3 kB / 1.109 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/0.3017, allocations: 0 / 1.109 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.536/0.8377, allocations: 13.14 MB / 1.121 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/0.838, allocations: 244.4 kB / 1.122 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.572, allocations: 0 / 1.122 GB, free: 14.48 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