Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_RLC_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.2/2.2, allocations: 390.5 MB / 398 MB, free: 10.84 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.00107/0.00107, allocations: 187.7 kB / 491.2 MB, free: 1.469 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.733/1.733, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0009829/0.0009826, allocations: 98.7 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.023e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3162, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.335, allocations: 179.9 MB / 1.388 GB, free: 15.97 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/1.335, allocations: 92.47 kB / 1.388 GB, free: 15.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1828/1.518, allocations: 76.51 MB / 1.463 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.633e-06/1.518, allocations: 0 / 1.463 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001662/1.518, allocations: 40 kB / 1.463 GB, free: 2.75 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005786/1.524, allocations: 1.613 MB / 1.464 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/1.524, allocations: 8.031 kB / 1.464 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003328/1.527, allocations: 496.7 kB / 1.465 GB, free: 0.6992 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/1.53, allocations: 1.291 MB / 1.466 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.194e-05/1.53, allocations: 48 kB / 1.466 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/1.53, allocations: 84 kB / 1.466 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003719/1.534, allocations: 2.27 MB / 1.469 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004142/1.538, allocations: 2.882 MB / 1.471 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/1.538, allocations: 4 kB / 1.471 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/1.538, allocations: 4 kB / 1.471 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006948/1.539, allocations: 181 kB / 1.472 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02206/1.561, allocations: 14.5 MB / 1.486 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/1.563, allocations: 1.759 MB / 1.487 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00196/1.565, allocations: 1.481 MB / 1.489 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.874e-05/1.566, allocations: 29.22 kB / 1.489 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/1.566, allocations: 43.88 kB / 1.489 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=104): time 3.617e-06/1.566, allocations: 0 / 1.489 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=183): time 0.04335/1.609, allocations: 14.27 MB / 1.503 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/1.609, allocations: 73.41 kB / 1.503 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/1.611, allocations: 0.9849 MB / 1.504 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003387/1.611, allocations: 25.7 kB / 1.504 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000614/1.612, allocations: 0.7796 MB / 1.505 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007807/1.613, allocations: 0.5965 MB / 1.505 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/1.613, allocations: 0 / 1.505 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001986/1.613, allocations: 385.9 kB / 1.506 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/1.616, allocations: 2.054 MB / 1.508 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003133/1.619, allocations: 2.376 MB / 1.51 GB, free: 5.48 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00546/1.625, allocations: 2.768 MB / 1.513 GB, free: 2.719 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/1.625, allocations: 0 / 1.513 GB, free: 2.719 MB / 0.9167 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01776/1.643, allocations: 8.476 MB / 1.521 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/1.643, allocations: 8 kB / 1.521 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/1.643, allocations: 16.53 kB / 1.521 GB, free: 10.19 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01472/1.657, allocations: 4.947 MB / 1.526 GB, free: 5.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.659, allocations: 251.6 kB / 1.526 GB, free: 4.984 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03784/1.697, allocations: 22.96 MB / 1.548 GB, free: 13.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/1.699, allocations: 87.77 kB / 1.549 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009118/1.7, allocations: 263.8 kB / 1.549 GB, free: 13.38 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.001005/1.701, allocations: 132.7 kB / 1.549 GB, free: 13.25 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006219/1.702, allocations: 142.3 kB / 1.549 GB, free: 13.11 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01716/1.719, allocations: 8.031 MB / 1.557 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.26e-05/1.719, allocations: 20 kB / 1.557 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.276e-05/1.719, allocations: 12 kB / 1.557 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-05/1.719, allocations: 15.95 kB / 1.557 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0269/1.746, allocations: 12.41 MB / 1.569 GB, free: 8.449 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/1.746, allocations: 4 kB / 1.569 GB, free: 8.445 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/1.747, allocations: 124.3 kB / 1.569 GB, free: 8.324 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01449/1.761, allocations: 4.713 MB / 1.574 GB, free: 3.598 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004835/1.762, allocations: 63.89 kB / 1.574 GB, free: 3.535 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03294/1.795, allocations: 19.25 MB / 1.593 GB, free: 15.98 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/1.795, allocations: 7.938 kB / 1.593 GB, free: 15.98 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/1.812, allocations: 7.66 MB / 1.6 GB, free: 8.148 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002028/1.814, allocations: 0.8269 MB / 1.601 GB, free: 7.301 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007844/1.815, allocations: 8 kB / 1.601 GB, free: 7.293 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/1.817, allocations: 55.92 kB / 1.601 GB, free: 7.238 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006582/1.818, allocations: 197.6 kB / 1.601 GB, free: 7.047 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004454/1.818, allocations: 179.9 kB / 1.601 GB, free: 6.871 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001368/1.819, allocations: 0.7568 MB / 1.602 GB, free: 6.113 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/1.819, allocations: 0 / 1.602 GB, free: 6.113 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003767/1.823, allocations: 0.6915 MB / 1.603 GB, free: 5.422 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005968/1.824, allocations: 138.9 kB / 1.603 GB, free: 5.273 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.834, allocations: 5.663 MB / 1.608 GB, free: 15.6 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.834, allocations: 0 / 1.608 GB, free: 15.6 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.007664/1.842, allocations: 3.379 MB / 1.612 GB, free: 12.2 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/1.844, allocations: 155.2 kB / 1.612 GB, free: 12.04 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009003/1.853, allocations: 4.228 MB / 1.616 GB, free: 7.734 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/1.855, allocations: 1.834 MB / 1.618 GB, free: 5.867 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.001384/1.856, allocations: 410.7 kB / 1.618 GB, free: 5.461 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/1.857, allocations: 115.3 kB / 1.618 GB, free: 5.348 MB / 1.026 GB Notification: Performance of SimCode: time 1.022e-06/1.857, allocations: 0 / 1.618 GB, free: 5.348 MB / 1.026 GB Notification: Performance of Templates: time 0.09475/1.952, allocations: 60.48 MB / 1.677 GB, free: 8.91 MB / 1.089 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches