Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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 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.OnePhase.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_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.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_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009509/0.0009508, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001037/0.001037, allocations: 172.7 kB / 15.95 MB, free: 208 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.537/1.537, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.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.553/2.553, allocations: 390.9 MB / 0.666 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003845, allocations: 16 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9447/0.9451, allocations: 142.4 MB / 0.9544 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003237/0.9484, allocations: 2.363 MB / 0.9568 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002859/0.9512, allocations: 1.864 MB / 0.9586 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.9514, allocations: 5.75 kB / 0.9586 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.9516, allocations: 31.88 kB / 0.9586 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000448/0.9521, allocations: 142.5 kB / 0.9587 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.9526, allocations: 205.3 kB / 0.9589 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003862/0.953, allocations: 373.9 kB / 0.9593 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005733/0.9536, allocations: 340.5 kB / 0.9596 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.9538, allocations: 109.9 kB / 0.9597 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.9541, allocations: 140.8 kB / 0.9599 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.9541, allocations: 9.781 kB / 0.9599 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004497/0.9546, allocations: 258.1 kB / 0.9601 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.9547, allocations: 88.22 kB / 0.9602 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.9547, allocations: 67.89 kB / 0.9603 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.9551, allocations: 336.3 kB / 0.9606 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9552, allocations: 4 kB / 0.9606 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9552, allocations: 0 / 0.9606 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.9552, allocations: 0.8125 kB / 0.9606 GB, free: 3.098 MB / 0.7169 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.0008105/0.956, allocations: 0.5226 MB / 0.9611 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.956, allocations: 8.938 kB / 0.9611 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007724/0.9568, allocations: 109.1 kB / 0.9612 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.9571, allocations: 247.5 kB / 0.9614 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.9571, allocations: 12.31 kB / 0.9615 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.9572, allocations: 21.06 kB / 0.9615 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006489/0.9578, allocations: 385.2 kB / 0.9618 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.9579, allocations: 9.031 kB / 0.9619 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.9579, allocations: 10.02 kB / 0.9619 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.59e-05/0.958, allocations: 21.05 kB / 0.9619 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006398/0.9586, allocations: 372.1 kB / 0.9622 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.9603, allocations: 1.745 MB / 0.9639 GB, free: 228 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/0.9609, allocations: 343.6 kB / 0.9643 GB, free: 24 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.9613, allocations: 187.7 kB / 0.9645 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.9614, allocations: 88.95 kB / 0.9645 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.9615, allocations: 40.08 kB / 0.9646 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.9615, allocations: 4 kB / 0.9646 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35): time 0.007087/0.9686, allocations: 2.067 MB / 0.9666 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.9687, allocations: 85.19 kB / 0.9667 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.9689, allocations: 183.3 kB / 0.9669 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.9689, allocations: 30.73 kB / 0.9669 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.969, allocations: 150.6 kB / 0.967 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.9692, allocations: 121.3 kB / 0.9671 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.9692, allocations: 5.062 kB / 0.9671 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.9693, allocations: 333.2 kB / 0.9675 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.9698, allocations: 261.3 kB / 0.9677 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/0.9705, allocations: 340.3 kB / 0.968 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005746/0.9711, allocations: 290.5 kB / 0.9683 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.9711, allocations: 0.9688 kB / 0.9683 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001239/0.9723, allocations: 0.6524 MB / 0.969 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.9724, allocations: 161.1 kB / 0.9691 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.9725, allocations: 6.578 kB / 0.9691 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.9725, allocations: 4.031 kB / 0.9691 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008445/0.9733, allocations: 157.1 kB / 0.9693 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.9734, allocations: 7.969 kB / 0.9693 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.9738, allocations: 63.11 kB / 0.9693 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.9738, allocations: 11.75 kB / 0.9693 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.9738, allocations: 2.969 kB / 0.9693 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/0.9751, allocations: 0.5804 MB / 0.9699 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.9751, allocations: 2.875 kB / 0.9699 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.9751, allocations: 8.281 kB / 0.9699 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007724/0.9759, allocations: 155.1 kB / 0.9701 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.9759, allocations: 7.656 kB / 0.9701 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.9762, allocations: 57 kB / 0.9701 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.9763, allocations: 19.42 kB / 0.9702 GB, free: 12.47 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002539/0.9766, allocations: 247 kB / 0.9704 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.9767, allocations: 21.81 kB / 0.9704 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.9781, allocations: 0.6878 MB / 0.9711 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.9782, allocations: 8.656 kB / 0.9711 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.9782, allocations: 0 / 0.9711 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.9782, allocations: 1.25 kB / 0.9711 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.9805, allocations: 1.382 MB / 0.9724 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.9805, allocations: 1.062 kB / 0.9724 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/0.9811, allocations: 119.9 kB / 0.9726 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.9812, allocations: 4.406 kB / 0.9726 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.9812, allocations: 8.25 kB / 0.9726 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.469e-05/0.9812, allocations: 19.88 kB / 0.9726 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.9812, allocations: 2.25 kB / 0.9726 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.9823, allocations: 0.7245 MB / 0.9733 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.9825, allocations: 141.7 kB / 0.9734 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.9826, allocations: 7.812 kB / 0.9734 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.9829, allocations: 43.64 kB / 0.9735 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.919e-05/0.983, allocations: 33.53 kB / 0.9735 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.983, allocations: 13.56 kB / 0.9735 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001507/0.9832, allocations: 143.9 kB / 0.9737 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9832, allocations: 1.375 kB / 0.9737 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007294/0.9839, allocations: 142.6 kB / 0.9738 GB, free: 9.91 MB / 0.7325 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 (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.0002438/0.9842, allocations: 140.8 kB / 0.9739 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.9858, allocations: 0.8851 MB / 0.9748 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9859, allocations: 0.75 kB / 0.9748 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004857/0.9864, allocations: 267.9 kB / 0.9751 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/0.9869, allocations: 39.8 kB / 0.9751 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.9884, allocations: 0.8283 MB / 0.9759 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.9889, allocations: 0.7787 MB / 0.9767 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005804/0.9894, allocations: 172.8 kB / 0.9768 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.9896, allocations: 37.8 kB / 0.9769 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.9896, allocations: 0 / 0.9769 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of Templates: time 0.009704/0.9993, allocations: 4.384 MB / 0.9811 GB, free: 3.426 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches