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.532/1.532, allocations: 249.3 MB / 261.8 MB, free: 5.934 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.0009983/0.0009984, allocations: 172.9 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.336/1.336, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0008426/0.0008428, allocations: 99.09 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.393e-05, allocations: 8 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2097, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8239/1.034, allocations: 158 MB / 1.046 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/1.034, allocations: 93.98 kB / 1.046 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.08307/1.117, allocations: 37.27 MB / 1.083 GB, free: 11.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/1.117, allocations: 0 / 1.083 GB, free: 11.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.507e-05/1.117, allocations: 23.98 kB / 1.083 GB, free: 11.04 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.001329/1.118, allocations: 0.8639 MB / 1.083 GB, free: 10.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.119, allocations: 12.03 kB / 1.083 GB, free: 10.17 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/1.12, allocations: 222.5 kB / 1.084 GB, free: 9.953 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009421/1.121, allocations: 0.5399 MB / 1.084 GB, free: 9.434 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/1.121, allocations: 47.98 kB / 1.084 GB, free: 9.398 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-05/1.121, allocations: 65.95 kB / 1.084 GB, free: 9.352 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/1.122, allocations: 1.076 MB / 1.085 GB, free: 8.391 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/1.122, allocations: 11.88 kB / 1.085 GB, free: 8.379 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.914e-05/1.123, allocations: 36.61 kB / 1.085 GB, free: 8.359 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.446e-05/1.123, allocations: 59.34 kB / 1.085 GB, free: 8.309 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009363/1.124, allocations: 0.6673 MB / 1.086 GB, free: 7.848 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004608/1.128, allocations: 5.784 MB / 1.092 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007748/1.129, allocations: 0.5804 MB / 1.092 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006533/1.13, allocations: 404.6 kB / 1.093 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/1.13, allocations: 4 kB / 1.093 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/1.13, allocations: 43.19 kB / 1.093 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 2.334e-06/1.13, allocations: 0 / 1.093 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.002186/1.132, allocations: 1.215 MB / 1.094 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/1.132, allocations: 55.41 kB / 1.094 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/1.132, allocations: 392.7 kB / 1.094 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/1.132, allocations: 37.7 kB / 1.094 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/1.133, allocations: 383.2 kB / 1.095 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/1.133, allocations: 149.9 kB / 1.095 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/1.133, allocations: 12 kB / 1.095 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.133, allocations: 362.8 kB / 1.095 GB, free: 14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/1.133, allocations: 233 kB / 1.096 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/1.134, allocations: 425.5 kB / 1.096 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/1.134, allocations: 296.5 kB / 1.096 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.134, allocations: 0 / 1.096 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001655/1.136, allocations: 1.015 MB / 1.097 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/1.136, allocations: 13.14 kB / 1.097 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/1.136, allocations: 8 kB / 1.097 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009341/1.137, allocations: 315.1 kB / 1.098 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/1.137, allocations: 87.83 kB / 1.098 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006207/1.143, allocations: 7.086 MB / 1.105 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/1.144, allocations: 39.91 kB / 1.105 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/1.144, allocations: 24 kB / 1.105 GB, free: 3.809 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001453/1.144, allocations: 142.2 kB / 1.105 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.319e-05/1.144, allocations: 59.25 kB / 1.105 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/1.146, allocations: 0.8885 MB / 1.106 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/1.146, allocations: 4 kB / 1.106 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/1.146, allocations: 8 kB / 1.106 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/1.146, allocations: 4.172 kB / 1.106 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/1.149, allocations: 1.863 MB / 1.107 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.149, allocations: 0 / 1.107 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/1.149, allocations: 47.91 kB / 1.108 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007993/1.15, allocations: 283.3 kB / 1.108 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/1.15, allocations: 8 kB / 1.108 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006048/1.156, allocations: 6.825 MB / 1.114 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.156, allocations: 0 / 1.114 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/1.157, allocations: 1.006 MB / 1.115 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/1.158, allocations: 172.3 kB / 1.116 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/1.158, allocations: 8 kB / 1.116 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/1.158, allocations: 23.97 kB / 1.116 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.996e-05/1.158, allocations: 35.95 kB / 1.116 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/1.158, allocations: 12 kB / 1.116 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003845/1.159, allocations: 313.5 kB / 1.116 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.159, allocations: 0 / 1.116 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009671/1.159, allocations: 192 kB / 1.116 GB, free: 7.133 MB / 0.7292 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002161/1.16, allocations: 115.2 kB / 1.116 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001818/1.162, allocations: 1.14 MB / 1.117 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/1.162, allocations: 0 / 1.117 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/1.163, allocations: 0.8187 MB / 1.118 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008607/1.164, allocations: 172.3 kB / 1.118 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/1.165, allocations: 0.8858 MB / 1.119 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005862/1.166, allocations: 1.004 MB / 1.12 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002791/1.166, allocations: 113.1 kB / 1.12 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.513e-05/1.166, allocations: 35.44 kB / 1.12 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/1.166, allocations: 0 / 1.12 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of Templates: time 0.0145/1.181, allocations: 8.766 MB / 1.129 GB, free: 9.961 MB / 0.7448 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