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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007999/0.0007999, allocations: 98.72 kB / 16.02 MB, free: 76 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.001/0.001, allocations: 184.9 kB / 16.92 MB, free: 6.895 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.448/1.448, allocations: 223.3 MB / 241 MB, free: 5.34 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.818/2.818, allocations: 437.8 MB / 0.7128 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003897, allocations: 16 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7564/0.7569, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.00602/0.7629, allocations: 4.85 MB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002792/0.7657, allocations: 1.656 MB / 1.03 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002751/0.766, allocations: 11.94 kB / 1.03 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.7664, allocations: 103.3 kB / 1.03 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006983/0.7671, allocations: 231.2 kB / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006149/0.7677, allocations: 211.6 kB / 1.031 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002608/0.7704, allocations: 2.612 MB / 1.033 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004427/0.7748, allocations: 3.138 MB / 1.036 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.7759, allocations: 0.5217 MB / 1.037 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.7777, allocations: 0.7867 MB / 1.037 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0006435/0.7783, allocations: 84 kB / 1.038 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.7796, allocations: 239.7 kB / 1.038 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.781, allocations: 0.6003 MB / 1.038 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.7824, allocations: 0.5773 MB / 1.039 GB, free: 184 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002749/0.7852, allocations: 2.262 MB / 1.041 GB, free: 13.91 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7852, allocations: 0 / 1.041 GB, free: 13.91 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7852, allocations: 0 / 1.041 GB, free: 13.91 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.103e-05/0.7853, allocations: 0 / 1.041 GB, free: 13.91 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.003328/0.7887, allocations: 1.144 MB / 1.042 GB, free: 12.72 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.7887, allocations: 11.98 kB / 1.042 GB, free: 12.71 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.7906, allocations: 303.3 kB / 1.043 GB, free: 12.41 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.7921, allocations: 0.7267 MB / 1.043 GB, free: 11.64 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.7922, allocations: 90.88 kB / 1.043 GB, free: 11.55 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003972/0.7926, allocations: 120.4 kB / 1.043 GB, free: 11.44 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004814/0.7974, allocations: 2.137 MB / 1.046 GB, free: 9.258 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.7975, allocations: 4 kB / 1.046 GB, free: 9.254 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/0.7977, allocations: 48 kB / 1.046 GB, free: 9.207 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001574/0.7979, allocations: 58.06 kB / 1.046 GB, free: 9.148 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/0.8015, allocations: 1.868 MB / 1.047 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/0.8119, allocations: 7.756 MB / 1.055 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.8121, allocations: 138.3 kB / 1.055 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.8123, allocations: 79.52 kB / 1.055 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.8124, allocations: 89 kB / 1.055 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.8125, allocations: 38.5 kB / 1.055 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 3.176e-06/0.8125, allocations: 7.922 kB / 1.055 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0006608/0.8132, allocations: 273.3 kB / 1.056 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.8134, allocations: 136.5 kB / 1.056 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.8148, allocations: 0.9083 MB / 1.057 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.8148, allocations: 25.7 kB / 1.057 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005502/0.8154, allocations: 0.7547 MB / 1.057 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/0.8155, allocations: 59.5 kB / 1.057 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.8156, allocations: 105.6 kB / 1.058 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.8158, allocations: 366.8 kB / 1.058 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006456/0.8165, allocations: 434.3 kB / 1.058 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.8179, allocations: 1.161 MB / 1.059 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.8199, allocations: 1.595 MB / 1.061 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.489e-05/0.82, allocations: 15.94 kB / 1.061 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002611/0.8226, allocations: 1.536 MB / 1.063 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.8226, allocations: 23.92 kB / 1.063 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.443e-05/0.8227, allocations: 32.19 kB / 1.063 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.64e-05/0.8227, allocations: 36 kB / 1.063 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008694/0.8236, allocations: 283.5 kB / 1.063 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.261e-05/0.8237, allocations: 55.78 kB / 1.063 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008894/0.8246, allocations: 186.3 kB / 1.063 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.864e-05/0.8247, allocations: 72 kB / 1.063 GB, free: 5.633 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.0008328/0.8255, allocations: 0.6418 MB / 1.064 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.8257, allocations: 59.34 kB / 1.064 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.826, allocations: 129.7 kB / 1.064 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.826, allocations: 3.938 kB / 1.064 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.826, allocations: 0 / 1.064 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.826, allocations: 4 kB / 1.064 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.8273, allocations: 0.7744 MB / 1.065 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.8273, allocations: 0 / 1.065 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.8274, allocations: 4 kB / 1.065 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.8274, allocations: 4 kB / 1.065 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.8274, allocations: 0 / 1.065 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.8274, allocations: 0 / 1.065 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8274, allocations: 0 / 1.065 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.8277, allocations: 373.3 kB / 1.065 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.8279, allocations: 156.4 kB / 1.065 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/0.828, allocations: 4 kB / 1.065 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.8283, allocations: 15.97 kB / 1.065 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.8283, allocations: 0 / 1.065 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.8283, allocations: 0 / 1.065 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008323/0.8292, allocations: 0.6473 MB / 1.066 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8292, allocations: 0 / 1.066 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001152/0.8303, allocations: 282.9 kB / 1.066 GB, free: 2.434 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.000153/0.8305, allocations: 107.2 kB / 1.066 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.8316, allocations: 0.7158 MB / 1.067 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.8316, allocations: 0 / 1.067 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.314e-05/0.8316, allocations: 23.92 kB / 1.067 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005989/0.8322, allocations: 48.31 kB / 1.067 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.8357, allocations: 2.318 MB / 1.069 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/0.837, allocations: 1.312 MB / 1.071 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.8372, allocations: 51.42 kB / 1.071 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.8372, allocations: 4 kB / 1.071 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of Templates: time 0.01975/0.8569, allocations: 12.05 MB / 1.082 GB, free: 1.734 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (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 & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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