Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 249.5 MB / 257 MB, free: 6.918 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.001052/0.001052, allocations: 176.9 kB / 316.3 MB, free: 3.246 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.538/1.538, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0009091/0.000909, allocations: 88.44 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.828e-05/1.831e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.182, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6446/0.8267, allocations: 162.1 MB / 1.044 GB, free: 9.227 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.8269, allocations: 91.12 kB / 1.044 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1478/0.9748, allocations: 62.24 MB / 1.104 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9748, allocations: 0 / 1.104 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.222e-05/0.9749, allocations: 40 kB / 1.104 GB, free: 4.598 MB / 0.7136 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.002967/0.9779, allocations: 1.614 MB / 1.106 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.9779, allocations: 8.031 kB / 1.106 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002558/0.9805, allocations: 493 kB / 1.107 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.9824, allocations: 1.279 MB / 1.108 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/0.9824, allocations: 48 kB / 1.108 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002478/0.9827, allocations: 91.86 kB / 1.108 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003182/0.9859, allocations: 2.262 MB / 1.11 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004101/0.99, allocations: 2.892 MB / 1.113 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/0.99, allocations: 11.84 kB / 1.113 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/0.9902, allocations: 4 kB / 1.113 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006286/0.9909, allocations: 171 kB / 1.113 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01965/1.011, allocations: 14.5 MB / 1.127 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/1.013, allocations: 1.753 MB / 1.129 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/1.015, allocations: 1.489 MB / 1.13 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.618e-05/1.015, allocations: 29.23 kB / 1.13 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/1.015, allocations: 47.86 kB / 1.131 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=104): time 3.908e-06/1.015, allocations: 0 / 1.131 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of matching and sorting (n=183): time 0.039/1.054, allocations: 14.27 MB / 1.144 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/1.054, allocations: 69.41 kB / 1.145 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/1.055, allocations: 0.9849 MB / 1.145 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002783/1.056, allocations: 25.7 kB / 1.145 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004913/1.056, allocations: 0.7796 MB / 1.146 GB, free: 9.449 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005844/1.057, allocations: 0.6004 MB / 1.147 GB, free: 8.84 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/1.057, allocations: 0 / 1.147 GB, free: 8.84 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.057, allocations: 381.9 kB / 1.147 GB, free: 8.461 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002574/1.06, allocations: 2.05 MB / 1.149 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002797/1.062, allocations: 2.372 MB / 1.152 GB, free: 3.926 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005075/1.068, allocations: 2.765 MB / 1.154 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/1.068, allocations: 4 kB / 1.154 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01695/1.085, allocations: 8.485 MB / 1.163 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/1.085, allocations: 8 kB / 1.163 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/1.085, allocations: 8.562 kB / 1.163 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01405/1.099, allocations: 4.942 MB / 1.167 GB, free: 3.672 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/1.1, allocations: 247.6 kB / 1.168 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03251/1.132, allocations: 22.97 MB / 1.19 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/1.134, allocations: 87.77 kB / 1.19 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004304/1.135, allocations: 267.8 kB / 1.19 GB, free: 11.81 MB / 0.8073 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.0004619/1.135, allocations: 132.7 kB / 1.19 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/1.136, allocations: 134.4 kB / 1.191 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/1.151, allocations: 8.042 MB / 1.198 GB, free: 3.461 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/1.151, allocations: 16 kB / 1.198 GB, free: 3.445 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/1.151, allocations: 16 kB / 1.199 GB, free: 3.43 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/1.151, allocations: 7.969 kB / 1.199 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02741/1.179, allocations: 12.42 MB / 1.211 GB, free: 6.867 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/1.179, allocations: 4 kB / 1.211 GB, free: 6.863 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007662/1.179, allocations: 116.3 kB / 1.211 GB, free: 6.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02172/1.201, allocations: 4.704 MB / 1.215 GB, free: 2.027 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005084/1.202, allocations: 63.89 kB / 1.215 GB, free: 1.965 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04279/1.245, allocations: 19.26 MB / 1.234 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/1.245, allocations: 4 kB / 1.234 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02111/1.266, allocations: 7.668 MB / 1.242 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00215/1.268, allocations: 0.8308 MB / 1.243 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004264/1.268, allocations: 11.94 kB / 1.243 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/1.27, allocations: 55.94 kB / 1.243 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005191/1.27, allocations: 185.6 kB / 1.243 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003093/1.27, allocations: 179.9 kB / 1.243 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001025/1.271, allocations: 0.7645 MB / 1.244 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.81e-07/1.272, allocations: 0 / 1.244 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002457/1.274, allocations: 0.6954 MB / 1.244 GB, free: 3.82 MB / 0.8542 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.0003753/1.274, allocations: 131.1 kB / 1.244 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.4137/1.688, allocations: 5.658 MB / 1.25 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/1.688, allocations: 1.031 kB / 1.25 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.008508/1.697, allocations: 3.365 MB / 1.253 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/1.698, allocations: 159.6 kB / 1.253 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007859/1.706, allocations: 4.226 MB / 1.258 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/1.708, allocations: 1.828 MB / 1.259 GB, free: 263 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001325/1.709, allocations: 406.2 kB / 1.26 GB, free: 263 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003835/1.71, allocations: 116.5 kB / 1.26 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of SimCode: time 7.82e-07/1.71, allocations: 0 / 1.26 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.07307/1.783, allocations: 60.43 MB / 1.319 GB, free: 251.9 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches