Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.551/2.551, allocations: 393.5 MB / 408.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002159/0.002159, allocations: 175.9 kB / 0.4902 GB, free: 2.305 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.67/1.67, allocations: 223.1 MB / 0.7992 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009876/0.0009876, allocations: 99.95 kB / 0.9396 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004559, allocations: 8.047 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3388, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2406/0.5795, allocations: 179.3 MB / 1.404 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.5798, allocations: 99.92 kB / 1.404 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7983/1.378, allocations: 20.08 MB / 1.424 GB, free: 174.5 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.735e-06/1.378, allocations: 0.9062 kB / 1.424 GB, free: 174.5 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.306e-05/1.378, allocations: 3.969 kB / 1.424 GB, free: 174.5 MB / 0.9011 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.001096/1.379, allocations: 0.5543 MB / 1.425 GB, free: 174 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 7.243e-05/1.379, allocations: 14.47 kB / 1.425 GB, free: 174 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008389/1.38, allocations: 98.78 kB / 1.425 GB, free: 174 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/1.381, allocations: 257.9 kB / 1.425 GB, free: 173.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/1.381, allocations: 11.81 kB / 1.425 GB, free: 173.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/1.381, allocations: 20.41 kB / 1.425 GB, free: 173.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006847/1.381, allocations: 383.4 kB / 1.425 GB, free: 173.7 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/1.381, allocations: 5.766 kB / 1.425 GB, free: 173.7 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/1.382, allocations: 13.11 kB / 1.425 GB, free: 173.7 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-05/1.382, allocations: 27.09 kB / 1.425 GB, free: 173.7 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006999/1.382, allocations: 374.9 kB / 1.426 GB, free: 173.7 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/1.384, allocations: 1.723 MB / 1.427 GB, free: 172.4 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006823/1.385, allocations: 347.5 kB / 1.428 GB, free: 172.4 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/1.385, allocations: 92.81 kB / 1.428 GB, free: 172.3 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/1.385, allocations: 40.89 kB / 1.428 GB, free: 172.2 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=25): time 2.355e-06/1.385, allocations: 0 / 1.428 GB, free: 172.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=35): time 0.006846/1.392, allocations: 1.974 MB / 1.43 GB, free: 172 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/1.392, allocations: 80.83 kB / 1.43 GB, free: 171.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/1.392, allocations: 172.3 kB / 1.43 GB, free: 171.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/1.392, allocations: 30.8 kB / 1.43 GB, free: 171.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/1.392, allocations: 149 kB / 1.43 GB, free: 171.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.467e-05/1.392, allocations: 112.2 kB / 1.43 GB, free: 171.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/1.392, allocations: 9.031 kB / 1.43 GB, free: 171.6 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.218e-05/1.393, allocations: 334.9 kB / 1.431 GB, free: 171.2 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/1.393, allocations: 259.4 kB / 1.431 GB, free: 171.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005371/1.394, allocations: 339.1 kB / 1.431 GB, free: 171.1 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005356/1.394, allocations: 294.8 kB / 1.432 GB, free: 171 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.394, allocations: 0 / 1.432 GB, free: 171 MB / 0.9011 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001188/1.395, allocations: 0.6577 MB / 1.432 GB, free: 170.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002249/1.396, allocations: 0.8869 MB / 1.433 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.396, allocations: 1.688 kB / 1.433 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/1.396, allocations: 4.625 kB / 1.433 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/1.397, allocations: 171.4 kB / 1.433 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/1.397, allocations: 7.484 kB / 1.433 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/1.397, allocations: 50.81 kB / 1.433 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/1.397, allocations: 15.69 kB / 1.433 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/1.397, allocations: 5.156 kB / 1.433 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0011/1.398, allocations: 0.5898 MB / 1.434 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/1.398, allocations: 2.625 kB / 1.434 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/1.398, allocations: 4.875 kB / 1.434 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009641/1.399, allocations: 172.3 kB / 1.434 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/1.399, allocations: 4.656 kB / 1.434 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/1.4, allocations: 52.72 kB / 1.434 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/1.4, allocations: 15.98 kB / 1.434 GB, free: 169.7 MB / 0.9011 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.0002499/1.4, allocations: 245.9 kB / 1.434 GB, free: 169.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.075e-05/1.4, allocations: 19.16 kB / 1.434 GB, free: 169.4 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/1.401, allocations: 0.684 MB / 1.435 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.401, allocations: 3.688 kB / 1.435 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.401, allocations: 0 / 1.435 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.402, allocations: 8.797 kB / 1.435 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/1.404, allocations: 1.379 MB / 1.436 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/1.404, allocations: 2.906 kB / 1.436 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000559/1.404, allocations: 116.8 kB / 1.436 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/1.404, allocations: 11.53 kB / 1.436 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/1.404, allocations: 12.56 kB / 1.437 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/1.404, allocations: 3.406 kB / 1.437 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.404, allocations: 10.41 kB / 1.437 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/1.405, allocations: 0.8247 MB / 1.437 GB, free: 168 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/1.406, allocations: 146.2 kB / 1.437 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/1.406, allocations: 11.12 kB / 1.437 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/1.406, allocations: 40.7 kB / 1.438 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/1.406, allocations: 36.72 kB / 1.438 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/1.406, allocations: 12.41 kB / 1.438 GB, free: 167.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001285/1.406, allocations: 152.7 kB / 1.438 GB, free: 167.7 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/1.406, allocations: 4 kB / 1.438 GB, free: 167.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008085/1.407, allocations: 164.9 kB / 1.438 GB, free: 167.7 MB / 0.9011 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.0002431/1.407, allocations: 154.6 kB / 1.438 GB, free: 167.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001676/1.409, allocations: 0.868 MB / 1.439 GB, free: 167.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.409, allocations: 1.031 kB / 1.439 GB, free: 167.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004704/1.41, allocations: 266.7 kB / 1.439 GB, free: 167.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/1.41, allocations: 36.84 kB / 1.439 GB, free: 167.3 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/1.411, allocations: 0.8167 MB / 1.44 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/1.411, allocations: 0.7919 MB / 1.441 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005499/1.412, allocations: 174 kB / 1.441 GB, free: 166 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/1.412, allocations: 31.02 kB / 1.441 GB, free: 166 MB / 0.9011 GB Notification: Performance of SimCode: time 7.82e-07/1.412, allocations: 0 / 1.441 GB, free: 166 MB / 0.9011 GB Notification: Performance of Templates: time 0.009021/1.421, allocations: 4.316 MB / 1.445 GB, free: 163.9 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches