Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001208/0.001208, allocations: 100 kB / 15.05 MB, free: 1.105 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.001434/0.001434, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.512/2.512, allocations: 390.3 MB / 0.6653 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003882, allocations: 12 kB / 0.8145 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8805/0.8809, allocations: 142.3 MB / 0.9535 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.005414/0.8864, allocations: 4.583 MB / 0.958 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.8888, allocations: 1.577 MB / 0.9595 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.889, allocations: 15 kB / 0.9596 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.8893, allocations: 117.1 kB / 0.9597 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.8897, allocations: 105.4 kB / 0.9598 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.8901, allocations: 150.2 kB / 0.9599 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006873/0.8908, allocations: 0.6597 MB / 0.9606 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00382/0.8946, allocations: 2.746 MB / 0.9632 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007083/0.8953, allocations: 427 kB / 0.9636 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005718/0.8959, allocations: 0.4983 MB / 0.9641 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.8961, allocations: 84.34 kB / 0.9642 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004394/0.8965, allocations: 168 kB / 0.9644 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006485/0.8972, allocations: 0.5535 MB / 0.9649 GB, free: 376 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.8975, allocations: 246.7 kB / 0.9651 GB, free: 212 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.8998, allocations: 2.248 MB / 0.9673 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.8998, allocations: 0.8438 kB / 0.9673 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.315e-06/0.8998, allocations: 4 kB / 0.9673 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.288e-05/0.8998, allocations: 0 / 0.9673 GB, free: 14.56 MB / 0.7325 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.002513/0.9024, allocations: 1.156 MB / 0.9685 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.9024, allocations: 9.438 kB / 0.9685 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.9041, allocations: 327.5 kB / 0.9688 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.9057, allocations: 0.7007 MB / 0.9695 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-05/0.9058, allocations: 96.14 kB / 0.9696 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/0.906, allocations: 120.5 kB / 0.9697 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003956/0.91, allocations: 2.12 MB / 0.9718 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.91, allocations: 3.953 kB / 0.9718 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/0.9102, allocations: 50.5 kB / 0.9718 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.782e-05/0.9103, allocations: 54.22 kB / 0.9719 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003321/0.9136, allocations: 1.86 MB / 0.9737 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/0.9238, allocations: 7.756 MB / 0.9813 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.9241, allocations: 130.4 kB / 0.9814 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.9242, allocations: 89.09 kB / 0.9815 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.9243, allocations: 38.62 kB / 0.9815 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 4.859e-06/0.9243, allocations: 3.984 kB / 0.9815 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0006119/0.9249, allocations: 269.1 kB / 0.9818 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.957e-05/0.925, allocations: 140.5 kB / 0.9819 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.9262, allocations: 0.9044 MB / 0.9828 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.9262, allocations: 25.7 kB / 0.9828 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006203/0.9269, allocations: 0.7664 MB / 0.9835 GB, free: 420 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.9269, allocations: 51.53 kB / 0.9836 GB, free: 368 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.927, allocations: 20 kB / 0.9836 GB, free: 348 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002184/0.9272, allocations: 370.8 kB / 0.984 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005968/0.9278, allocations: 430.2 kB / 0.9844 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.929, allocations: 1.153 MB / 0.9855 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008746/0.9299, allocations: 0.7285 MB / 0.9862 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.9299, allocations: 8 kB / 0.9862 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001958/0.9319, allocations: 1.532 MB / 0.9877 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.9319, allocations: 16 kB / 0.9877 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/0.9319, allocations: 28 kB / 0.9878 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.666e-05/0.932, allocations: 43.92 kB / 0.9878 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008062/0.9328, allocations: 283.4 kB / 0.9881 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.413e-05/0.9329, allocations: 55.78 kB / 0.9881 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008591/0.9337, allocations: 198.6 kB / 0.9883 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.794e-05/0.9338, allocations: 68 kB / 0.9884 GB, free: 11.07 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001097/0.9349, allocations: 0.6336 MB / 0.989 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.9351, allocations: 55.34 kB / 0.9891 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.9354, allocations: 137.6 kB / 0.9892 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.9354, allocations: 0 / 0.9892 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.9354, allocations: 4 kB / 0.9892 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.9354, allocations: 0 / 0.9892 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.9366, allocations: 0.7706 MB / 0.9899 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9366, allocations: 0 / 0.9899 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.9367, allocations: 11.94 kB / 0.99 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.9367, allocations: 0 / 0.99 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.9367, allocations: 0 / 0.99 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.9367, allocations: 256 / 0.99 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.9367, allocations: 4 kB / 0.99 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.937, allocations: 392.8 kB / 0.9903 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.9373, allocations: 156.4 kB / 0.9905 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-05/0.9373, allocations: 0 / 0.9905 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.9376, allocations: 19.97 kB / 0.9905 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.9376, allocations: 7.891 kB / 0.9905 GB, free: 8.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.9376, allocations: 4 kB / 0.9905 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007881/0.9384, allocations: 0.6395 MB / 0.9911 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9384, allocations: 0 / 0.9911 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001274/0.9397, allocations: 278.9 kB / 0.9914 GB, free: 7.852 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002311/0.94, allocations: 107.2 kB / 0.9915 GB, free: 7.738 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.941, allocations: 0.713 MB / 0.9922 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.941, allocations: 4.125 kB / 0.9922 GB, free: 7.027 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.65e-05/0.9411, allocations: 19.92 kB / 0.9922 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.9414, allocations: 46.94 kB / 0.9923 GB, free: 6.965 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.9446, allocations: 1.981 MB / 0.9942 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.9458, allocations: 1.304 MB / 0.9955 GB, free: 3.613 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007899/0.9466, allocations: 361.3 kB / 0.9958 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.95e-05/0.9467, allocations: 47.42 kB / 0.9959 GB, free: 3.211 MB / 0.7481 GB Notification: Performance of SimCode: time 9.02e-07/0.9467, allocations: 4 kB / 0.9959 GB, free: 3.207 MB / 0.7481 GB Notification: Performance of Templates: time 0.01027/0.957, allocations: 4.607 MB / 1 GB, free: 14.61 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches