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.00113/0.00113, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001492/0.001493, allocations: 172.7 kB / 15.95 MB, free: 208 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.467/1.467, allocations: 223.3 MB / 240 MB, free: 5.441 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.63/2.63, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004031, allocations: 15.98 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8183/0.8188, allocations: 142.4 MB / 0.9544 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.005683/0.8245, allocations: 4.633 MB / 0.959 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002368/0.8269, allocations: 1.587 MB / 0.9605 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.8271, allocations: 11.28 kB / 0.9605 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.8274, allocations: 108.6 kB / 0.9606 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004628/0.8278, allocations: 196.2 kB / 0.9608 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.8282, allocations: 156.3 kB / 0.961 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00177/0.83, allocations: 1.982 MB / 0.9629 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003881/0.8339, allocations: 2.732 MB / 0.9656 GB, free: 132 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.8349, allocations: 0.5288 MB / 0.9661 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.8361, allocations: 0.7793 MB / 0.9669 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.8363, allocations: 84.75 kB / 0.9669 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004536/0.8367, allocations: 170.9 kB / 0.9671 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006562/0.8374, allocations: 0.5963 MB / 0.9677 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002796/0.8377, allocations: 251.2 kB / 0.9679 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.8397, allocations: 2.252 MB / 0.9701 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.8398, allocations: 1.031 kB / 0.9701 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.965e-06/0.8398, allocations: 0 / 0.9701 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.478e-05/0.8398, allocations: 0 / 0.9701 GB, free: 13.23 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.002084/0.8419, allocations: 1.159 MB / 0.9713 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.842, allocations: 9.469 kB / 0.9713 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.8435, allocations: 301.6 kB / 0.9716 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.8446, allocations: 0.7127 MB / 0.9722 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/0.8447, allocations: 92.59 kB / 0.9723 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.8449, allocations: 120.5 kB / 0.9725 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003703/0.8486, allocations: 2.125 MB / 0.9745 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.8487, allocations: 3.953 kB / 0.9745 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.8488, allocations: 51.19 kB / 0.9746 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.973e-05/0.8489, allocations: 58.41 kB / 0.9746 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002977/0.8519, allocations: 1.861 MB / 0.9765 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008676/0.8606, allocations: 7.756 MB / 0.984 GB, free: 416 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.8608, allocations: 118.4 kB / 0.9841 GB, free: 260 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.715e-05/0.8609, allocations: 79.45 kB / 0.9842 GB, free: 168 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.861, allocations: 97.09 kB / 0.9843 GB, free: 52 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.861, allocations: 34.5 kB / 0.9843 GB, free: 8 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 2.845e-06/0.861, allocations: 0 / 0.9843 GB, free: 8 kB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005531/0.8616, allocations: 268.9 kB / 0.9846 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.887e-05/0.8617, allocations: 144.8 kB / 0.9847 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.8629, allocations: 0.9005 MB / 0.9856 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.8629, allocations: 29.7 kB / 0.9856 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005544/0.8635, allocations: 0.7625 MB / 0.9864 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.8635, allocations: 51.53 kB / 0.9864 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.8636, allocations: 28 kB / 0.9865 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.8638, allocations: 366.8 kB / 0.9868 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005708/0.8644, allocations: 430.2 kB / 0.9872 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.8655, allocations: 1.153 MB / 0.9883 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000864/0.8663, allocations: 0.7284 MB / 0.9891 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/0.8663, allocations: 8 kB / 0.9891 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002134/0.8685, allocations: 1.54 MB / 0.9906 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.8685, allocations: 16 kB / 0.9906 GB, free: 9.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.8686, allocations: 28.25 kB / 0.9906 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.027e-05/0.8686, allocations: 40 kB / 0.9907 GB, free: 9.094 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007941/0.8694, allocations: 283.5 kB / 0.9909 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.435e-05/0.8695, allocations: 55.75 kB / 0.991 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007696/0.8702, allocations: 194.4 kB / 0.9912 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.084e-05/0.8703, allocations: 72 kB / 0.9912 GB, free: 8.5 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.0008003/0.8712, allocations: 0.6316 MB / 0.9918 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.8713, allocations: 67.27 kB / 0.9919 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.8716, allocations: 133.6 kB / 0.992 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.8716, allocations: 4 kB / 0.992 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.8716, allocations: 0 / 0.992 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.8716, allocations: 3.953 kB / 0.992 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.8726, allocations: 0.7784 MB / 0.9928 GB, free: 6.809 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8726, allocations: 0 / 0.9928 GB, free: 6.809 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.8726, allocations: 4 kB / 0.9928 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.8727, allocations: 0 / 0.9928 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.8727, allocations: 4 kB / 0.9928 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.8727, allocations: 0 / 0.9928 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8727, allocations: 0 / 0.9928 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.873, allocations: 373.3 kB / 0.9932 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.8731, allocations: 152.4 kB / 0.9933 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/0.8732, allocations: 4 kB / 0.9933 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.8734, allocations: 8.031 kB / 0.9933 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.8735, allocations: 11.97 kB / 0.9933 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.8735, allocations: 0 / 0.9933 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007237/0.8742, allocations: 0.6434 MB / 0.994 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8742, allocations: 3.938 kB / 0.994 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001084/0.8753, allocations: 282.9 kB / 0.9942 GB, free: 5.297 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.0001777/0.8755, allocations: 107 kB / 0.9943 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009374/0.8764, allocations: 0.7163 MB / 0.995 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8764, allocations: 4 kB / 0.995 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.433e-05/0.8765, allocations: 15.94 kB / 0.9951 GB, free: 4.453 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.877, allocations: 44.48 kB / 0.9951 GB, free: 4.414 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.8796, allocations: 1.99 MB / 0.997 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009957/0.8806, allocations: 1.288 MB / 0.9983 GB, free: 1.07 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007814/0.8814, allocations: 365.2 kB / 0.9987 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.89e-05/0.8815, allocations: 43.44 kB / 0.9987 GB, free: 0.668 MB / 0.7481 GB Notification: Performance of SimCode: time 3.11e-07/0.8815, allocations: 0 / 0.9987 GB, free: 0.668 MB / 0.7481 GB Notification: Performance of Templates: time 0.01157/0.8931, allocations: 4.611 MB / 1.003 GB, free: 12.06 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches