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.001464/0.001464, allocations: 114.3 kB / 16.37 MB, free: 6 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.001685/0.001685, allocations: 195.9 kB / 17.31 MB, free: 5.613 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.229/2.229, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 66.14 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2832, allocations: 140.4 MB / 0.9511 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007549/0.2908, allocations: 5.22 MB / 0.9562 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002745/0.2936, allocations: 1.68 MB / 0.9579 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.2938, allocations: 15.94 kB / 0.9579 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.2952, allocations: 0.5249 MB / 0.9584 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004986/0.2957, allocations: 255 kB / 0.9586 GB, free: 388 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.2963, allocations: 231.5 kB / 0.9589 GB, free: 156 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001527/0.2978, allocations: 1.668 MB / 0.9605 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002464/0.3003, allocations: 2.536 MB / 0.963 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009719/0.3013, allocations: 0.7716 MB / 0.9637 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.3023, allocations: 0.9351 MB / 0.9646 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.3026, allocations: 192 kB / 0.9648 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005282/0.3031, allocations: 315.7 kB / 0.9651 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006385/0.3037, allocations: 0.7409 MB / 0.9658 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006706/0.3044, allocations: 0.7084 MB / 0.9665 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.3065, allocations: 2.657 MB / 0.9691 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3065, allocations: 0 / 0.9691 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3065, allocations: 0 / 0.9691 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.137e-05/0.3066, allocations: 0 / 0.9691 GB, free: 5.586 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.002194/0.3088, allocations: 1.371 MB / 0.9705 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3088, allocations: 8.031 kB / 0.9705 GB, free: 4.156 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.3103, allocations: 303.3 kB / 0.9708 GB, free: 3.859 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.3117, allocations: 0.7252 MB / 0.9715 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/0.3118, allocations: 90.88 kB / 0.9716 GB, free: 3.004 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.312, allocations: 120.4 kB / 0.9717 GB, free: 2.887 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/0.315, allocations: 2.137 MB / 0.9738 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.315, allocations: 0 / 0.9738 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.3152, allocations: 48 kB / 0.9738 GB, free: 0.6602 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.87e-05/0.3152, allocations: 58.06 kB / 0.9739 GB, free: 0.6016 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/0.3179, allocations: 1.87 MB / 0.9757 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008412/0.3263, allocations: 7.666 MB / 0.9832 GB, free: 6.441 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.3265, allocations: 138.3 kB / 0.9833 GB, free: 6.27 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.827e-05/0.3266, allocations: 75.52 kB / 0.9834 GB, free: 6.184 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.3268, allocations: 89.09 kB / 0.9835 GB, free: 6.078 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.3268, allocations: 42.5 kB / 0.9835 GB, free: 6.027 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/0.3268, allocations: 0 / 0.9835 GB, free: 6.027 MB / 0.7637 GB Notification: Performance of matching and sorting (n=9): time 0.000538/0.3274, allocations: 268.8 kB / 0.9838 GB, free: 5.758 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/0.3274, allocations: 132.5 kB / 0.9839 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.3285, allocations: 0.9126 MB / 0.9848 GB, free: 4.672 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.3285, allocations: 29.7 kB / 0.9848 GB, free: 4.637 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/0.329, allocations: 0.7586 MB / 0.9855 GB, free: 3.863 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.329, allocations: 55.52 kB / 0.9856 GB, free: 3.809 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/0.3294, allocations: 266.4 kB / 0.9858 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3295, allocations: 374.8 kB / 0.9862 GB, free: 3.164 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/0.3301, allocations: 426.3 kB / 0.9866 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009898/0.331, allocations: 1.169 MB / 0.9878 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.3325, allocations: 1.589 MB / 0.9893 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.3325, allocations: 11.94 kB / 0.9893 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002032/0.3346, allocations: 1.542 MB / 0.9908 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.3346, allocations: 16 kB / 0.9908 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.3346, allocations: 24 kB / 0.9909 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.051e-05/0.3347, allocations: 39.94 kB / 0.9909 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007734/0.3355, allocations: 288.1 kB / 0.9912 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.951e-05/0.3355, allocations: 51.8 kB / 0.9912 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007628/0.3363, allocations: 198.1 kB / 0.9914 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.659e-05/0.3364, allocations: 75.98 kB / 0.9915 GB, free: 13.01 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.000747/0.3371, allocations: 0.6336 MB / 0.9921 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.3373, allocations: 55.34 kB / 0.9922 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.3375, allocations: 138 kB / 0.9923 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3375, allocations: 0 / 0.9923 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3376, allocations: 4 kB / 0.9923 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3376, allocations: 4 kB / 0.9923 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009302/0.3385, allocations: 0.7744 MB / 0.9931 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3385, allocations: 0 / 0.9931 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.3385, allocations: 4 kB / 0.9931 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3386, allocations: 7.938 kB / 0.9931 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3386, allocations: 7.984 kB / 0.9931 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3386, allocations: 4 kB / 0.9931 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3386, allocations: 3.984 kB / 0.9931 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.3388, allocations: 365.4 kB / 0.9934 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.339, allocations: 128.5 kB / 0.9936 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.077e-05/0.339, allocations: 0 / 0.9936 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.3393, allocations: 15.98 kB / 0.9936 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.3393, allocations: 0 / 0.9936 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.3393, allocations: 7.938 kB / 0.9936 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007001/0.34, allocations: 0.6434 MB / 0.9942 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.34, allocations: 0 / 0.9942 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009874/0.341, allocations: 278.9 kB / 0.9945 GB, free: 9.832 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.000166/0.3412, allocations: 107.2 kB / 0.9946 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008752/0.3421, allocations: 0.7128 MB / 0.9953 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3421, allocations: 0 / 0.9953 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.657e-05/0.3421, allocations: 23.98 kB / 0.9953 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/0.3426, allocations: 54.61 kB / 0.9953 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.3448, allocations: 1.634 MB / 0.9969 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009234/0.3457, allocations: 1.28 MB / 0.9982 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006661/0.3464, allocations: 373.2 kB / 0.9985 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.3465, allocations: 47.44 kB / 0.9986 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of SimCode: time 8.51e-07/0.3465, allocations: 0 / 0.9986 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of Templates: time 0.0101/0.3566, allocations: 4.856 MB / 1.003 GB, free: 0.6914 MB / 0.7794 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 -s gbode -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