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.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,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") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 251.9 MB / 266.9 MB, free: 11 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.001167/0.001167, allocations: 172.6 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.955/1.955, allocations: 205.4 MB / 0.5775 GB, free: 20.58 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.0008451/0.0008451, allocations: 86.44 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003688, allocations: 6.922 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2448, allocations: 106.3 MB / 0.9001 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8634/1.108, allocations: 200.8 MB / 1.096 GB, free: 53.01 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004386/1.109, allocations: 105.6 kB / 1.096 GB, free: 53.01 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1982/1.307, allocations: 84.72 MB / 1.179 GB, free: 23.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/1.307, allocations: 0 / 1.179 GB, free: 23.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001027/1.307, allocations: 51.7 kB / 1.179 GB, free: 23.38 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003453/1.311, allocations: 1.803 MB / 1.181 GB, free: 21.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/1.311, allocations: 8.031 kB / 1.181 GB, free: 21.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/1.321, allocations: 1.889 MB / 1.183 GB, free: 19.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003567/1.325, allocations: 1.223 MB / 1.184 GB, free: 18.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/1.325, allocations: 88.12 kB / 1.184 GB, free: 18.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/1.325, allocations: 119.2 kB / 1.184 GB, free: 18.63 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005527/1.331, allocations: 2.74 MB / 1.187 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.205e-05/1.331, allocations: 7.938 kB / 1.187 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/1.331, allocations: 64.06 kB / 1.187 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/1.331, allocations: 88.48 kB / 1.187 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006812/1.338, allocations: 2.845 MB / 1.19 GB, free: 14.08 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01427/1.352, allocations: 10.72 MB / 1.2 GB, free: 4.508 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005935/1.358, allocations: 2.577 MB / 1.203 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.478e-05/1.358, allocations: 12.95 kB / 1.203 GB, free: 2.348 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/1.358, allocations: 48.69 kB / 1.203 GB, free: 2.301 MB / 0.698 GB Notification: Performance of pre-optimization done (n=89): time 3.287e-06/1.358, allocations: 0 / 1.203 GB, free: 2.301 MB / 0.698 GB Notification: Performance of matching and sorting (n=131): time 0.04727/1.406, allocations: 14.01 MB / 1.216 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001678/1.406, allocations: 218.9 kB / 1.217 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/1.408, allocations: 0.9734 MB / 1.218 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003583/1.408, allocations: 49.7 kB / 1.218 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005515/1.409, allocations: 0.708 MB / 1.218 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005126/1.409, allocations: 448.4 kB / 1.219 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/1.409, allocations: 24 kB / 1.219 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001644/1.409, allocations: 357.9 kB / 1.219 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003277/1.413, allocations: 1.372 MB / 1.22 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003687/1.416, allocations: 1.63 MB / 1.222 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/1.42, allocations: 1.462 MB / 1.223 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.42, allocations: 4 kB / 1.223 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01257/1.433, allocations: 4.552 MB / 1.228 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/1.433, allocations: 8.031 kB / 1.228 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/1.433, allocations: 11.98 kB / 1.228 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006884/1.44, allocations: 1.618 MB / 1.229 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/1.442, allocations: 447.2 kB / 1.23 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02932/1.471, allocations: 25.33 MB / 1.255 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/1.474, allocations: 319.5 kB / 1.255 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/1.474, allocations: 59.97 kB / 1.255 GB, free: 11.72 MB / 0.7605 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 (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001175/1.476, allocations: 429.5 kB / 1.255 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003286/1.476, allocations: 174 kB / 1.256 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/1.488, allocations: 4.586 MB / 1.26 GB, free: 6.477 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/1.488, allocations: 12.09 kB / 1.26 GB, free: 6.465 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.301e-05/1.488, allocations: 15.98 kB / 1.26 GB, free: 6.449 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/1.488, allocations: 15.92 kB / 1.26 GB, free: 6.434 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01738/1.506, allocations: 7.009 MB / 1.267 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/1.506, allocations: 0 / 1.267 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/1.508, allocations: 395.7 kB / 1.267 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006249/1.514, allocations: 1.517 MB / 1.269 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001799/1.514, allocations: 35.97 kB / 1.269 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02743/1.542, allocations: 24.35 MB / 1.293 GB, free: 3.223 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/1.542, allocations: 12.19 kB / 1.293 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/1.554, allocations: 4.516 MB / 1.297 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/1.555, allocations: 470.9 kB / 1.297 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002896/1.556, allocations: 29.03 kB / 1.298 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002035/1.558, allocations: 319.5 kB / 1.298 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004853/1.558, allocations: 128.7 kB / 1.298 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/1.558, allocations: 51.91 kB / 1.298 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001252/1.56, allocations: 0.7526 MB / 1.299 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.6e-07/1.56, allocations: 4 kB / 1.299 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002532/1.562, allocations: 0.6055 MB / 1.299 GB, free: 12.16 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004151/1.563, allocations: 169.5 kB / 1.299 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01138/1.574, allocations: 5.165 MB / 1.305 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.574, allocations: 7.844 kB / 1.305 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.007487/1.582, allocations: 3.562 MB / 1.308 GB, free: 2.914 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/1.584, allocations: 0.4979 MB / 1.308 GB, free: 2.418 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009196/1.593, allocations: 4.508 MB / 1.313 GB, free: 13.86 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/1.595, allocations: 1.509 MB / 1.314 GB, free: 12.32 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002266/1.597, allocations: 425.4 kB / 1.315 GB, free: 11.89 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/1.598, allocations: 115.4 kB / 1.315 GB, free: 11.78 MB / 0.823 GB Notification: Performance of SimCode: time 9.82e-07/1.598, allocations: 0 / 1.315 GB, free: 11.78 MB / 0.823 GB Notification: Performance of Templates: time 0.06976/1.667, allocations: 37.66 MB / 1.352 GB, free: 6.5 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches