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.001425/0.001425, allocations: 108.4 kB / 15.99 MB, free: 6.371 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.001523/0.001523, allocations: 194.9 kB / 16.91 MB, free: 6.199 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.469/1.469, allocations: 222.9 MB / 240.6 MB, free: 15.46 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.307/2.307, allocations: 390.2 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 66.69 kB / 0.8127 GB, free: 33.28 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2787, allocations: 140.4 MB / 0.9498 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.008096/0.2869, allocations: 5.236 MB / 0.9549 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002874/0.2898, allocations: 1.68 MB / 0.9565 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.2901, allocations: 12 kB / 0.9565 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.2917, allocations: 0.4903 MB / 0.957 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006244/0.2924, allocations: 219.2 kB / 0.9572 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005985/0.293, allocations: 215.7 kB / 0.9574 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001893/0.2949, allocations: 1.672 MB / 0.9591 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004541/0.2995, allocations: 3.118 MB / 0.9621 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.3006, allocations: 0.7793 MB / 0.9629 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.3021, allocations: 0.9741 MB / 0.9638 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004522/0.3025, allocations: 192 kB / 0.964 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008046/0.3034, allocations: 323.7 kB / 0.9643 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0009852/0.3044, allocations: 0.7331 MB / 0.965 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.3056, allocations: 0.7084 MB / 0.9657 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00226/0.3078, allocations: 2.335 MB / 0.968 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3079, allocations: 0 / 0.968 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.504e-06/0.3079, allocations: 0 / 0.968 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.92e-05/0.308, allocations: 0 / 0.968 GB, free: 6.457 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.003532/0.3115, allocations: 1.367 MB / 0.9693 GB, free: 5.039 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3115, allocations: 8.031 kB / 0.9693 GB, free: 5.031 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.3134, allocations: 307.3 kB / 0.9696 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.3146, allocations: 0.7073 MB / 0.9703 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.011e-05/0.3147, allocations: 102.8 kB / 0.9704 GB, free: 3.883 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.315, allocations: 124.4 kB / 0.9705 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004005/0.319, allocations: 2.133 MB / 0.9726 GB, free: 1.586 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.3191, allocations: 0 / 0.9726 GB, free: 1.586 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.3192, allocations: 51.98 kB / 0.9727 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.676e-05/0.3193, allocations: 54.06 kB / 0.9727 GB, free: 1.48 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003166/0.3225, allocations: 1.872 MB / 0.9746 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009451/0.3319, allocations: 7.748 MB / 0.9821 GB, free: 7.242 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.3322, allocations: 130.3 kB / 0.9823 GB, free: 7.078 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.491e-05/0.3323, allocations: 87.39 kB / 0.9823 GB, free: 6.98 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.3324, allocations: 85.09 kB / 0.9824 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3324, allocations: 38.56 kB / 0.9825 GB, free: 6.832 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.3324, allocations: 0 / 0.9825 GB, free: 6.832 MB / 0.7637 GB Notification: Performance of matching and sorting (n=9): time 0.000548/0.333, allocations: 273.1 kB / 0.9827 GB, free: 6.559 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.3331, allocations: 128.5 kB / 0.9828 GB, free: 6.402 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.3342, allocations: 0.9122 MB / 0.9837 GB, free: 5.477 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3343, allocations: 25.7 kB / 0.9838 GB, free: 5.445 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/0.3348, allocations: 0.7664 MB / 0.9845 GB, free: 4.664 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.3348, allocations: 51.53 kB / 0.9845 GB, free: 4.613 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/0.3352, allocations: 270.4 kB / 0.9848 GB, free: 4.34 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3353, allocations: 370.8 kB / 0.9852 GB, free: 3.969 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005627/0.3359, allocations: 430.3 kB / 0.9856 GB, free: 3.551 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.337, allocations: 1.161 MB / 0.9867 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.3387, allocations: 1.595 MB / 0.9883 GB, free: 52 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.407e-05/0.3387, allocations: 11.94 kB / 0.9883 GB, free: 40 kB / 0.7637 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002278/0.341, allocations: 1.547 MB / 0.9898 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.3411, allocations: 16.22 kB / 0.9898 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.752e-05/0.3411, allocations: 32 kB / 0.9898 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.833e-05/0.3412, allocations: 32 kB / 0.9899 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008043/0.342, allocations: 287.7 kB / 0.9901 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.73e-05/0.342, allocations: 55.78 kB / 0.9902 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008484/0.3429, allocations: 194.2 kB / 0.9904 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.203e-05/0.343, allocations: 75.98 kB / 0.9904 GB, free: 13.81 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.0007492/0.3437, allocations: 0.6413 MB / 0.9911 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.3439, allocations: 55.34 kB / 0.9911 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.3442, allocations: 129.8 kB / 0.9912 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3442, allocations: 0 / 0.9912 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3442, allocations: 0 / 0.9912 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3442, allocations: 4 kB / 0.9913 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.3453, allocations: 0.7782 MB / 0.992 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3453, allocations: 0 / 0.992 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.3454, allocations: 4 kB / 0.992 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.3454, allocations: 7.984 kB / 0.992 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.3454, allocations: 0 / 0.992 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3454, allocations: 0 / 0.992 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3454, allocations: 0 / 0.992 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.3457, allocations: 373.3 kB / 0.9924 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.3459, allocations: 128.5 kB / 0.9925 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.807e-05/0.346, allocations: 0 / 0.9925 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.3463, allocations: 11.98 kB / 0.9925 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.3463, allocations: 8 kB / 0.9925 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.3463, allocations: 3.938 kB / 0.9925 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007675/0.3471, allocations: 0.6395 MB / 0.9931 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3471, allocations: 0 / 0.9931 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001085/0.3482, allocations: 283 kB / 0.9934 GB, free: 10.64 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.0001725/0.3483, allocations: 111.2 kB / 0.9935 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.3494, allocations: 0.7192 MB / 0.9942 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3494, allocations: 0 / 0.9942 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.884e-05/0.3494, allocations: 17.61 kB / 0.9942 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.35, allocations: 46.88 kB / 0.9943 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.3532, allocations: 2.301 MB / 0.9965 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.3543, allocations: 1.311 MB / 0.9978 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.3545, allocations: 55.42 kB / 0.9979 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.3545, allocations: 0 / 0.9979 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of Templates: time 0.01849/0.373, allocations: 12.17 MB / 1.01 GB, free: 9.836 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