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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001083/0.001084, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.00135/0.00135, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.896/2.896, allocations: 437.7 MB / 0.7117 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003815, allocations: 12 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8304/0.8308, allocations: 153.8 MB / 1.022 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01019/0.8411, allocations: 9.063 MB / 1.031 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005736/0.8469, allocations: 3.027 MB / 1.034 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007895/0.8477, allocations: 31.81 kB / 1.034 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.8482, allocations: 186.6 kB / 1.034 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.8496, allocations: 0.6145 MB / 1.035 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.851, allocations: 0.5225 MB / 1.036 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003569/0.8545, allocations: 3.514 MB / 1.039 GB, free: 15.07 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004097/0.8587, allocations: 2.721 MB / 1.042 GB, free: 12.31 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.8604, allocations: 0.9613 MB / 1.043 GB, free: 11.34 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002041/0.8624, allocations: 1.441 MB / 1.044 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002404/0.8627, allocations: 112 kB / 1.044 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007688/0.8634, allocations: 259.8 kB / 1.044 GB, free: 9.535 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0009378/0.8644, allocations: 0.9237 MB / 1.045 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004661/0.8649, allocations: 388.7 kB / 1.046 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002754/0.8676, allocations: 3.002 MB / 1.049 GB, free: 5.215 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.8677, allocations: 0 / 1.049 GB, free: 5.215 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.484e-06/0.8677, allocations: 0 / 1.049 GB, free: 5.215 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.581e-05/0.8677, allocations: 0 / 1.049 GB, free: 5.215 MB / 0.795 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.003391/0.8711, allocations: 1.785 MB / 1.05 GB, free: 3.375 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.8712, allocations: 12.55 kB / 1.05 GB, free: 3.363 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008011/0.8792, allocations: 1.308 MB / 1.052 GB, free: 2.051 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.8821, allocations: 1.231 MB / 1.053 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.567e-05/0.8822, allocations: 111 kB / 1.053 GB, free: 0.668 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003492/0.8825, allocations: 144 kB / 1.053 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006794/0.8893, allocations: 3.429 MB / 1.056 GB, free: 13 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.356e-05/0.8894, allocations: 7.938 kB / 1.056 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/0.8896, allocations: 63.95 kB / 1.056 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00028/0.8899, allocations: 211.1 kB / 1.057 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00519/0.8951, allocations: 3.116 MB / 1.06 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01853/0.9137, allocations: 13.58 MB / 1.073 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.9163, allocations: 1.729 MB / 1.075 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/0.9184, allocations: 1.425 MB / 1.076 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.664e-05/0.9185, allocations: 12.94 kB / 1.076 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.9186, allocations: 43.56 kB / 1.076 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=104): time 4.258e-06/0.9186, allocations: 3.938 kB / 1.076 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=183): time 0.1282/1.047, allocations: 35.92 MB / 1.111 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/1.047, allocations: 73.39 kB / 1.111 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/1.049, allocations: 1.038 MB / 1.112 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003532/1.049, allocations: 57.7 kB / 1.112 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000736/1.05, allocations: 0.7873 MB / 1.113 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006491/1.05, allocations: 0.6239 MB / 1.114 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/1.051, allocations: 40 kB / 1.114 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000216/1.051, allocations: 381.9 kB / 1.114 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002824/1.054, allocations: 1.928 MB / 1.116 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003315/1.057, allocations: 2.277 MB / 1.118 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003795/1.061, allocations: 2.2 MB / 1.12 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/1.061, allocations: 8 kB / 1.12 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02121/1.082, allocations: 8.992 MB / 1.129 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/1.082, allocations: 8 kB / 1.129 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/1.082, allocations: 12 kB / 1.129 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01594/1.098, allocations: 4.976 MB / 1.134 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009253/1.099, allocations: 191.6 kB / 1.134 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0566/1.156, allocations: 35.08 MB / 1.168 GB, free: 8.391 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/1.158, allocations: 99.89 kB / 1.169 GB, free: 8.293 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002114/1.158, allocations: 64 kB / 1.169 GB, free: 8.23 MB / 0.92 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 (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 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00157/1.16, allocations: 0.8096 MB / 1.169 GB, free: 7.41 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/1.16, allocations: 142.3 kB / 1.17 GB, free: 7.27 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01991/1.18, allocations: 8.867 MB / 1.178 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/1.18, allocations: 16 kB / 1.178 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.09e-05/1.18, allocations: 32 kB / 1.178 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.185e-05/1.18, allocations: 11.91 kB / 1.178 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02793/1.208, allocations: 13.24 MB / 1.191 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-05/1.208, allocations: 4 kB / 1.191 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/1.209, allocations: 119.8 kB / 1.191 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01602/1.225, allocations: 4.759 MB / 1.196 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000383/1.225, allocations: 28 kB / 1.196 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04947/1.275, allocations: 31.43 MB / 1.227 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/1.275, allocations: 7.953 kB / 1.227 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01858/1.293, allocations: 8.369 MB / 1.235 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/1.295, allocations: 0.6203 MB / 1.235 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003392/1.295, allocations: 39.98 kB / 1.235 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/1.296, allocations: 91.89 kB / 1.236 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008314/1.297, allocations: 161.4 kB / 1.236 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/1.297, allocations: 44 kB / 1.236 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001127/1.298, allocations: 0.7382 MB / 1.236 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3e-07/1.298, allocations: 0 / 1.236 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003742/1.302, allocations: 1.004 MB / 1.237 GB, free: 0.8125 MB / 0.9825 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 (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 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003549/1.303, allocations: 146.8 kB / 1.238 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.313, allocations: 5.819 MB / 1.243 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/1.313, allocations: 0 / 1.243 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007639/1.32, allocations: 3.803 MB / 1.247 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/1.322, allocations: 221.2 kB / 1.247 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008711/1.331, allocations: 5.628 MB / 1.253 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5628/1.894, allocations: 1.846 MB / 1.254 GB, free: 213.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00116/1.895, allocations: 353.9 kB / 1.255 GB, free: 213.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/1.895, allocations: 60.44 kB / 1.255 GB, free: 213.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.783e-06/1.895, allocations: 0.6562 kB / 1.255 GB, free: 213.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.08445/1.98, allocations: 54.42 MB / 1.308 GB, free: 185.8 MB / 0.9981 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/jenkins/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