Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001309/0.001309, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.00145/0.00145, allocations: 193.2 kB / 16.25 MB, free: 6.629 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.419/1.419, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.82/2.82, allocations: 469.8 MB / 0.742 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 73.03 kB / 0.9081 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3003, allocations: 159.1 MB / 1.063 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01322/0.3136, allocations: 10.07 MB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005734/0.3193, allocations: 3.143 MB / 1.076 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009028/0.3203, allocations: 35.81 kB / 1.076 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.322, allocations: 0.5422 MB / 1.077 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.3237, allocations: 0.6926 MB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.3253, allocations: 0.6804 MB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003678/0.329, allocations: 3.004 MB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004448/0.3335, allocations: 3.075 MB / 1.084 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.3354, allocations: 1.266 MB / 1.085 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002171/0.3376, allocations: 1.648 MB / 1.087 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003463/0.338, allocations: 240 kB / 1.087 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009444/0.3389, allocations: 0.4993 MB / 1.088 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.34, allocations: 1.072 MB / 1.089 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.3412, allocations: 1.116 MB / 1.09 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003562/0.3448, allocations: 3.685 MB / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3448, allocations: 0 / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3448, allocations: 0 / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.622e-05/0.3449, allocations: 4 kB / 1.094 GB, free: 15.73 MB / 0.8575 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.004048/0.3489, allocations: 2.142 MB / 1.096 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.349, allocations: 8.031 kB / 1.096 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008898/0.3579, allocations: 1.317 MB / 1.097 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/0.3605, allocations: 1.255 MB / 1.098 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.3606, allocations: 111.4 kB / 1.098 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004796/0.3611, allocations: 152.3 kB / 1.098 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006453/0.3675, allocations: 3.445 MB / 1.102 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/0.3676, allocations: 0 / 1.102 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/0.3678, allocations: 67.97 kB / 1.102 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002778/0.3681, allocations: 199.1 kB / 1.102 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005261/0.3734, allocations: 3.131 MB / 1.105 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01955/0.393, allocations: 13.62 MB / 1.118 GB, free: 5.199 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.3957, allocations: 1.731 MB / 1.12 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002142/0.3979, allocations: 1.436 MB / 1.121 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-05/0.398, allocations: 9 kB / 1.121 GB, free: 2.012 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.398, allocations: 43.56 kB / 1.121 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 3.066e-06/0.3981, allocations: 0 / 1.121 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of matching and sorting (n=183): time 0.1441/0.5421, allocations: 36.67 MB / 1.157 GB, free: 13.15 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.4e-05/0.5422, allocations: 69.41 kB / 1.157 GB, free: 13.07 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/0.544, allocations: 1.054 MB / 1.158 GB, free: 12 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003822/0.5444, allocations: 57.64 kB / 1.158 GB, free: 11.93 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007237/0.5452, allocations: 0.7873 MB / 1.159 GB, free: 11.13 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009616/0.5461, allocations: 0.6277 MB / 1.16 GB, free: 10.5 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.5473, allocations: 363.4 kB / 1.16 GB, free: 10.13 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5474, allocations: 301.1 kB / 1.16 GB, free: 9.836 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003054/0.5505, allocations: 1.932 MB / 1.162 GB, free: 7.902 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003322/0.5538, allocations: 2.293 MB / 1.165 GB, free: 5.484 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006349/0.5602, allocations: 4.391 MB / 1.169 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.929e-05/0.5602, allocations: 4 kB / 1.169 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.021/0.5812, allocations: 9.017 MB / 1.178 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.5813, allocations: 20.03 kB / 1.178 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.5814, allocations: 8 kB / 1.178 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01739/0.5987, allocations: 5 MB / 1.183 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009078/0.5997, allocations: 195.6 kB / 1.183 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06216/0.6619, allocations: 38.94 MB / 1.221 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.664, allocations: 107.9 kB / 1.221 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004913/0.6645, allocations: 64 kB / 1.221 GB, free: 10.99 MB / 0.9825 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.0018/0.6663, allocations: 0.7985 MB / 1.222 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004726/0.6668, allocations: 142.4 kB / 1.222 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0214/0.6882, allocations: 8.89 MB / 1.231 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.124e-05/0.6883, allocations: 16 kB / 1.231 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001308/0.6885, allocations: 28 kB / 1.231 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.635e-05/0.6885, allocations: 15.97 kB / 1.231 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02898/0.7175, allocations: 13.3 MB / 1.244 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.499e-05/0.7176, allocations: 4 kB / 1.244 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.7181, allocations: 115.9 kB / 1.244 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5376/1.256, allocations: 4.788 MB / 1.248 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004183/1.256, allocations: 34.11 kB / 1.248 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04997/1.306, allocations: 34.87 MB / 1.282 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.306, allocations: 9.312 kB / 1.283 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01701/1.323, allocations: 8.401 MB / 1.291 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/1.324, allocations: 0.6155 MB / 1.291 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/1.325, allocations: 35.88 kB / 1.291 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/1.326, allocations: 90.44 kB / 1.291 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009209/1.327, allocations: 162.4 kB / 1.292 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/1.327, allocations: 47.38 kB / 1.292 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008435/1.328, allocations: 0.737 MB / 1.292 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.328, allocations: 0 / 1.292 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003148/1.331, allocations: 1.006 MB / 1.293 GB, free: 155.5 MB / 0.9981 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%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003074/1.331, allocations: 147.1 kB / 1.293 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008759/1.34, allocations: 6.686 MB / 1.3 GB, free: 153 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.34, allocations: 192 / 1.3 GB, free: 153 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006165/1.346, allocations: 3.835 MB / 1.304 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/1.348, allocations: 235.6 kB / 1.304 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006568/1.354, allocations: 5.805 MB / 1.31 GB, free: 147.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/1.355, allocations: 1.864 MB / 1.311 GB, free: 146 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006921/1.356, allocations: 354.2 kB / 1.312 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/1.356, allocations: 62.62 kB / 1.312 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.22e-07/1.356, allocations: 0 / 1.312 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.06563/1.422, allocations: 59.86 MB / 1.37 GB, free: 86.06 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches