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.001611/0.001611, allocations: 118.5 kB / 16.37 MB, free: 5.984 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.001997/0.001997, allocations: 193.5 kB / 17.31 MB, free: 5.602 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 / 241 MB, free: 15.16 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.345/2.345, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 62.2 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3043, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007443/0.3118, allocations: 5.202 MB / 0.9562 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002837/0.3146, allocations: 1.687 MB / 0.9579 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.3149, allocations: 12 kB / 0.9579 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.3164, allocations: 0.5251 MB / 0.9584 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005823/0.317, allocations: 243 kB / 0.9586 GB, free: 384 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006198/0.3177, allocations: 239.5 kB / 0.9589 GB, free: 144 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001829/0.3196, allocations: 1.672 MB / 0.9605 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002959/0.3225, allocations: 2.532 MB / 0.963 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.3238, allocations: 0.7716 MB / 0.9637 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.325, allocations: 0.9312 MB / 0.9646 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.3252, allocations: 196 kB / 0.9648 GB, free: 10 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006055/0.3259, allocations: 319.7 kB / 0.9651 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007173/0.3266, allocations: 0.7292 MB / 0.9658 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007566/0.3274, allocations: 0.7083 MB / 0.9665 GB, free: 8.246 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002271/0.3296, allocations: 2.661 MB / 0.9691 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3297, allocations: 0 / 0.9691 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3297, allocations: 0 / 0.9691 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.594e-05/0.3297, allocations: 0 / 0.9691 GB, free: 5.578 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.002688/0.3324, allocations: 1.367 MB / 0.9705 GB, free: 4.16 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.3325, allocations: 8.031 kB / 0.9705 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.334, allocations: 303.3 kB / 0.9707 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.3356, allocations: 0.7271 MB / 0.9715 GB, free: 3.09 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-05/0.3357, allocations: 94.88 kB / 0.9716 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.3359, allocations: 124.4 kB / 0.9717 GB, free: 2.875 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003379/0.3393, allocations: 2.133 MB / 0.9738 GB, free: 0.6992 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.3394, allocations: 0 / 0.9738 GB, free: 0.6992 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.3395, allocations: 59.98 kB / 0.9738 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.3396, allocations: 58.05 kB / 0.9739 GB, free: 0.582 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002938/0.3426, allocations: 1.87 MB / 0.9757 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009376/0.352, allocations: 7.67 MB / 0.9832 GB, free: 6.418 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.3522, allocations: 122.3 kB / 0.9833 GB, free: 6.262 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.3523, allocations: 75.52 kB / 0.9834 GB, free: 6.176 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.3524, allocations: 97.09 kB / 0.9835 GB, free: 6.062 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.3525, allocations: 38.5 kB / 0.9835 GB, free: 6.016 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=9): time 1.963e-06/0.3525, allocations: 0 / 0.9835 GB, free: 6.016 MB / 0.7637 GB Notification: Performance of matching and sorting (n=9): time 0.0005864/0.3531, allocations: 264.8 kB / 0.9838 GB, free: 5.75 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/0.3531, allocations: 136.8 kB / 0.9839 GB, free: 5.586 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.3542, allocations: 0.9122 MB / 0.9848 GB, free: 4.66 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.3543, allocations: 29.7 kB / 0.9848 GB, free: 4.625 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/0.3548, allocations: 0.7625 MB / 0.9855 GB, free: 3.848 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.3548, allocations: 51.53 kB / 0.9856 GB, free: 3.797 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003317/0.3552, allocations: 270.4 kB / 0.9859 GB, free: 3.523 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3553, allocations: 366.8 kB / 0.9862 GB, free: 3.156 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.3559, allocations: 430.3 kB / 0.9866 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.3569, allocations: 1.165 MB / 0.9878 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.3584, allocations: 1.593 MB / 0.9893 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.538e-05/0.3585, allocations: 12.19 kB / 0.9893 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002172/0.3606, allocations: 1.542 MB / 0.9908 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.3607, allocations: 16 kB / 0.9908 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/0.3607, allocations: 28.91 kB / 0.9909 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.764e-05/0.3608, allocations: 36 kB / 0.9909 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008041/0.3616, allocations: 295.4 kB / 0.9912 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-05/0.3616, allocations: 47.8 kB / 0.9912 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007873/0.3624, allocations: 194.2 kB / 0.9914 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.109e-05/0.3625, allocations: 76 kB / 0.9915 GB, free: 13 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.0007514/0.3633, allocations: 0.6297 MB / 0.9921 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.3634, allocations: 59.34 kB / 0.9922 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.3637, allocations: 137.7 kB / 0.9923 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3637, allocations: 0 / 0.9923 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3637, allocations: 0 / 0.9923 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3637, allocations: 3.984 kB / 0.9923 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009949/0.3647, allocations: 0.7744 MB / 0.993 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3647, allocations: 0 / 0.993 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-05/0.3648, allocations: 15.86 kB / 0.9931 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.3648, allocations: 8 kB / 0.9931 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3648, allocations: 0 / 0.9931 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3648, allocations: 0 / 0.9931 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3648, allocations: 0 / 0.9931 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.3651, allocations: 365.4 kB / 0.9934 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.3653, allocations: 132.5 kB / 0.9935 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-05/0.3653, allocations: 4 kB / 0.9936 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.3656, allocations: 11.98 kB / 0.9936 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.3656, allocations: 7.922 kB / 0.9936 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.3656, allocations: 4 kB / 0.9936 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007765/0.3664, allocations: 0.6395 MB / 0.9942 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3664, allocations: 0 / 0.9942 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001158/0.3676, allocations: 282.9 kB / 0.9945 GB, free: 9.82 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.0001775/0.3678, allocations: 103.2 kB / 0.9946 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.3689, allocations: 0.7204 MB / 0.9953 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3689, allocations: 0 / 0.9953 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.588e-05/0.3689, allocations: 15.94 kB / 0.9953 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.3695, allocations: 54.91 kB / 0.9953 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.3719, allocations: 1.631 MB / 0.9969 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009233/0.3728, allocations: 1.284 MB / 0.9982 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006856/0.3735, allocations: 365.2 kB / 0.9985 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.3736, allocations: 51.36 kB / 0.9986 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of SimCode: time 8.41e-07/0.3736, allocations: 0 / 0.9986 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of Templates: time 0.01051/0.3841, allocations: 4.871 MB / 1.003 GB, free: 0.6758 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 cvode -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