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.0009311/0.0009311, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.007258/0.007258, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.291/1.291, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.396/2.396, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003032, allocations: 8 kB / 0.873 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6204/0.6207, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.005987/0.6268, allocations: 4.843 MB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00261/0.6294, allocations: 1.664 MB / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.6296, allocations: 12 kB / 1.03 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.63, allocations: 99.27 kB / 1.03 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006301/0.6306, allocations: 231.2 kB / 1.03 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000549/0.6312, allocations: 207.7 kB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002385/0.6336, allocations: 2.616 MB / 1.033 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004244/0.6378, allocations: 3.142 MB / 1.036 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009208/0.6387, allocations: 0.5139 MB / 1.036 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.64, allocations: 0.7867 MB / 1.037 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002139/0.6402, allocations: 84 kB / 1.037 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006048/0.6408, allocations: 239.8 kB / 1.037 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000679/0.6415, allocations: 0.5964 MB / 1.038 GB, free: 0.7461 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008224/0.6423, allocations: 0.5812 MB / 1.038 GB, free: 160 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.6444, allocations: 2.518 MB / 1.041 GB, free: 13.63 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6444, allocations: 0 / 1.041 GB, free: 13.63 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6444, allocations: 0 / 1.041 GB, free: 13.63 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.6444, allocations: 4 kB / 1.041 GB, free: 13.63 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.001721/0.6462, allocations: 1.148 MB / 1.042 GB, free: 12.43 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.6462, allocations: 12.03 kB / 1.042 GB, free: 12.42 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002434/0.6465, allocations: 202.3 kB / 1.042 GB, free: 12.21 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.6478, allocations: 303.3 kB / 1.042 GB, free: 11.91 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008985/0.6488, allocations: 0.7189 MB / 1.043 GB, free: 11.16 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/0.6488, allocations: 94.88 kB / 1.043 GB, free: 11.06 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.649, allocations: 124.4 kB / 1.043 GB, free: 10.94 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.6519, allocations: 2.137 MB / 1.045 GB, free: 8.762 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.6519, allocations: 3.938 kB / 1.045 GB, free: 8.758 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.6521, allocations: 48 kB / 1.045 GB, free: 8.711 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.526e-05/0.6521, allocations: 58.06 kB / 1.046 GB, free: 8.652 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.6546, allocations: 1.866 MB / 1.047 GB, free: 6.777 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007613/0.6623, allocations: 7.76 MB / 1.055 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.6624, allocations: 134.3 kB / 1.055 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.246e-05/0.6625, allocations: 79.52 kB / 1.055 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.474e-05/0.6626, allocations: 89.08 kB / 1.055 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.6627, allocations: 34.56 kB / 1.055 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.6627, allocations: 4 kB / 1.055 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004444/0.6631, allocations: 272.8 kB / 1.056 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.6632, allocations: 132.5 kB / 1.056 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009869/0.6642, allocations: 0.9083 MB / 1.057 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.6642, allocations: 29.7 kB / 1.057 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.6647, allocations: 0.7586 MB / 1.057 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.6647, allocations: 55.89 kB / 1.057 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.6648, allocations: 105.7 kB / 1.057 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.665, allocations: 370.8 kB / 1.058 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/0.6655, allocations: 426.3 kB / 1.058 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.6665, allocations: 1.165 MB / 1.059 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.6681, allocations: 1.599 MB / 1.061 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.6681, allocations: 8 kB / 1.061 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001969/0.67, allocations: 1.551 MB / 1.062 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.6701, allocations: 16 kB / 1.062 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.6701, allocations: 28 kB / 1.062 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.375e-05/0.6701, allocations: 32 kB / 1.063 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/0.6709, allocations: 287.4 kB / 1.063 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.721e-05/0.6709, allocations: 47.86 kB / 1.063 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006924/0.6716, allocations: 190.4 kB / 1.063 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.626e-05/0.6717, allocations: 71.98 kB / 1.063 GB, free: 5.148 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.0006187/0.6723, allocations: 0.6452 MB / 1.064 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.6725, allocations: 55.59 kB / 1.064 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.6727, allocations: 137.7 kB / 1.064 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.6727, allocations: 4 kB / 1.064 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.6727, allocations: 0 / 1.064 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6727, allocations: 4 kB / 1.064 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009106/0.6736, allocations: 0.7706 MB / 1.065 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.6737, allocations: 0 / 1.065 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.6737, allocations: 11.92 kB / 1.065 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.6737, allocations: 4 kB / 1.065 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.6737, allocations: 0 / 1.065 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.6737, allocations: 3.938 kB / 1.065 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6737, allocations: 3.938 kB / 1.065 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.6739, allocations: 369.4 kB / 1.065 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.6741, allocations: 156.4 kB / 1.065 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.6742, allocations: 0 / 1.065 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.6744, allocations: 11.98 kB / 1.065 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.6744, allocations: 3.984 kB / 1.065 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.6744, allocations: 0 / 1.065 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006948/0.6751, allocations: 0.6512 MB / 1.066 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6752, allocations: 0 / 1.066 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008815/0.676, allocations: 278.9 kB / 1.066 GB, free: 1.938 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.0004859/0.6765, allocations: 0.9095 MB / 1.067 GB, free: 1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008538/0.6774, allocations: 0.7123 MB / 1.068 GB, free: 300 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6774, allocations: 4 kB / 1.068 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.288e-05/0.6774, allocations: 15.94 kB / 1.068 GB, free: 280 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.678, allocations: 40.89 kB / 1.068 GB, free: 244 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008646/0.6866, allocations: 8.583 MB / 1.076 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009156/0.6875, allocations: 1.284 MB / 1.077 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0007348/0.6883, allocations: 369.3 kB / 1.078 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.6886, allocations: 291.3 kB / 1.078 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.6886, allocations: 0 / 1.078 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.7113, allocations: 12.99 MB / 1.091 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.7116, allocations: 237.9 kB / 1.091 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.445, allocations: 0 / 1.091 GB, free: 7.801 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