Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 177 kB / 23.49 MB, free: 1.051 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.053/1.053, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.273/2.273, allocations: 429.5 MB / 0.6736 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|probe_Y.V.[0-9,]+.|probeD.V.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|probe_Y.V.[0-9,]+.|probeD.V.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.717e-06/3.717e-06, allocations: 0 / 0.8782 GB, free: 5.496 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.574e-05/4.945e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.492 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.009032/0.009081, allocations: 5.444 MB / 0.8835 GB, free: 56 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003871/0.01295, allocations: 1.732 MB / 0.8852 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004884/0.01344, allocations: 17 kB / 0.8852 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.01514, allocations: 0.5426 MB / 0.8857 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0008755/0.01602, allocations: 250.8 kB / 0.886 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008675/0.01689, allocations: 239.3 kB / 0.8862 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002159/0.01905, allocations: 1.695 MB / 0.8879 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/0.02142, allocations: 1.264 MB / 0.8891 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.02371, allocations: 1.115 MB / 0.8902 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00203/0.02574, allocations: 0.9668 MB / 0.8911 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0006077/0.02635, allocations: 188.9 kB / 0.8913 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008894/0.02724, allocations: 307.7 kB / 0.8916 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.02833, allocations: 0.7991 MB / 0.8924 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.02965, allocations: 0.5192 MB / 0.8929 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.0321, allocations: 1.396 MB / 0.8943 GB, free: 4.996 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.03211, allocations: 0 / 0.8943 GB, free: 4.996 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.144e-06/0.03211, allocations: 0 / 0.8943 GB, free: 4.996 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.075e-05/0.03218, allocations: 0 / 0.8943 GB, free: 4.996 MB / 0.8073 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.003371/0.03556, allocations: 1.48 MB / 0.8957 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.507e-05/0.03562, allocations: 8.562 kB / 0.8957 GB, free: 3.473 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/0.03769, allocations: 0.4967 MB / 0.8962 GB, free: 2.977 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.03913, allocations: 0.6057 MB / 0.8968 GB, free: 2.344 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.724e-05/0.03923, allocations: 94.86 kB / 0.8969 GB, free: 2.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/0.03945, allocations: 120.4 kB / 0.897 GB, free: 2.133 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002906/0.04235, allocations: 1.036 MB / 0.898 GB, free: 1.051 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.04239, allocations: 192 / 0.898 GB, free: 1.051 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.04255, allocations: 60.34 kB / 0.8981 GB, free: 0.9922 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/0.04266, allocations: 61.94 kB / 0.8981 GB, free: 0.9297 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.04444, allocations: 467.9 kB / 0.8986 GB, free: 472 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009655/0.0541, allocations: 5.081 MB / 0.9035 GB, free: 11.11 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.05434, allocations: 112.4 kB / 0.9036 GB, free: 10.95 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/0.05441, allocations: 42.86 kB / 0.9037 GB, free: 10.89 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.05455, allocations: 8 kB / 0.9037 GB, free: 10.89 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/0.0546, allocations: 45.31 kB / 0.9037 GB, free: 10.83 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 6.602e-06/0.05461, allocations: 0 / 0.9037 GB, free: 10.83 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0005159/0.05513, allocations: 145.1 kB / 0.9039 GB, free: 10.68 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/0.0552, allocations: 132.9 kB / 0.904 GB, free: 10.52 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008703/0.05607, allocations: 0.8608 MB / 0.9048 GB, free: 9.645 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.05609, allocations: 25.7 kB / 0.9049 GB, free: 9.613 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/0.05656, allocations: 0.8741 MB / 0.9057 GB, free: 8.727 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.0566, allocations: 51.72 kB / 0.9058 GB, free: 8.676 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002724/0.05687, allocations: 300.3 kB / 0.906 GB, free: 8.375 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002311/0.0571, allocations: 0.5782 MB / 0.9066 GB, free: 7.785 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.05729, allocations: 110.5 kB / 0.9067 GB, free: 7.676 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007973/0.05809, allocations: 1.237 MB / 0.9079 GB, free: 5.93 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.05914, allocations: 1.446 MB / 0.9093 GB, free: 3.977 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.05915, allocations: 8 kB / 0.9093 GB, free: 3.969 MB / 0.823 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001107/0.06026, allocations: 0.9964 MB / 0.9103 GB, free: 2.969 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.06029, allocations: 19.94 kB / 0.9103 GB, free: 2.949 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.06032, allocations: 28 kB / 0.9104 GB, free: 2.922 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.611e-05/0.06035, allocations: 32 kB / 0.9104 GB, free: 2.891 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/0.0609, allocations: 287.4 kB / 0.9107 GB, free: 2.609 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.42e-05/0.06094, allocations: 51.8 kB / 0.9107 GB, free: 2.559 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/0.06143, allocations: 202.8 kB / 0.9109 GB, free: 2.359 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.06149, allocations: 68 kB / 0.911 GB, free: 2.293 MB / 0.823 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.000302/0.06179, allocations: 255.9 kB / 0.9112 GB, free: 2.031 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.922e-05/0.06188, allocations: 55.67 kB / 0.9113 GB, free: 1.977 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.0621, allocations: 142.9 kB / 0.9114 GB, free: 1.809 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.06211, allocations: 3.984 kB / 0.9114 GB, free: 1.805 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.06211, allocations: 4 kB / 0.9114 GB, free: 1.801 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.06212, allocations: 0 / 0.9114 GB, free: 1.801 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007582/0.06288, allocations: 0.6253 MB / 0.912 GB, free: 1.141 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.06288, allocations: 3.984 kB / 0.912 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/0.06291, allocations: 7.938 kB / 0.912 GB, free: 1.129 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.06292, allocations: 4 kB / 0.912 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.06292, allocations: 0 / 0.912 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.06293, allocations: 3.938 kB / 0.912 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.06293, allocations: 0 / 0.912 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.06318, allocations: 486 kB / 0.9125 GB, free: 0.625 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-05/0.06325, allocations: 55.66 kB / 0.9126 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.06329, allocations: 3.938 kB / 0.9126 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.06344, allocations: 19.92 kB / 0.9126 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.06346, allocations: 7.922 kB / 0.9126 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.06346, allocations: 4 kB / 0.9126 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003672/0.06383, allocations: 427 kB / 0.913 GB, free: 124 kB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.06383, allocations: 0 / 0.913 GB, free: 124 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007422/0.06457, allocations: 287.3 kB / 0.9133 GB, free: 15.84 MB / 0.8386 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.0001906/0.06476, allocations: 97.12 kB / 0.9134 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000526/0.06529, allocations: 476.4 kB / 0.9138 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.06529, allocations: 1 kB / 0.9138 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.511e-05/0.06531, allocations: 23.73 kB / 0.9138 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.06572, allocations: 48.52 kB / 0.9139 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.06745, allocations: 1.381 MB / 0.9152 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.0678, allocations: 313.5 kB / 0.9155 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003921/0.06819, allocations: 305.2 kB / 0.9158 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.06826, allocations: 52.48 kB / 0.9159 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of SimCode: time 1.963e-06/0.06826, allocations: 0 / 0.9159 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of Templates: time 0.008181/0.07644, allocations: 4.543 MB / 0.9203 GB, free: 8.625 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.0193607760593295]