Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.ACACConverter,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.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,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.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001127, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.009332/0.009332, allocations: 174.8 kB / 16.27 MB, free: 6.648 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.502/1.502, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.995/2.995, allocations: 462.6 MB / 0.7363 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005598/0.00056, allocations: 13.06 kB / 0.9027 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3951, allocations: 159.6 MB / 1.059 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.003634/0.3988, allocations: 2.503 MB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003353/0.4021, allocations: 2.006 MB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.4024, allocations: 7.938 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.4026, allocations: 27.78 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006101/0.4032, allocations: 187.3 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007753/0.404, allocations: 238.4 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005639/0.4046, allocations: 458.8 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007338/0.4053, allocations: 366.3 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.4056, allocations: 103.6 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.4059, allocations: 151.5 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.406, allocations: 12 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007786/0.4068, allocations: 451.1 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.4069, allocations: 83.72 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.4071, allocations: 129.2 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007636/0.4078, allocations: 466.9 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4079, allocations: 0 / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4079, allocations: 0 / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.617e-06/0.4079, allocations: 0 / 1.066 GB, free: 13.88 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009842/0.4089, allocations: 0.5198 MB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4089, allocations: 15.97 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008487/0.4098, allocations: 108.5 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.4102, allocations: 252.4 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.4102, allocations: 20.8 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.029e-05/0.4103, allocations: 24.12 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007434/0.4111, allocations: 389.9 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.4111, allocations: 7.906 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.4111, allocations: 8 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.632e-05/0.4112, allocations: 23.98 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007087/0.4119, allocations: 371.6 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.4143, allocations: 1.741 MB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.415, allocations: 344.9 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.4154, allocations: 189.6 kB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.4156, allocations: 93.08 kB / 1.07 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.4156, allocations: 34.56 kB / 1.07 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 2.334e-06/0.4156, allocations: 7.938 kB / 1.07 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.007761/0.4234, allocations: 2.074 MB / 1.072 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.4234, allocations: 81.11 kB / 1.072 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.4237, allocations: 183.5 kB / 1.072 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.4237, allocations: 29.7 kB / 1.072 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.4238, allocations: 148.4 kB / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.424, allocations: 130.2 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.4241, allocations: 29.7 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.4242, allocations: 338.8 kB / 1.073 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.4247, allocations: 251.8 kB / 1.073 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.4253, allocations: 345.5 kB / 1.073 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.4264, allocations: 0.6229 MB / 1.074 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4264, allocations: 3.938 kB / 1.074 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001248/0.4277, allocations: 0.659 MB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.4278, allocations: 149 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4278, allocations: 8 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4278, allocations: 4 kB / 1.075 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000906/0.4287, allocations: 159.7 kB / 1.075 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.4288, allocations: 4 kB / 1.075 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/0.4292, allocations: 55.92 kB / 1.075 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.4293, allocations: 23.94 kB / 1.075 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.4293, allocations: 7.938 kB / 1.075 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001137/0.4304, allocations: 0.5932 MB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4304, allocations: 0 / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/0.4305, allocations: 4 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008405/0.4313, allocations: 152 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.4313, allocations: 4 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.4317, allocations: 51.94 kB / 1.076 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.4318, allocations: 15.98 kB / 1.076 GB, free: 3.203 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * 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.0002556/0.432, allocations: 248.9 kB / 1.076 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.203e-05/0.4321, allocations: 31.66 kB / 1.076 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.4336, allocations: 0.6886 MB / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.4336, allocations: 4 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.4336, allocations: 0 / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4336, allocations: 0 / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.436, allocations: 1.383 MB / 1.078 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.436, allocations: 4.25 kB / 1.078 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005807/0.4366, allocations: 127.8 kB / 1.078 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.4366, allocations: 4 kB / 1.078 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.4366, allocations: 11.98 kB / 1.078 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.4366, allocations: 4 kB / 1.078 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.047e-05/0.4367, allocations: 7.938 kB / 1.078 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.4378, allocations: 0.7307 MB / 1.079 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.438, allocations: 144.8 kB / 1.079 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.913e-05/0.438, allocations: 8 kB / 1.079 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.4384, allocations: 43.94 kB / 1.079 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.032e-05/0.4385, allocations: 31.84 kB / 1.079 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.4385, allocations: 12 kB / 1.079 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001289/0.4387, allocations: 147.1 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4387, allocations: 0 / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006448/0.4393, allocations: 148 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * 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.0002393/0.4396, allocations: 144.5 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001657/0.4412, allocations: 0.8721 MB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4412, allocations: 0 / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004752/0.4417, allocations: 268.3 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.4423, allocations: 52.41 kB / 1.081 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.4437, allocations: 0.8169 MB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.4441, allocations: 0.7799 MB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005564/0.4447, allocations: 166.8 kB / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.4448, allocations: 27.44 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of SimCode: time 4.5e-07/0.4448, allocations: 0 / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.009879/0.4547, allocations: 4.499 MB / 1.087 GB, free: 7.598 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches