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.387/1.387, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009705/0.0009706, allocations: 168.9 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0009334/0.0009335, allocations: 87.38 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.829e-05/1.83e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2589, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8225/1.082, allocations: 160.9 MB / 1.042 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/1.082, allocations: 92 kB / 1.042 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04317/1.125, allocations: 18.05 MB / 1.06 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.724e-06/1.125, allocations: 0 / 1.06 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.963e-05/1.125, allocations: 7.984 kB / 1.06 GB, free: 11.71 MB / 0.6823 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.0008562/1.126, allocations: 0.5201 MB / 1.061 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.126, allocations: 19.98 kB / 1.061 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007823/1.127, allocations: 102.7 kB / 1.061 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/1.127, allocations: 247.1 kB / 1.061 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/1.127, allocations: 8 kB / 1.061 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/1.127, allocations: 15.98 kB / 1.061 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004306/1.128, allocations: 255.5 kB / 1.061 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/1.128, allocations: 339.1 kB / 1.062 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/1.128, allocations: 0 / 1.062 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/1.128, allocations: 0 / 1.062 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.249e-05/1.128, allocations: 27.42 kB / 1.062 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/1.13, allocations: 1.691 MB / 1.063 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/1.131, allocations: 311.8 kB / 1.064 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/1.131, allocations: 167.3 kB / 1.064 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/1.131, allocations: 89.09 kB / 1.064 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/1.131, allocations: 42 kB / 1.064 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.362e-06/1.131, allocations: 0 / 1.064 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.002732/1.134, allocations: 1.09 MB / 1.065 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/1.134, allocations: 85.2 kB / 1.065 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/1.134, allocations: 157.4 kB / 1.065 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/1.134, allocations: 25.7 kB / 1.065 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.349e-05/1.134, allocations: 150.3 kB / 1.065 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.989e-05/1.134, allocations: 111.9 kB / 1.065 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/1.134, allocations: 0 / 1.065 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.134, allocations: 333.4 kB / 1.066 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/1.135, allocations: 211.2 kB / 1.066 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/1.135, allocations: 291.7 kB / 1.066 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005568/1.136, allocations: 301.7 kB / 1.066 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/1.136, allocations: 4 kB / 1.066 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001006/1.137, allocations: 0.5997 MB / 1.067 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003249/1.137, allocations: 0.8703 MB / 1.068 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.137, allocations: 4 kB / 1.068 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/1.137, allocations: 11.95 kB / 1.068 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008349/1.138, allocations: 151.3 kB / 1.068 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.138, allocations: 4 kB / 1.068 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/1.138, allocations: 39.94 kB / 1.068 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/1.138, allocations: 19.98 kB / 1.068 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/1.138, allocations: 4 kB / 1.068 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008441/1.139, allocations: 458 kB / 1.069 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.139, allocations: 4 kB / 1.069 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/1.139, allocations: 4 kB / 1.069 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/1.14, allocations: 140 kB / 1.069 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.14, allocations: 4 kB / 1.069 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/1.14, allocations: 31.95 kB / 1.069 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/1.14, allocations: 15.98 kB / 1.069 GB, free: 3.777 MB / 0.6823 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 () * 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.000125/1.14, allocations: 116.8 kB / 1.069 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/1.14, allocations: 19.81 kB / 1.069 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/1.142, allocations: 0.6207 MB / 1.069 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.142, allocations: 4 kB / 1.069 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.142, allocations: 0 / 1.069 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/1.142, allocations: 3.984 kB / 1.07 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/1.144, allocations: 1.273 MB / 1.071 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.144, allocations: 4 kB / 1.071 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/1.144, allocations: 115.8 kB / 1.071 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/1.144, allocations: 4 kB / 1.071 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/1.144, allocations: 4 kB / 1.071 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/1.144, allocations: 4 kB / 1.071 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.144, allocations: 0 / 1.071 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009178/1.145, allocations: 0.7727 MB / 1.072 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/1.145, allocations: 142.5 kB / 1.072 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/1.145, allocations: 7.953 kB / 1.072 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/1.146, allocations: 35.95 kB / 1.072 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/1.146, allocations: 26.64 kB / 1.072 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/1.146, allocations: 25.81 kB / 1.072 GB, free: 1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.667e-05/1.146, allocations: 128.5 kB / 1.072 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/1.146, allocations: 4 kB / 1.072 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006918/1.147, allocations: 143.9 kB / 1.072 GB, free: 0.7461 MB / 0.6823 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 () * 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.000243/1.147, allocations: 143.1 kB / 1.072 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009503/1.148, allocations: 0.6872 MB / 1.073 GB, free: 140 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.148, allocations: 5.125 kB / 1.073 GB, free: 136 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002837/1.148, allocations: 215.8 kB / 1.073 GB, free: 15.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/1.149, allocations: 45.67 kB / 1.073 GB, free: 15.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009333/1.15, allocations: 0.5366 MB / 1.074 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/1.15, allocations: 0.7917 MB / 1.074 GB, free: 14.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005312/1.15, allocations: 183.1 kB / 1.075 GB, free: 14.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/1.151, allocations: 35.11 kB / 1.075 GB, free: 14.44 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/1.151, allocations: 0 / 1.075 GB, free: 14.44 MB / 0.698 GB Notification: Performance of Templates: time 0.009361/1.16, allocations: 4.382 MB / 1.079 GB, free: 10.09 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