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.001156/0.001156, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001287/0.001287, allocations: 177.3 kB / 15.95 MB, free: 216 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.466/1.466, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.763/2.763, allocations: 436.5 MB / 0.7104 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 8 kB / 0.8708 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9181/0.9185, allocations: 153.6 MB / 1.021 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.003287/0.9218, allocations: 2.389 MB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002839/0.9247, allocations: 1.837 MB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.9249, allocations: 4 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.9251, allocations: 31.75 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004481/0.9255, allocations: 115.6 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006872/0.9262, allocations: 211.4 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.9265, allocations: 171.6 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006353/0.9272, allocations: 354.4 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.9273, allocations: 79.75 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.9276, allocations: 115.6 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.9276, allocations: 8 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004593/0.9281, allocations: 243.6 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.9282, allocations: 71.81 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/0.9283, allocations: 65.58 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004085/0.9287, allocations: 333.2 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.9287, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.589e-06/0.9287, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.9287, allocations: 3.938 kB / 1.027 GB, free: 11.12 MB / 0.7794 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.0009262/0.9296, allocations: 0.5224 MB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.9297, allocations: 15.98 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008282/0.9305, allocations: 123.6 kB / 1.027 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.9309, allocations: 248.3 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.9309, allocations: 16.42 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.931, allocations: 20 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006623/0.9316, allocations: 381.9 kB / 1.028 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.9317, allocations: 4 kB / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.9317, allocations: 8 kB / 1.028 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.333e-05/0.9318, allocations: 23.98 kB / 1.028 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006616/0.9324, allocations: 371.6 kB / 1.028 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.9345, allocations: 1.726 MB / 1.03 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.9351, allocations: 344.8 kB / 1.03 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.9353, allocations: 93.08 kB / 1.03 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.9354, allocations: 38.56 kB / 1.03 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.412e-06/0.9354, allocations: 0 / 1.03 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.001196/0.9366, allocations: 0.5683 MB / 1.031 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.9366, allocations: 85 kB / 1.031 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.9368, allocations: 182.6 kB / 1.031 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.9368, allocations: 29.7 kB / 1.031 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/0.9369, allocations: 144.4 kB / 1.031 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.33e-05/0.937, allocations: 90.73 kB / 1.032 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.775e-05/0.937, allocations: 4 kB / 1.032 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.9372, allocations: 330.8 kB / 1.032 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.9375, allocations: 155.9 kB / 1.032 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.9378, allocations: 233.3 kB / 1.032 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.9381, allocations: 190.1 kB / 1.032 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.9381, allocations: 3.938 kB / 1.032 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007367/0.9389, allocations: 440.4 kB / 1.033 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004306/0.9393, allocations: 0.8731 MB / 1.034 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.9393, allocations: 0 / 1.034 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.9393, allocations: 4 kB / 1.034 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/0.9398, allocations: 107.8 kB / 1.034 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.9399, allocations: 11.97 kB / 1.034 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.9401, allocations: 43.81 kB / 1.034 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.9401, allocations: 12 kB / 1.034 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.9402, allocations: 4 kB / 1.034 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006646/0.9408, allocations: 379.6 kB / 1.034 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.9408, allocations: 0 / 1.034 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-06/0.9409, allocations: 7.938 kB / 1.034 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.9413, allocations: 95.88 kB / 1.034 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.9413, allocations: 4 kB / 1.034 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.9415, allocations: 35.81 kB / 1.034 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.9416, allocations: 12.17 kB / 1.034 GB, free: 2.754 MB / 0.7794 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 (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002207/0.9418, allocations: 233 kB / 1.035 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.9419, allocations: 23.67 kB / 1.035 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008812/0.9428, allocations: 437.4 kB / 1.035 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.9428, allocations: 4 kB / 1.035 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.9428, allocations: 0 / 1.035 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.9428, allocations: 4 kB / 1.035 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.9445, allocations: 1.047 MB / 1.036 GB, free: 0.9219 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.9445, allocations: 4 kB / 1.036 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.9449, allocations: 87.86 kB / 1.036 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.9449, allocations: 4 kB / 1.036 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.945, allocations: 8 kB / 1.036 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.945, allocations: 8 kB / 1.036 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.945, allocations: 8.125 kB / 1.036 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007841/0.9458, allocations: 0.6415 MB / 1.037 GB, free: 96 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.946, allocations: 128.8 kB / 1.037 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.946, allocations: 7.984 kB / 1.037 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.9462, allocations: 23.97 kB / 1.037 GB, free: 15.92 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.9464, allocations: 31.84 kB / 1.037 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.9464, allocations: 8 kB / 1.037 GB, free: 15.88 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001402/0.9465, allocations: 148.7 kB / 1.037 GB, free: 15.73 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9465, allocations: 4 kB / 1.037 GB, free: 15.73 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005724/0.9471, allocations: 108 kB / 1.037 GB, free: 15.62 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001963/0.9473, allocations: 115.2 kB / 1.037 GB, free: 15.5 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009767/0.9483, allocations: 0.5505 MB / 1.038 GB, free: 14.95 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9483, allocations: 0 / 1.038 GB, free: 14.95 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.9486, allocations: 192.8 kB / 1.038 GB, free: 14.76 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.949, allocations: 31.97 kB / 1.038 GB, free: 14.73 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.95, allocations: 0.675 MB / 1.039 GB, free: 14.02 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.9505, allocations: 0.7725 MB / 1.04 GB, free: 13.22 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003377/0.9508, allocations: 118.2 kB / 1.04 GB, free: 13.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.541e-05/0.9509, allocations: 23.44 kB / 1.04 GB, free: 13.08 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.9509, allocations: 0 / 1.04 GB, free: 13.08 MB / 0.795 GB Notification: Performance of Templates: time 0.006308/0.9572, allocations: 2.847 MB / 1.042 GB, free: 10.26 MB / 0.795 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","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches