Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 186.1 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008796/0.0008798, allocations: 101.9 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003643, allocations: 8.688 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2701, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7068/0.977, allocations: 160.7 MB / 1.057 GB, free: 153.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/0.9773, allocations: 96.73 kB / 1.057 GB, free: 153.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04761/1.025, allocations: 18.22 MB / 1.075 GB, free: 151.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/1.025, allocations: 1.125 kB / 1.075 GB, free: 151.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.722e-05/1.025, allocations: 3.812 kB / 1.075 GB, free: 151.2 MB / 0.698 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.001177/1.026, allocations: 0.5488 MB / 1.075 GB, free: 150.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/1.026, allocations: 12.53 kB / 1.075 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009458/1.027, allocations: 104 kB / 1.076 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/1.028, allocations: 256.3 kB / 1.076 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/1.028, allocations: 16.06 kB / 1.076 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/1.028, allocations: 19.77 kB / 1.076 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006852/1.028, allocations: 381.1 kB / 1.076 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/1.029, allocations: 8.688 kB / 1.076 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/1.029, allocations: 10.36 kB / 1.076 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.196e-05/1.029, allocations: 19.11 kB / 1.076 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006941/1.029, allocations: 377.7 kB / 1.077 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/1.031, allocations: 1.732 MB / 1.078 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006767/1.032, allocations: 338 kB / 1.079 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/1.032, allocations: 100.2 kB / 1.079 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/1.032, allocations: 35.78 kB / 1.079 GB, free: 148.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/1.032, allocations: 1.188 kB / 1.079 GB, free: 148.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.006871/1.039, allocations: 1.974 MB / 1.081 GB, free: 147.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/1.039, allocations: 81.02 kB / 1.081 GB, free: 147.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/1.039, allocations: 166.1 kB / 1.081 GB, free: 147.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/1.039, allocations: 28.7 kB / 1.081 GB, free: 147.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/1.039, allocations: 150.3 kB / 1.081 GB, free: 147.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/1.04, allocations: 127.7 kB / 1.081 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/1.04, allocations: 5.344 kB / 1.081 GB, free: 147.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.04, allocations: 332.2 kB / 1.082 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004879/1.04, allocations: 253.2 kB / 1.082 GB, free: 147.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/1.041, allocations: 345.7 kB / 1.082 GB, free: 147 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/1.041, allocations: 299.4 kB / 1.082 GB, free: 146.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-06/1.041, allocations: 0 / 1.082 GB, free: 146.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001482/1.043, allocations: 0.6521 MB / 1.083 GB, free: 146.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000218/1.043, allocations: 0.874 MB / 1.084 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.043, allocations: 1.5 kB / 1.084 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/1.043, allocations: 9.531 kB / 1.084 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/1.044, allocations: 177.7 kB / 1.084 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/1.044, allocations: 3.719 kB / 1.084 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004313/1.045, allocations: 50.56 kB / 1.084 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/1.045, allocations: 15.94 kB / 1.084 GB, free: 145.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/1.045, allocations: 7.625 kB / 1.084 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001443/1.046, allocations: 0.5896 MB / 1.085 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.046, allocations: 2.219 kB / 1.085 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/1.046, allocations: 4.594 kB / 1.085 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/1.047, allocations: 172.5 kB / 1.085 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/1.047, allocations: 4.656 kB / 1.085 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/1.048, allocations: 43.86 kB / 1.085 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/1.048, allocations: 19.64 kB / 1.085 GB, free: 145.6 MB / 0.698 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.0002636/1.048, allocations: 243.2 kB / 1.085 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.313e-05/1.048, allocations: 22.53 kB / 1.085 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/1.05, allocations: 0.6908 MB / 1.086 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/1.05, allocations: 5.125 kB / 1.086 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/1.05, allocations: 3.938 kB / 1.086 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.05, allocations: 1.531 kB / 1.086 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/1.052, allocations: 1.383 MB / 1.087 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.052, allocations: 0 / 1.087 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/1.052, allocations: 116.4 kB / 1.087 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.052, allocations: 3.938 kB / 1.087 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/1.052, allocations: 23.59 kB / 1.087 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/1.052, allocations: 11.69 kB / 1.087 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.052, allocations: 48 / 1.087 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008214/1.053, allocations: 0.8247 MB / 1.088 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/1.053, allocations: 140.4 kB / 1.088 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/1.053, allocations: 7.969 kB / 1.088 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/1.054, allocations: 51.44 kB / 1.088 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/1.054, allocations: 23.62 kB / 1.088 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/1.054, allocations: 11.91 kB / 1.088 GB, free: 143.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.88e-05/1.054, allocations: 149.8 kB / 1.089 GB, free: 143.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/1.054, allocations: 0 / 1.089 GB, free: 143.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007184/1.055, allocations: 167.9 kB / 1.089 GB, free: 143.3 MB / 0.698 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.0002176/1.055, allocations: 153.3 kB / 1.089 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001358/1.056, allocations: 0.874 MB / 1.09 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.056, allocations: 1.281 kB / 1.09 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/1.057, allocations: 263.8 kB / 1.09 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/1.057, allocations: 41.7 kB / 1.09 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/1.058, allocations: 0.8257 MB / 1.091 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/1.058, allocations: 0.7926 MB / 1.092 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004685/1.059, allocations: 170.8 kB / 1.092 GB, free: 141 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/1.059, allocations: 31.42 kB / 1.092 GB, free: 140.9 MB / 0.698 GB Notification: Performance of SimCode: time 8.01e-07/1.059, allocations: 0 / 1.092 GB, free: 140.9 MB / 0.698 GB Notification: Performance of Templates: time 0.00652/1.065, allocations: 4.319 MB / 1.096 GB, free: 136.6 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches