Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008989/0.000899, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001198/0.001198, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.849/2.849, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003469, allocations: 15.22 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3983, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.007257/0.4056, allocations: 4.829 MB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006778/0.4124, allocations: 3.829 MB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006424/0.4131, allocations: 15.88 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003455/0.4135, allocations: 95.25 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.415, allocations: 0.5133 MB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.4163, allocations: 419 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001562/0.4179, allocations: 1.318 MB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.4192, allocations: 0.662 MB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006592/0.4199, allocations: 394.5 kB / 1.07 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008244/0.4207, allocations: 0.5178 MB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.4208, allocations: 36 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.422, allocations: 491.3 kB / 1.071 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000313/0.4223, allocations: 303.1 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.4225, allocations: 161.3 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.4238, allocations: 1.025 MB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4238, allocations: 0 / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4239, allocations: 0 / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.4239, allocations: 0 / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002055/0.4259, allocations: 1.02 MB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.426, allocations: 16.03 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008524/0.4345, allocations: 1.699 MB / 1.075 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.4358, allocations: 0.603 MB / 1.076 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.4358, allocations: 49.28 kB / 1.076 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.436, allocations: 63.92 kB / 1.076 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00451/0.4405, allocations: 1.901 MB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.4405, allocations: 7.938 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.4407, allocations: 23.98 kB / 1.078 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003201/0.441, allocations: 153.4 kB / 1.078 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006983/0.448, allocations: 2.616 MB / 1.08 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00993/0.4579, allocations: 6.661 MB / 1.087 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003063/0.461, allocations: 1.265 MB / 1.088 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002306/0.4634, allocations: 0.9031 MB / 1.089 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002298/0.4657, allocations: 1.479 MB / 1.09 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.4657, allocations: 46.5 kB / 1.09 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=73): time 3.496e-06/0.4658, allocations: 0 / 1.09 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of matching and sorting (n=107): time 0.02604/0.4918, allocations: 8.234 MB / 1.098 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/0.492, allocations: 90.11 kB / 1.098 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009153/0.4929, allocations: 0.577 MB / 1.099 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002127/0.4931, allocations: 41.7 kB / 1.099 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.4934, allocations: 415 kB / 1.099 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003898/0.4938, allocations: 366.7 kB / 1.1 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.827e-05/0.4939, allocations: 24 kB / 1.1 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.4941, allocations: 406.7 kB / 1.1 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002725/0.4969, allocations: 1.103 MB / 1.101 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002893/0.4998, allocations: 1.456 MB / 1.103 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002957/0.5027, allocations: 1.222 MB / 1.104 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.5028, allocations: 8 kB / 1.104 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01028/0.5131, allocations: 3.877 MB / 1.108 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003722/0.5135, allocations: 400.6 kB / 1.108 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.5135, allocations: 12 kB / 1.108 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004927/0.5184, allocations: 1.388 MB / 1.109 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/0.5204, allocations: 467.2 kB / 1.11 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/0.5357, allocations: 11.21 MB / 1.121 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/0.5379, allocations: 315.5 kB / 1.121 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.5381, allocations: 60.08 kB / 1.121 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.5381, allocations: 9.969 kB / 1.121 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009428/0.5475, allocations: 3.565 MB / 1.125 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/0.5476, allocations: 12 kB / 1.125 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003915/0.5515, allocations: 1.1 MB / 1.126 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/0.5538, allocations: 479.2 kB / 1.126 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/0.5676, allocations: 10.34 MB / 1.136 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.5699, allocations: 303.6 kB / 1.137 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.5701, allocations: 67.97 kB / 1.137 GB, free: 2.539 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006927/0.5708, allocations: 380.7 kB / 1.137 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.571, allocations: 86.92 kB / 1.137 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/0.5813, allocations: 3.77 MB / 1.141 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.5814, allocations: 8 kB / 1.141 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-05/0.5814, allocations: 11.94 kB / 1.141 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/0.5814, allocations: 3.984 kB / 1.141 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.5942, allocations: 5.484 MB / 1.146 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.5943, allocations: 4 kB / 1.146 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/0.5958, allocations: 363.4 kB / 1.147 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004325/0.6002, allocations: 1.248 MB / 1.148 GB, free: 7 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/0.6004, allocations: 39.97 kB / 1.148 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01421/0.6146, allocations: 10.72 MB / 1.158 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.802e-05/0.6147, allocations: 15.95 kB / 1.158 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009454/0.6242, allocations: 3.665 MB / 1.162 GB, free: 7.922 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000885/0.6251, allocations: 344.1 kB / 1.162 GB, free: 7.566 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.6253, allocations: 27.98 kB / 1.162 GB, free: 7.539 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.627, allocations: 307.5 kB / 1.162 GB, free: 7.238 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003669/0.6273, allocations: 112.1 kB / 1.163 GB, free: 7.129 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.6275, allocations: 47.97 kB / 1.163 GB, free: 7.082 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005848/0.628, allocations: 402.8 kB / 1.163 GB, free: 6.688 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6281, allocations: 0 / 1.163 GB, free: 6.688 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002563/0.6306, allocations: 0.6016 MB / 1.164 GB, free: 6.086 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002965/0.6309, allocations: 147 kB / 1.164 GB, free: 5.934 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01387/0.6448, allocations: 5.704 MB / 1.169 GB, free: 140 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/0.6449, allocations: 0 / 1.169 GB, free: 140 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.005102/0.65, allocations: 2.123 MB / 1.171 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.6513, allocations: 152.6 kB / 1.172 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00997/0.6613, allocations: 3.832 MB / 1.175 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009236/0.6623, allocations: 1.114 MB / 1.176 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002085/0.6644, allocations: 0.5422 MB / 1.177 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.6647, allocations: 83.38 kB / 1.177 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of SimCode: time 1.022e-06/0.6647, allocations: 0 / 1.177 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of Templates: time 0.04524/0.71, allocations: 25.92 MB / 1.202 GB, free: 14.36 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches