Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.433/1.433, allocations: 249.3 MB / 261.8 MB, free: 5.98 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.001137/0.001137, allocations: 176.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0009332/0.0009336, allocations: 94.5 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.331e-05, allocations: 4 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1929, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6841/0.877, allocations: 175.6 MB / 1.063 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.8774, allocations: 95.44 kB / 1.063 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07004/0.9474, allocations: 28.7 MB / 1.091 GB, free: 1.234 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9475, allocations: 0 / 1.091 GB, free: 1.234 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.86e-05/0.9475, allocations: 8 kB / 1.091 GB, free: 1.227 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001131/0.9487, allocations: 0.6811 MB / 1.092 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.9487, allocations: 12.03 kB / 1.092 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/0.9513, allocations: 0.5681 MB / 1.093 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008378/0.9521, allocations: 475.5 kB / 1.093 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.9522, allocations: 19.41 kB / 1.093 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.969e-05/0.9522, allocations: 35.47 kB / 1.093 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008864/0.9531, allocations: 0.5845 MB / 1.094 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.9532, allocations: 3.938 kB / 1.094 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.052e-05/0.9532, allocations: 17.8 kB / 1.094 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/0.9533, allocations: 19.72 kB / 1.094 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007793/0.954, allocations: 0.5111 MB / 1.094 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004062/0.9581, allocations: 2.861 MB / 1.097 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007776/0.9589, allocations: 350.8 kB / 1.097 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.9591, allocations: 165.3 kB / 1.098 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.9593, allocations: 97.02 kB / 1.098 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.9593, allocations: 37.75 kB / 1.098 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.9593, allocations: 0 / 1.098 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.006079/0.9654, allocations: 2.031 MB / 1.1 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.9655, allocations: 81.11 kB / 1.1 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004608/0.966, allocations: 368.1 kB / 1.1 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.966, allocations: 29.08 kB / 1.1 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.9662, allocations: 246.5 kB / 1.1 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.119e-05/0.9663, allocations: 77.16 kB / 1.1 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.9663, allocations: 3.375 kB / 1.1 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.9664, allocations: 351.5 kB / 1.101 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.9668, allocations: 239.3 kB / 1.101 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.9672, allocations: 336.1 kB / 1.101 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.9676, allocations: 270.7 kB / 1.102 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9676, allocations: 0 / 1.102 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003006/0.9706, allocations: 1.14 MB / 1.103 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003101/0.9709, allocations: 0.794 MB / 1.103 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.971, allocations: 0 / 1.103 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002534/0.9735, allocations: 0.6297 MB / 1.104 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.9742, allocations: 135.8 kB / 1.104 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003757/0.9779, allocations: 3.113 MB / 1.107 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007684/0.9787, allocations: 119.9 kB / 1.107 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.9788, allocations: 12 kB / 1.107 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.9788, allocations: 4 kB / 1.107 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002192/0.981, allocations: 0.8905 MB / 1.108 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.981, allocations: 4.031 kB / 1.108 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/0.9825, allocations: 396.3 kB / 1.109 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006245/0.9831, allocations: 143.8 kB / 1.109 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/0.9862, allocations: 2.401 MB / 1.111 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000757/0.987, allocations: 111.9 kB / 1.111 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.987, allocations: 12 kB / 1.111 GB, free: 13.72 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002206/0.9873, allocations: 124.8 kB / 1.111 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.9874, allocations: 39.58 kB / 1.111 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/0.9905, allocations: 1.119 MB / 1.112 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.9905, allocations: 0 / 1.112 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.9905, allocations: 4 kB / 1.112 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.9905, allocations: 0 / 1.112 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003866/0.9944, allocations: 1.793 MB / 1.114 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9944, allocations: 3.938 kB / 1.114 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.9948, allocations: 88 kB / 1.114 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002419/0.9972, allocations: 0.6258 MB / 1.115 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.9973, allocations: 4 kB / 1.115 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005175/1.002, allocations: 4.372 MB / 1.119 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.002, allocations: 19.86 kB / 1.119 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002808/1.005, allocations: 1.16 MB / 1.12 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/1.006, allocations: 172.6 kB / 1.12 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.689e-05/1.006, allocations: 12 kB / 1.12 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005309/1.006, allocations: 87.86 kB / 1.121 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/1.006, allocations: 27.91 kB / 1.121 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/1.006, allocations: 7.984 kB / 1.121 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004013/1.007, allocations: 306.1 kB / 1.121 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.71e-07/1.007, allocations: 0 / 1.121 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008292/1.008, allocations: 219.9 kB / 1.121 GB, free: 3.125 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003001/1.008, allocations: 167.2 kB / 1.121 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00209/1.01, allocations: 1.192 MB / 1.122 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.01, allocations: 4 kB / 1.122 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000847/1.011, allocations: 0.5791 MB / 1.123 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/1.011, allocations: 107.5 kB / 1.123 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/1.013, allocations: 0.7634 MB / 1.124 GB, free: 232 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/1.013, allocations: 0.9213 MB / 1.125 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006446/1.014, allocations: 219.1 kB / 1.125 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/1.014, allocations: 31.41 kB / 1.125 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of SimCode: time 2.7e-07/1.014, allocations: 0 / 1.125 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of Templates: time 0.01735/1.031, allocations: 12.18 MB / 1.137 GB, free: 2.898 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches