Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 105.2 kB / 16.41 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 189.7 kB / 17.34 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 64.12 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8079/0.8094, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01254/0.822, allocations: 10.1 MB / 1.177 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005739/0.8278, allocations: 3.17 MB / 1.18 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009112/0.8288, allocations: 39.81 kB / 1.18 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.8307, allocations: 0.5946 MB / 1.181 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.8326, allocations: 0.7779 MB / 1.182 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.8344, allocations: 0.7346 MB / 1.182 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003527/0.8379, allocations: 3.004 MB / 1.185 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00339/0.8413, allocations: 2.598 MB / 1.188 GB, free: 14.71 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001976/0.8433, allocations: 1.258 MB / 1.189 GB, free: 13.45 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0026/0.8459, allocations: 1.566 MB / 1.191 GB, free: 11.88 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007046/0.8467, allocations: 240 kB / 1.191 GB, free: 11.64 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.8482, allocations: 0.4955 MB / 1.191 GB, free: 11.15 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001618/0.8498, allocations: 1.08 MB / 1.192 GB, free: 10.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002098/0.8519, allocations: 1.105 MB / 1.193 GB, free: 8.957 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004564/0.8565, allocations: 3.687 MB / 1.197 GB, free: 5.262 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.8565, allocations: 4 kB / 1.197 GB, free: 5.258 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8565, allocations: 0 / 1.197 GB, free: 5.258 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000122/0.8567, allocations: 0 / 1.197 GB, free: 5.258 MB / 0.92 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.00567/0.8623, allocations: 2.146 MB / 1.199 GB, free: 3.055 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.8624, allocations: 8.922 kB / 1.199 GB, free: 3.047 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008921/0.8713, allocations: 1.313 MB / 1.2 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003549/0.8749, allocations: 1.298 MB / 1.202 GB, free: 400 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.8751, allocations: 111.4 kB / 1.202 GB, free: 288 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006825/0.8758, allocations: 144.3 kB / 1.202 GB, free: 144 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007126/0.8829, allocations: 3.445 MB / 1.205 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.492e-05/0.883, allocations: 4 kB / 1.205 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004633/0.8834, allocations: 67.91 kB / 1.205 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002694/0.8837, allocations: 207.1 kB / 1.206 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00574/0.8895, allocations: 3.128 MB / 1.209 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02066/0.9101, allocations: 13.54 MB / 1.222 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002754/0.913, allocations: 1.732 MB / 1.224 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002093/0.9151, allocations: 1.436 MB / 1.225 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.9152, allocations: 20.92 kB / 1.225 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.9153, allocations: 47.55 kB / 1.225 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=104): time 3.747e-06/0.9153, allocations: 3.938 kB / 1.225 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of matching and sorting (n=183): time 0.1397/1.055, allocations: 36.67 MB / 1.261 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/1.055, allocations: 73.41 kB / 1.261 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/1.057, allocations: 1.053 MB / 1.262 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003075/1.057, allocations: 61.64 kB / 1.262 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005288/1.058, allocations: 0.7835 MB / 1.263 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007033/1.058, allocations: 0.6277 MB / 1.263 GB, free: 44 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008984/1.059, allocations: 363.5 kB / 1.264 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.913e-05/1.059, allocations: 301.1 kB / 1.264 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002878/1.062, allocations: 1.932 MB / 1.266 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003067/1.065, allocations: 2.281 MB / 1.268 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006054/1.071, allocations: 4.396 MB / 1.272 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/1.071, allocations: 4 kB / 1.272 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02076/1.092, allocations: 9.017 MB / 1.281 GB, free: 13.47 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/1.092, allocations: 11.94 kB / 1.281 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/1.092, allocations: 16.06 kB / 1.281 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01743/1.11, allocations: 4.978 MB / 1.286 GB, free: 8.453 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009064/1.111, allocations: 191.7 kB / 1.286 GB, free: 8.266 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05902/1.17, allocations: 38.9 MB / 1.324 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/1.172, allocations: 99.89 kB / 1.324 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004093/1.172, allocations: 68 kB / 1.324 GB, free: 0.625 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001753/1.174, allocations: 0.8057 MB / 1.325 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004346/1.174, allocations: 142.3 kB / 1.325 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01998/1.194, allocations: 8.886 MB / 1.334 GB, free: 6.738 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/1.194, allocations: 27.94 kB / 1.334 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.148e-05/1.194, allocations: 28 kB / 1.334 GB, free: 6.684 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-05/1.194, allocations: 7.969 kB / 1.334 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02846/1.223, allocations: 13.39 MB / 1.347 GB, free: 9.129 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.674e-05/1.223, allocations: 4 kB / 1.347 GB, free: 9.125 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/1.223, allocations: 115.8 kB / 1.347 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.017/1.24, allocations: 4.841 MB / 1.352 GB, free: 4.156 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005579/1.241, allocations: 36 kB / 1.352 GB, free: 4.121 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05631/1.297, allocations: 36.82 MB / 1.388 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.297, allocations: 8 kB / 1.388 GB, free: 14.7 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02005/1.317, allocations: 8.592 MB / 1.396 GB, free: 6.02 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001934/1.319, allocations: 0.6436 MB / 1.397 GB, free: 5.355 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005171/1.32, allocations: 43.83 kB / 1.397 GB, free: 5.312 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/1.321, allocations: 87.89 kB / 1.397 GB, free: 5.227 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008268/1.322, allocations: 165.7 kB / 1.397 GB, free: 5.066 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/1.322, allocations: 44 kB / 1.397 GB, free: 5.023 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001158/1.324, allocations: 0.7382 MB / 1.398 GB, free: 4.273 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.31e-07/1.324, allocations: 0 / 1.398 GB, free: 4.273 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003545/1.327, allocations: 1.004 MB / 1.399 GB, free: 3.27 MB / 1.123 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003768/1.328, allocations: 151 kB / 1.399 GB, free: 3.113 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01045/1.338, allocations: 5.936 MB / 1.405 GB, free: 13.12 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.338, allocations: 0 / 1.405 GB, free: 13.12 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00835/1.346, allocations: 3.961 MB / 1.409 GB, free: 9.117 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/1.348, allocations: 244.9 kB / 1.409 GB, free: 8.879 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009518/1.358, allocations: 5.346 MB / 1.414 GB, free: 3.473 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002163/1.36, allocations: 1.902 MB / 1.416 GB, free: 1.531 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/1.36, allocations: 63.44 kB / 1.416 GB, free: 1.469 MB / 1.139 GB Notification: Performance of SimCode: time 1.102e-06/1.36, allocations: 0 / 1.416 GB, free: 1.469 MB / 1.139 GB Notification: Performance of Templates: time 0.08631/1.447, allocations: 69.41 MB / 1.484 GB, free: 12.01 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches