Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.609/1.609, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001111/0.001112, allocations: 186.4 kB / 326.5 MB, free: 2.254 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.979/1.979, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008638/0.0008638, allocations: 100.3 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003255, allocations: 9.375 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2433, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2046/0.448, allocations: 158.1 MB / 1.054 GB, free: 1.605 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/0.4484, allocations: 99.94 kB / 1.055 GB, free: 1.508 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5395/0.9879, allocations: 37.47 MB / 1.091 GB, free: 142.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.444e-06/0.9879, allocations: 0 / 1.091 GB, free: 142.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.807e-05/0.988, allocations: 23.98 kB / 1.091 GB, free: 142.6 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002081/0.9901, allocations: 0.954 MB / 1.092 GB, free: 141.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.9902, allocations: 8.031 kB / 1.092 GB, free: 141.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.9918, allocations: 218.8 kB / 1.092 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.9929, allocations: 0.5482 MB / 1.093 GB, free: 140.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.9929, allocations: 41.31 kB / 1.093 GB, free: 140.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.9931, allocations: 67.88 kB / 1.093 GB, free: 140.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.9944, allocations: 1.091 MB / 1.094 GB, free: 139.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.9945, allocations: 3.938 kB / 1.094 GB, free: 139.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.04e-05/0.9945, allocations: 32 kB / 1.094 GB, free: 139.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.705e-05/0.9946, allocations: 61.27 kB / 1.094 GB, free: 139.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008945/0.9955, allocations: 0.6879 MB / 1.095 GB, free: 138.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003998/0.9995, allocations: 5.776 MB / 1.1 GB, free: 132.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006881/1, allocations: 0.5917 MB / 1.101 GB, free: 131.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/1, allocations: 4 kB / 1.101 GB, free: 131.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/1, allocations: 34.91 kB / 1.101 GB, free: 131.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 2.174e-06/1, allocations: 3.938 kB / 1.101 GB, free: 131.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.003436/1.004, allocations: 1.909 MB / 1.103 GB, free: 129.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/1.004, allocations: 55.41 kB / 1.103 GB, free: 129.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/1.004, allocations: 402 kB / 1.103 GB, free: 129.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/1.004, allocations: 29.7 kB / 1.103 GB, free: 129.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/1.004, allocations: 395.1 kB / 1.104 GB, free: 128.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-05/1.004, allocations: 145.9 kB / 1.104 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/1.005, allocations: 8 kB / 1.104 GB, free: 128.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.986e-05/1.005, allocations: 366.8 kB / 1.104 GB, free: 128.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/1.005, allocations: 237 kB / 1.105 GB, free: 128.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/1.005, allocations: 405.4 kB / 1.105 GB, free: 127.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/1.006, allocations: 300.4 kB / 1.105 GB, free: 127.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.006, allocations: 0 / 1.105 GB, free: 127.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001362/1.007, allocations: 0.9523 MB / 1.106 GB, free: 126.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.007, allocations: 8 kB / 1.106 GB, free: 126.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.007, allocations: 4 kB / 1.106 GB, free: 126.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000836/1.008, allocations: 275.8 kB / 1.106 GB, free: 126.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/1.008, allocations: 91.81 kB / 1.106 GB, free: 126 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004727/1.013, allocations: 6.755 MB / 1.113 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/1.013, allocations: 27.97 kB / 1.113 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/1.013, allocations: 24 kB / 1.113 GB, free: 118.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (51): * Single equations (assignments): 47 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003512/1.014, allocations: 240.2 kB / 1.113 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.298e-05/1.014, allocations: 63.25 kB / 1.113 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/1.015, allocations: 0.8381 MB / 1.114 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.015, allocations: 7.938 kB / 1.114 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.015, allocations: 4 kB / 1.114 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.015, allocations: 7.984 kB / 1.114 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/1.017, allocations: 1.73 MB / 1.116 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.017, allocations: 4 kB / 1.116 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/1.018, allocations: 55.89 kB / 1.116 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007038/1.018, allocations: 243.4 kB / 1.116 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/1.018, allocations: 12 kB / 1.116 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00418/1.023, allocations: 6.46 MB / 1.123 GB, free: 108.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.023, allocations: 4.5 kB / 1.123 GB, free: 108.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/1.024, allocations: 0.9667 MB / 1.123 GB, free: 107.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/1.024, allocations: 176.3 kB / 1.124 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.815e-05/1.024, allocations: 8 kB / 1.124 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/1.024, allocations: 19.98 kB / 1.124 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/1.025, allocations: 47.86 kB / 1.124 GB, free: 107 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/1.025, allocations: 16 kB / 1.124 GB, free: 107 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002754/1.025, allocations: 314.8 kB / 1.124 GB, free: 106.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.025, allocations: 0 / 1.124 GB, free: 106.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008823/1.026, allocations: 199.9 kB / 1.124 GB, free: 106.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001689/1.026, allocations: 119 kB / 1.124 GB, free: 106.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001424/1.027, allocations: 1.121 MB / 1.125 GB, free: 105.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.027, allocations: 0 / 1.125 GB, free: 105.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008299/1.028, allocations: 0.7994 MB / 1.126 GB, free: 104.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007479/1.029, allocations: 174.1 kB / 1.126 GB, free: 104.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/1.031, allocations: 1.462 MB / 1.128 GB, free: 102.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/1.031, allocations: 1.012 MB / 1.129 GB, free: 101.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003209/1.032, allocations: 101.1 kB / 1.129 GB, free: 101.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.516e-05/1.032, allocations: 39.42 kB / 1.129 GB, free: 101.5 MB / 0.698 GB Notification: Performance of SimCode: time 7.31e-07/1.032, allocations: 0 / 1.129 GB, free: 101.5 MB / 0.698 GB Notification: Performance of Templates: time 0.01343/1.045, allocations: 8.674 MB / 1.137 GB, free: 92.92 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches