Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.232/2.232, allocations: 390.5 MB / 398 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 172.9 kB / 491.2 MB, free: 1.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 221.5 MB / 0.7868 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009513/0.0009513, allocations: 83.95 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.597e-05/1.599e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3205, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.384, allocations: 178.1 MB / 1.386 GB, free: 16.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/1.384, allocations: 94.48 kB / 1.386 GB, free: 16.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.406/1.79, allocations: 174.2 MB / 1.557 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.834e-06/1.79, allocations: 4 kB / 1.557 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002416/1.79, allocations: 95.92 kB / 1.557 GB, free: 5.863 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01149/1.802, allocations: 3.331 MB / 1.56 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/1.802, allocations: 12.03 kB / 1.56 GB, free: 2.461 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007613/1.809, allocations: 1.037 MB / 1.561 GB, free: 1.418 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006814/1.816, allocations: 2.618 MB / 1.563 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002388/1.816, allocations: 120 kB / 1.564 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001849/1.818, allocations: 204 kB / 1.564 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01025/1.829, allocations: 4.416 MB / 1.568 GB, free: 10 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/1.843, allocations: 6.082 MB / 1.574 GB, free: 3.57 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/1.843, allocations: 23.83 kB / 1.574 GB, free: 3.547 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000414/1.843, allocations: 12 kB / 1.574 GB, free: 3.535 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007905/1.844, allocations: 379.3 kB / 1.574 GB, free: 3.164 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03997/1.884, allocations: 31.34 MB / 1.605 GB, free: 1.074 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003012/1.887, allocations: 2.103 MB / 1.607 GB, free: 14.96 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003/1.89, allocations: 2.158 MB / 1.609 GB, free: 12.8 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/1.89, allocations: 25.28 kB / 1.609 GB, free: 12.78 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/1.891, allocations: 51.86 kB / 1.609 GB, free: 12.72 MB / 1.026 GB Notification: Performance of pre-optimization done (n=146): time 5.62e-06/1.891, allocations: 4 kB / 1.609 GB, free: 12.71 MB / 1.026 GB Notification: Performance of matching and sorting (n=251): time 0.06358/1.954, allocations: 21.94 MB / 1.631 GB, free: 6.723 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/1.954, allocations: 73.41 kB / 1.631 GB, free: 6.637 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/1.957, allocations: 1.245 MB / 1.632 GB, free: 5.395 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005977/1.958, allocations: 25.7 kB / 1.632 GB, free: 5.363 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001431/1.959, allocations: 1.731 MB / 1.634 GB, free: 3.609 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001292/1.96, allocations: 0.8197 MB / 1.634 GB, free: 2.777 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004251/1.961, allocations: 0 / 1.634 GB, free: 2.777 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002316/1.961, allocations: 407.1 kB / 1.635 GB, free: 2.375 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003799/1.965, allocations: 2.707 MB / 1.637 GB, free: 15.66 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004192/1.969, allocations: 3.228 MB / 1.641 GB, free: 12.22 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00575/1.975, allocations: 3.374 MB / 1.644 GB, free: 8.844 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/1.975, allocations: 4 kB / 1.644 GB, free: 8.84 MB / 1.057 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.02448/1.999, allocations: 12.01 MB / 1.656 GB, free: 12.79 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/2, allocations: 16.98 kB / 1.656 GB, free: 12.78 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/2, allocations: 12 kB / 1.656 GB, free: 12.77 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02447/2.024, allocations: 7.893 MB / 1.663 GB, free: 4.852 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/2.025, allocations: 283.5 kB / 1.664 GB, free: 4.574 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05409/2.08, allocations: 31.31 MB / 1.694 GB, free: 4.805 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00337/2.083, allocations: 115.7 kB / 1.694 GB, free: 4.691 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/2.084, allocations: 271.8 kB / 1.695 GB, free: 4.426 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.001317/2.085, allocations: 144.5 kB / 1.695 GB, free: 4.277 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001136/2.087, allocations: 233.2 kB / 1.695 GB, free: 4.047 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02574/2.112, allocations: 12.18 MB / 1.707 GB, free: 7.816 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.733e-05/2.112, allocations: 24 kB / 1.707 GB, free: 7.793 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-05/2.113, allocations: 27.94 kB / 1.707 GB, free: 7.766 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.081e-05/2.113, allocations: 11.95 kB / 1.707 GB, free: 7.754 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04169/2.154, allocations: 17.58 MB / 1.724 GB, free: 6.004 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.485e-05/2.154, allocations: 8 kB / 1.724 GB, free: 5.996 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009592/2.155, allocations: 159.8 kB / 1.724 GB, free: 5.84 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02406/2.179, allocations: 7.817 MB / 1.732 GB, free: 14 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008145/2.18, allocations: 79.86 kB / 1.732 GB, free: 13.92 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7751/2.955, allocations: 30.9 MB / 1.762 GB, free: 311.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.6e-05/2.956, allocations: 11.38 kB / 1.762 GB, free: 311.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02546/2.981, allocations: 12.29 MB / 1.774 GB, free: 310.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002277/2.983, allocations: 0.9886 MB / 1.775 GB, free: 310.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006524/2.984, allocations: 9.812 kB / 1.775 GB, free: 310.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/2.986, allocations: 113 kB / 1.775 GB, free: 310.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001432/2.987, allocations: 267.8 kB / 1.776 GB, free: 310.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000796/2.988, allocations: 240.4 kB / 1.776 GB, free: 310.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002406/2.991, allocations: 0.9351 MB / 1.777 GB, free: 310 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.51e-07/2.991, allocations: 0 / 1.777 GB, free: 310 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006296/2.997, allocations: 1.145 MB / 1.778 GB, free: 310 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007026/2.998, allocations: 147.8 kB / 1.778 GB, free: 309.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01905/3.017, allocations: 9.041 MB / 1.787 GB, free: 309.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/3.017, allocations: 1 kB / 1.787 GB, free: 309.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01446/3.031, allocations: 5.838 MB / 1.792 GB, free: 308.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/3.034, allocations: 422.2 kB / 1.793 GB, free: 308.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/3.047, allocations: 7.232 MB / 1.8 GB, free: 307.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00319/3.05, allocations: 3.195 MB / 1.803 GB, free: 306.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001406/3.051, allocations: 375.4 kB / 1.803 GB, free: 306.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/3.051, allocations: 87.75 kB / 1.803 GB, free: 306.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.442e-06/3.051, allocations: 0 / 1.803 GB, free: 306.7 MB / 1.151 GB Notification: Performance of Templates: time 0.1012/3.153, allocations: 69.04 MB / 1.871 GB, free: 304.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches