Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001457/0.001457, allocations: 108 kB / 15.6 MB, free: 132 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.001362/0.001363, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.722/2.722, allocations: 472.6 MB / 0.7452 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 68.23 kB / 0.9121 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3339, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007356/0.3413, allocations: 5.206 MB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002616/0.3439, allocations: 1.687 MB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.3441, allocations: 19.94 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.3456, allocations: 0.5173 MB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004725/0.3461, allocations: 251 kB / 1.076 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.3466, allocations: 235.5 kB / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001633/0.3482, allocations: 1.669 MB / 1.078 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002814/0.3511, allocations: 2.548 MB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.3521, allocations: 0.7794 MB / 1.081 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.3536, allocations: 0.9351 MB / 1.082 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002327/0.3538, allocations: 195.9 kB / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005966/0.3544, allocations: 311.8 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0007181/0.3551, allocations: 0.7332 MB / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006853/0.3558, allocations: 0.7044 MB / 1.084 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.3579, allocations: 2.645 MB / 1.086 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3579, allocations: 0 / 1.086 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.087e-06/0.3579, allocations: 0 / 1.086 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.003e-05/0.3579, allocations: 3.938 kB / 1.086 GB, free: 7.848 MB / 0.8419 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.002375/0.3603, allocations: 1.371 MB / 1.088 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.3604, allocations: 16.03 kB / 1.088 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.3619, allocations: 299.3 kB / 1.088 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.3629, allocations: 0.7073 MB / 1.089 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.317e-05/0.363, allocations: 94.86 kB / 1.089 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.3632, allocations: 120.4 kB / 1.089 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00316/0.3663, allocations: 2.133 MB / 1.091 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.3664, allocations: 0 / 1.091 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.3665, allocations: 59.94 kB / 1.091 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.159e-05/0.3666, allocations: 58.06 kB / 1.091 GB, free: 2.867 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002786/0.3694, allocations: 1.866 MB / 1.093 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009318/0.3787, allocations: 7.74 MB / 1.1 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.379, allocations: 134.3 kB / 1.1 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.3791, allocations: 75.52 kB / 1.101 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.3793, allocations: 93.09 kB / 1.101 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.3793, allocations: 34.56 kB / 1.101 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 3.316e-06/0.3793, allocations: 0 / 1.101 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006298/0.3799, allocations: 268.8 kB / 1.101 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.38, allocations: 140.5 kB / 1.101 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.3813, allocations: 0.9082 MB / 1.102 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.3813, allocations: 33.7 kB / 1.102 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006149/0.3819, allocations: 0.7628 MB / 1.103 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.382, allocations: 55.62 kB / 1.103 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003791/0.3824, allocations: 270.4 kB / 1.103 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.3826, allocations: 366.8 kB / 1.103 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005867/0.3832, allocations: 426.3 kB / 1.104 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.3843, allocations: 1.169 MB / 1.105 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.3859, allocations: 1.595 MB / 1.106 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.3859, allocations: 11.94 kB / 1.106 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002121/0.388, allocations: 1.54 MB / 1.108 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.388, allocations: 16 kB / 1.108 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/0.3881, allocations: 28 kB / 1.108 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.416e-05/0.3881, allocations: 36 kB / 1.108 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007794/0.3889, allocations: 283.5 kB / 1.108 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.414e-05/0.389, allocations: 55.78 kB / 1.108 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007482/0.3897, allocations: 194.7 kB / 1.109 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/0.3898, allocations: 72 kB / 1.109 GB, free: 15.22 MB / 0.8731 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.0007395/0.3906, allocations: 0.6335 MB / 1.109 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.3907, allocations: 63.33 kB / 1.109 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.391, allocations: 133.6 kB / 1.109 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.391, allocations: 4 kB / 1.109 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.391, allocations: 0 / 1.109 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.391, allocations: 7.922 kB / 1.109 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.392, allocations: 0.7705 MB / 1.11 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.392, allocations: 4 kB / 1.11 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.3921, allocations: 4 kB / 1.11 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3921, allocations: 0 / 1.11 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.3921, allocations: 0 / 1.11 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3921, allocations: 4 kB / 1.11 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3921, allocations: 4 kB / 1.11 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.3924, allocations: 369.3 kB / 1.111 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.3925, allocations: 128.5 kB / 1.111 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-05/0.3926, allocations: 7.906 kB / 1.111 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.3929, allocations: 15.97 kB / 1.111 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.3929, allocations: 4 kB / 1.111 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.3929, allocations: 0 / 1.111 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000707/0.3936, allocations: 0.6434 MB / 1.111 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3936, allocations: 0 / 1.111 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001047/0.3947, allocations: 282.9 kB / 1.112 GB, free: 12.05 MB / 0.8731 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.000151/0.3948, allocations: 99.72 kB / 1.112 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009426/0.3958, allocations: 0.7251 MB / 1.112 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3958, allocations: 0 / 1.112 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-05/0.3958, allocations: 24.17 kB / 1.112 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.3964, allocations: 46.94 kB / 1.113 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.3988, allocations: 1.654 MB / 1.114 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.3998, allocations: 1.28 MB / 1.115 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007589/0.4006, allocations: 361.2 kB / 1.116 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.038e-05/0.4007, allocations: 43.44 kB / 1.116 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of SimCode: time 8.21e-07/0.4007, allocations: 0 / 1.116 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of Templates: time 0.01084/0.4115, allocations: 4.878 MB / 1.121 GB, free: 2.887 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches