Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_10_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.001237/0.001237, 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.001224/0.001224, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.276/1.276, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.428/2.428, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.89 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5132, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.006396/0.5196, allocations: 5.236 MB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002268/0.5219, allocations: 1.687 MB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.522, allocations: 16 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.5231, allocations: 490.2 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.5235, allocations: 235.3 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.5238, allocations: 211.6 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001791/0.5256, allocations: 2.612 MB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003078/0.5287, allocations: 2.887 MB / 1.03 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005944/0.5293, allocations: 0.6466 MB / 1.03 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008541/0.5302, allocations: 0.9662 MB / 1.031 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001746/0.5304, allocations: 136 kB / 1.031 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004444/0.5308, allocations: 283.8 kB / 1.032 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005224/0.5314, allocations: 0.6901 MB / 1.032 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005446/0.5319, allocations: 0.6537 MB / 1.033 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.5336, allocations: 2.614 MB / 1.036 GB, free: 15.34 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5337, allocations: 0 / 1.036 GB, free: 15.34 MB / 0.795 GB Notification: Performance of FrontEnd: time 5.21e-07/0.5337, allocations: 3.938 kB / 1.036 GB, free: 15.33 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.5337, allocations: 0 / 1.036 GB, free: 15.33 MB / 0.795 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.001824/0.5355, allocations: 1.367 MB / 1.037 GB, free: 13.91 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.645e-05/0.5355, allocations: 15.97 kB / 1.037 GB, free: 13.9 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002193/0.5358, allocations: 202.3 kB / 1.037 GB, free: 13.69 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.5371, allocations: 307.4 kB / 1.037 GB, free: 13.39 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009381/0.5381, allocations: 0.7174 MB / 1.038 GB, free: 12.63 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.301e-05/0.5381, allocations: 94.86 kB / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.5383, allocations: 116.4 kB / 1.038 GB, free: 12.43 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/0.5411, allocations: 2.137 MB / 1.04 GB, free: 10.25 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.5411, allocations: 7.922 kB / 1.04 GB, free: 10.24 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.5412, allocations: 52 kB / 1.04 GB, free: 10.19 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.706e-05/0.5413, allocations: 58.06 kB / 1.041 GB, free: 10.13 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.5437, allocations: 1.866 MB / 1.042 GB, free: 8.254 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007087/0.5508, allocations: 7.733 MB / 1.05 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.5509, allocations: 134.3 kB / 1.05 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.709e-05/0.551, allocations: 75.52 kB / 1.05 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.32e-05/0.5511, allocations: 85.09 kB / 1.05 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.5512, allocations: 42.56 kB / 1.05 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 3.636e-06/0.5512, allocations: 0 / 1.05 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004413/0.5516, allocations: 276.7 kB / 1.051 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.5517, allocations: 132.5 kB / 1.051 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008979/0.5526, allocations: 0.9083 MB / 1.052 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.5526, allocations: 29.64 kB / 1.052 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.553, allocations: 0.7629 MB / 1.052 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.553, allocations: 59.53 kB / 1.052 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.5533, allocations: 270.4 kB / 1.053 GB, free: 13 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.5535, allocations: 370.8 kB / 1.053 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/0.554, allocations: 422.3 kB / 1.053 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008839/0.5549, allocations: 1.169 MB / 1.055 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.5562, allocations: 1.595 MB / 1.056 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.5562, allocations: 8 kB / 1.056 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001846/0.5581, allocations: 1.547 MB / 1.058 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.5581, allocations: 16 kB / 1.058 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.5581, allocations: 28 kB / 1.058 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.304e-05/0.5582, allocations: 36 kB / 1.058 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006882/0.5588, allocations: 279.5 kB / 1.058 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.851e-05/0.5589, allocations: 51.8 kB / 1.058 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006539/0.5596, allocations: 198.6 kB / 1.058 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/0.5596, allocations: 71.98 kB / 1.058 GB, free: 6.488 MB / 0.8106 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.000551/0.5602, allocations: 0.6389 MB / 1.059 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.5603, allocations: 55.34 kB / 1.059 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.5605, allocations: 141.6 kB / 1.059 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.5605, allocations: 0 / 1.059 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5606, allocations: 4 kB / 1.059 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.5606, allocations: 0 / 1.059 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008378/0.5614, allocations: 0.7706 MB / 1.06 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5614, allocations: 4 kB / 1.06 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.947e-05/0.5614, allocations: 7.984 kB / 1.06 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5615, allocations: 0 / 1.06 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.5615, allocations: 0 / 1.06 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.5615, allocations: 4.25 kB / 1.06 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.5615, allocations: 3.938 kB / 1.06 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.5617, allocations: 373.4 kB / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.5618, allocations: 124.5 kB / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.388e-05/0.5619, allocations: 11.88 kB / 1.06 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.5621, allocations: 7.984 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.5621, allocations: 11.98 kB / 1.06 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.5622, allocations: 0 / 1.06 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006398/0.5628, allocations: 0.6434 MB / 1.061 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5628, allocations: 4 kB / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008556/0.5637, allocations: 278.9 kB / 1.061 GB, free: 3.305 MB / 0.8106 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.0004431/0.5641, allocations: 0.9097 MB / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008025/0.5649, allocations: 0.7194 MB / 1.063 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5649, allocations: 0 / 1.063 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.432e-05/0.565, allocations: 19.94 kB / 1.063 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.5654, allocations: 41.36 kB / 1.063 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007827/0.5733, allocations: 8.57 MB / 1.071 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000847/0.5741, allocations: 1.28 MB / 1.072 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0006709/0.5748, allocations: 361.2 kB / 1.073 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.5751, allocations: 292.6 kB / 1.073 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.5751, allocations: 0 / 1.073 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.625/2.2, allocations: 13.14 MB / 1.086 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/2.201, allocations: 240.3 kB / 1.086 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/4.008, allocations: 0 / 1.086 GB, free: 8.996 MB / 0.8419 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches