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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001453/0.001453, allocations: 102.4 kB / 16.27 MB, free: 6.414 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.001566/0.001566, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.394/2.394, allocations: 390.3 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.53 kB / 0.8132 GB, free: 33.14 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2734, allocations: 140.4 MB / 0.9503 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007973/0.2815, allocations: 5.212 MB / 0.9554 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002895/0.2844, allocations: 1.691 MB / 0.957 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003283/0.2848, allocations: 15.94 kB / 0.957 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.2864, allocations: 0.5251 MB / 0.9576 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006834/0.2871, allocations: 243 kB / 0.9578 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006343/0.2877, allocations: 235.5 kB / 0.958 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001838/0.2896, allocations: 1.669 MB / 0.9596 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003138/0.2927, allocations: 2.555 MB / 0.9621 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.2939, allocations: 0.7755 MB / 0.9629 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.2954, allocations: 0.9312 MB / 0.9638 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005404/0.296, allocations: 188 kB / 0.964 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009215/0.2969, allocations: 323.7 kB / 0.9643 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.298, allocations: 0.7292 MB / 0.965 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001451/0.2995, allocations: 0.7122 MB / 0.9657 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002864/0.3024, allocations: 2.641 MB / 0.9683 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3024, allocations: 0 / 0.9683 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3024, allocations: 4 kB / 0.9683 GB, free: 6.316 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.076e-05/0.3025, allocations: 0 / 0.9683 GB, free: 6.316 MB / 0.7481 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.003334/0.3058, allocations: 1.367 MB / 0.9696 GB, free: 4.898 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3059, allocations: 8.031 kB / 0.9696 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.3076, allocations: 303.3 kB / 0.9699 GB, free: 4.594 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.3089, allocations: 0.7213 MB / 0.9706 GB, free: 3.832 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-05/0.309, allocations: 86.88 kB / 0.9707 GB, free: 3.746 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002684/0.3092, allocations: 128.3 kB / 0.9708 GB, free: 3.621 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003716/0.313, allocations: 2.13 MB / 0.9729 GB, free: 1.449 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.313, allocations: 7.938 kB / 0.9729 GB, free: 1.441 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/0.3132, allocations: 52 kB / 0.973 GB, free: 1.391 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.352e-05/0.3133, allocations: 58.06 kB / 0.973 GB, free: 1.332 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002973/0.3163, allocations: 1.866 MB / 0.9748 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009095/0.3254, allocations: 7.74 MB / 0.9824 GB, free: 7.105 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.3256, allocations: 142.2 kB / 0.9825 GB, free: 6.93 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.856e-05/0.3257, allocations: 75.52 kB / 0.9826 GB, free: 6.844 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.3258, allocations: 85.09 kB / 0.9827 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.3258, allocations: 42.56 kB / 0.9827 GB, free: 6.691 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=9): time 1.903e-06/0.3258, allocations: 0 / 0.9827 GB, free: 6.691 MB / 0.7637 GB Notification: Performance of matching and sorting (n=9): time 0.0005522/0.3264, allocations: 268.8 kB / 0.983 GB, free: 6.422 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.943e-05/0.3265, allocations: 132.5 kB / 0.9831 GB, free: 6.262 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.3276, allocations: 0.9083 MB / 0.984 GB, free: 5.34 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3276, allocations: 30.02 kB / 0.984 GB, free: 5.305 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004852/0.3281, allocations: 0.7625 MB / 0.9848 GB, free: 4.527 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.3282, allocations: 59.45 kB / 0.9848 GB, free: 4.469 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.3285, allocations: 270.4 kB / 0.9851 GB, free: 4.195 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3287, allocations: 370.8 kB / 0.9854 GB, free: 3.824 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005742/0.3293, allocations: 426.3 kB / 0.9858 GB, free: 3.41 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.3304, allocations: 1.169 MB / 0.987 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.332, allocations: 1.589 MB / 0.9885 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-05/0.3321, allocations: 11.94 kB / 0.9885 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002213/0.3343, allocations: 1.542 MB / 0.99 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.3343, allocations: 18.5 kB / 0.9901 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-05/0.3344, allocations: 28 kB / 0.9901 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.282e-05/0.3344, allocations: 36 kB / 0.9901 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008/0.3352, allocations: 279.5 kB / 0.9904 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.49e-05/0.3353, allocations: 52.36 kB / 0.9904 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000793/0.3361, allocations: 198.2 kB / 0.9906 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.447e-05/0.3362, allocations: 71.98 kB / 0.9907 GB, free: 13.68 MB / 0.7794 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.0007071/0.3369, allocations: 0.6374 MB / 0.9913 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.337, allocations: 55.34 kB / 0.9914 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.3373, allocations: 138 kB / 0.9915 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3373, allocations: 0 / 0.9915 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.3373, allocations: 7.984 kB / 0.9915 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3374, allocations: 0 / 0.9915 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.3384, allocations: 0.7705 MB / 0.9923 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3384, allocations: 0 / 0.9923 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.3385, allocations: 12 kB / 0.9923 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3385, allocations: 0 / 0.9923 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.3385, allocations: 0 / 0.9923 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3385, allocations: 4 kB / 0.9923 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/0.3385, allocations: 15.91 kB / 0.9923 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.3388, allocations: 365.4 kB / 0.9926 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.3389, allocations: 120.5 kB / 0.9928 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.395e-05/0.339, allocations: 7.984 kB / 0.9928 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.3393, allocations: 15.92 kB / 0.9928 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.3393, allocations: 4 kB / 0.9928 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3393, allocations: 0 / 0.9928 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00074/0.3401, allocations: 0.6434 MB / 0.9934 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3401, allocations: 3.938 kB / 0.9934 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001038/0.3411, allocations: 278.9 kB / 0.9937 GB, free: 10.5 MB / 0.7794 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.0001601/0.3413, allocations: 111.2 kB / 0.9938 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000986/0.3423, allocations: 0.7167 MB / 0.9945 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3423, allocations: 128 / 0.9945 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.62e-05/0.3423, allocations: 19.98 kB / 0.9945 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.3429, allocations: 42.94 kB / 0.9946 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.3456, allocations: 1.883 MB / 0.9964 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.3466, allocations: 1.307 MB / 0.9977 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.3468, allocations: 63.42 kB / 0.9977 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.3468, allocations: 0 / 0.9977 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of Templates: time 0.02024/0.367, allocations: 12.17 MB / 1.01 GB, free: 10.11 MB / 0.795 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/jenkins1/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