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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001623/0.001623, allocations: 108 kB / 15.61 MB, free: 152 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.001914/0.001914, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 63.91 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6713/0.6728, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007531/0.6804, allocations: 5.206 MB / 1.023 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002817/0.6832, allocations: 1.683 MB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.6836, allocations: 12 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.6851, allocations: 0.5288 MB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006099/0.6857, allocations: 247 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.6863, allocations: 235.5 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001567/0.6878, allocations: 1.672 MB / 1.027 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002872/0.6907, allocations: 2.561 MB / 1.029 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009681/0.6917, allocations: 0.7678 MB / 1.03 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.693, allocations: 0.9273 MB / 1.031 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004295/0.6934, allocations: 192 kB / 1.031 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000764/0.6942, allocations: 319.7 kB / 1.031 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0008541/0.6951, allocations: 0.7448 MB / 1.032 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000984/0.6961, allocations: 0.7006 MB / 1.033 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.6981, allocations: 2.649 MB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6981, allocations: 0 / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6981, allocations: 0 / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.791e-05/0.6982, allocations: 0 / 1.035 GB, free: 15.95 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.00222/0.7004, allocations: 1.375 MB / 1.037 GB, free: 14.53 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.7004, allocations: 8.031 kB / 1.037 GB, free: 14.52 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002267/0.7007, allocations: 206.3 kB / 1.037 GB, free: 14.31 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.7021, allocations: 303.3 kB / 1.037 GB, free: 14.01 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000992/0.7031, allocations: 0.7228 MB / 1.038 GB, free: 13.25 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/0.7032, allocations: 94.88 kB / 1.038 GB, free: 13.16 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.7034, allocations: 120.4 kB / 1.038 GB, free: 13.04 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002885/0.7063, allocations: 2.133 MB / 1.04 GB, free: 10.86 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.7063, allocations: 0 / 1.04 GB, free: 10.86 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.7064, allocations: 51.98 kB / 1.04 GB, free: 10.81 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-05/0.7065, allocations: 58.06 kB / 1.04 GB, free: 10.75 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.7091, allocations: 1.87 MB / 1.042 GB, free: 8.875 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007814/0.7169, allocations: 7.744 MB / 1.05 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.7171, allocations: 122.4 kB / 1.05 GB, free: 372 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.952e-05/0.7172, allocations: 75.52 kB / 1.05 GB, free: 284 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.7173, allocations: 89.09 kB / 1.05 GB, free: 176 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.7173, allocations: 50.48 kB / 1.05 GB, free: 116 kB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 2.364e-06/0.7173, allocations: 0 / 1.05 GB, free: 116 kB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.000504/0.7178, allocations: 264.8 kB / 1.05 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.7179, allocations: 132.5 kB / 1.05 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009801/0.7189, allocations: 0.9083 MB / 1.051 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.7189, allocations: 25.7 kB / 1.051 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004188/0.7193, allocations: 0.7668 MB / 1.052 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.7194, allocations: 55.53 kB / 1.052 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/0.7197, allocations: 270.4 kB / 1.052 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.7198, allocations: 366.8 kB / 1.053 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005261/0.7204, allocations: 434.3 kB / 1.053 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000919/0.7213, allocations: 1.161 MB / 1.054 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.7227, allocations: 1.6 MB / 1.056 GB, free: 9.336 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.7227, allocations: 12 kB / 1.056 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001965/0.7247, allocations: 1.543 MB / 1.057 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.7247, allocations: 17.56 kB / 1.057 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.7248, allocations: 31.92 kB / 1.057 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.88e-05/0.7248, allocations: 36 kB / 1.057 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007528/0.7256, allocations: 283.5 kB / 1.058 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.271e-05/0.7256, allocations: 55.78 kB / 1.058 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007168/0.7263, allocations: 194.5 kB / 1.058 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/0.7264, allocations: 76 kB / 1.058 GB, free: 7.098 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.0006262/0.7271, allocations: 0.6375 MB / 1.059 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.7272, allocations: 55.34 kB / 1.059 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.7274, allocations: 129.8 kB / 1.059 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.7274, allocations: 0 / 1.059 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.7275, allocations: 3.938 kB / 1.059 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7275, allocations: 4 kB / 1.059 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009368/0.7284, allocations: 0.7782 MB / 1.06 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7284, allocations: 3.938 kB / 1.06 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.7284, allocations: 4 kB / 1.06 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.7285, allocations: 4 kB / 1.06 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.7285, allocations: 0 / 1.06 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7285, allocations: 0 / 1.06 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.7285, allocations: 0 / 1.06 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.7287, allocations: 373.3 kB / 1.06 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.7288, allocations: 132.5 kB / 1.06 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/0.7289, allocations: 4 kB / 1.06 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.7292, allocations: 15.97 kB / 1.06 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.7292, allocations: 4 kB / 1.06 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.7292, allocations: 8 kB / 1.06 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006872/0.7299, allocations: 0.6395 MB / 1.061 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7299, allocations: 0 / 1.061 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009797/0.7309, allocations: 279 kB / 1.061 GB, free: 3.93 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.0005099/0.7314, allocations: 0.9056 MB / 1.062 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009112/0.7323, allocations: 0.7157 MB / 1.063 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7323, allocations: 0 / 1.063 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.327e-05/0.7324, allocations: 19.98 kB / 1.063 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.7329, allocations: 39 kB / 1.063 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008397/0.7413, allocations: 8.167 MB / 1.071 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000915/0.7423, allocations: 1.284 MB / 1.072 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0007787/0.743, allocations: 365.3 kB / 1.072 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/0.7434, allocations: 283.3 kB / 1.073 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.7434, allocations: 0 / 1.073 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.218/2.961, allocations: 13.4 MB / 1.086 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/10.9, allocations: 8.328 kB / 1.086 GB, free: 10 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