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.001651/0.001651, allocations: 108.7 kB / 16.37 MB, free: 6.48 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.001875/0.001876, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.495/2.495, allocations: 437.1 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 60.44 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.306, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.006851/0.3128, allocations: 5.208 MB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.3154, allocations: 1.683 MB / 1.026 GB, free: 2.941 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.3156, allocations: 16 kB / 1.026 GB, free: 2.926 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.317, allocations: 0.5295 MB / 1.026 GB, free: 2.395 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004557/0.3174, allocations: 242.9 kB / 1.026 GB, free: 2.156 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005054/0.318, allocations: 239.4 kB / 1.027 GB, free: 1.922 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001425/0.3194, allocations: 1.669 MB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002954/0.3224, allocations: 2.532 MB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.324, allocations: 0.7832 MB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.3252, allocations: 0.9273 MB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002091/0.3254, allocations: 188 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005572/0.326, allocations: 319.7 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006252/0.3266, allocations: 0.7331 MB / 1.033 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000688/0.3273, allocations: 0.7045 MB / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.3295, allocations: 2.657 MB / 1.037 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.205e-05/0.3295, allocations: 7.984 kB / 1.037 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.527e-06/0.3295, allocations: 0 / 1.037 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.715e-05/0.3296, allocations: 0 / 1.037 GB, free: 7.359 MB / 0.8106 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.002478/0.3321, allocations: 1.367 MB / 1.038 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3321, allocations: 20.81 kB / 1.038 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.3336, allocations: 299.3 kB / 1.038 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.3351, allocations: 0.7252 MB / 1.039 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.066e-05/0.3352, allocations: 90.88 kB / 1.039 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.3354, allocations: 124.4 kB / 1.039 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003238/0.3386, allocations: 2.133 MB / 1.041 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.3387, allocations: 0 / 1.041 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.3388, allocations: 52 kB / 1.041 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-05/0.3389, allocations: 58 kB / 1.042 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002717/0.3416, allocations: 1.869 MB / 1.043 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008979/0.3506, allocations: 7.662 MB / 1.051 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.3508, allocations: 134.3 kB / 1.051 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.542e-05/0.3509, allocations: 75.52 kB / 1.051 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.351, allocations: 85.09 kB / 1.051 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.3511, allocations: 42.56 kB / 1.051 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.3511, allocations: 0 / 1.051 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005106/0.3516, allocations: 272.8 kB / 1.051 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.3517, allocations: 136.5 kB / 1.052 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009544/0.3526, allocations: 0.9122 MB / 1.052 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3526, allocations: 25.7 kB / 1.052 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/0.3531, allocations: 0.7668 MB / 1.053 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.3532, allocations: 59.47 kB / 1.053 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/0.3535, allocations: 274.4 kB / 1.054 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3536, allocations: 366.8 kB / 1.054 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005311/0.3541, allocations: 426.3 kB / 1.054 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009254/0.3551, allocations: 1.165 MB / 1.055 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.3566, allocations: 1.594 MB / 1.057 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/0.3566, allocations: 11.94 kB / 1.057 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002045/0.3586, allocations: 1.543 MB / 1.058 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.3587, allocations: 16 kB / 1.059 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/0.3587, allocations: 28 kB / 1.059 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.94e-05/0.3588, allocations: 36 kB / 1.059 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007645/0.3595, allocations: 283.5 kB / 1.059 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.091e-05/0.3596, allocations: 51.8 kB / 1.059 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007342/0.3603, allocations: 190.6 kB / 1.059 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.102e-05/0.3604, allocations: 75.98 kB / 1.059 GB, free: 14.79 MB / 0.8419 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.0006629/0.3611, allocations: 0.6395 MB / 1.06 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.3612, allocations: 55.34 kB / 1.06 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.3615, allocations: 137.6 kB / 1.06 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3615, allocations: 4 kB / 1.06 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3615, allocations: 4 kB / 1.06 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3615, allocations: 0 / 1.06 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009509/0.3624, allocations: 0.7705 MB / 1.061 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3625, allocations: 4 kB / 1.061 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.3625, allocations: 7.984 kB / 1.061 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3625, allocations: 0 / 1.061 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.3625, allocations: 0 / 1.061 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3625, allocations: 4.25 kB / 1.061 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.3625, allocations: 4 kB / 1.061 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.3628, allocations: 377.3 kB / 1.061 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.3629, allocations: 124.5 kB / 1.061 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.363, allocations: 8 kB / 1.061 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.3633, allocations: 11.81 kB / 1.061 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.3633, allocations: 7.984 kB / 1.061 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/0.3633, allocations: 4 kB / 1.061 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006941/0.364, allocations: 0.6434 MB / 1.062 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.364, allocations: 0 / 1.062 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001007/0.365, allocations: 278.9 kB / 1.062 GB, free: 11.61 MB / 0.8419 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.0001497/0.3652, allocations: 103.2 kB / 1.062 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009524/0.3661, allocations: 0.72 MB / 1.063 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3662, allocations: 3.938 kB / 1.063 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.398e-05/0.3662, allocations: 16.62 kB / 1.063 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.3667, allocations: 48.42 kB / 1.063 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.3691, allocations: 1.631 MB / 1.065 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.3703, allocations: 1.28 MB / 1.066 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007418/0.371, allocations: 361.2 kB / 1.066 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.115e-05/0.3711, allocations: 47.42 kB / 1.066 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of SimCode: time 1.032e-06/0.3712, allocations: 0 / 1.066 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of Templates: time 0.01197/0.3831, allocations: 4.872 MB / 1.071 GB, free: 2.477 MB / 0.8419 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 -s gbode -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