Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006387/0.006387, allocations: 106.9 kB / 15.74 MB, free: 6.492 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.001336/0.001337, allocations: 197.6 kB / 16.67 MB, free: 6.375 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.505/2.505, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 70.42 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3353, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008603/0.344, allocations: 6.294 MB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007089/0.3511, allocations: 4.526 MB / 1.098 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006059/0.3518, allocations: 23.88 kB / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002501/0.3543, allocations: 0.9161 MB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.3565, allocations: 0.788 MB / 1.1 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007812/0.3573, allocations: 323.5 kB / 1.1 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.3586, allocations: 1.136 MB / 1.102 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008601/0.3595, allocations: 0.6927 MB / 1.102 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000546/0.36, allocations: 478.3 kB / 1.103 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006731/0.3607, allocations: 0.4981 MB / 1.103 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.243e-05/0.3608, allocations: 68 kB / 1.103 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000538/0.3613, allocations: 275.5 kB / 1.104 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.3616, allocations: 247.3 kB / 1.104 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000398/0.362, allocations: 413.9 kB / 1.104 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.3633, allocations: 1.075 MB / 1.105 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3633, allocations: 0 / 1.105 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3633, allocations: 0 / 1.105 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.3634, allocations: 0 / 1.105 GB, free: 15.72 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002069/0.3654, allocations: 1.098 MB / 1.106 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3655, allocations: 12.03 kB / 1.106 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002958/0.3685, allocations: 0.628 MB / 1.107 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009014/0.3694, allocations: 0.5814 MB / 1.107 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/0.3694, allocations: 33.69 kB / 1.107 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.3695, allocations: 68.03 kB / 1.108 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.3714, allocations: 1.014 MB / 1.109 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.3714, allocations: 0 / 1.109 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.806e-05/0.3715, allocations: 24 kB / 1.109 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.329e-05/0.3715, allocations: 49.28 kB / 1.109 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.3737, allocations: 0.9964 MB / 1.11 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004307/0.378, allocations: 3.493 MB / 1.113 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.3794, allocations: 0.4883 MB / 1.113 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005033/0.3799, allocations: 228.7 kB / 1.114 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.38, allocations: 4 kB / 1.114 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.38, allocations: 34.56 kB / 1.114 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 1.664e-06/0.38, allocations: 0 / 1.114 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.006377/0.3864, allocations: 2.022 MB / 1.116 GB, free: 4.445 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3864, allocations: 55.41 kB / 1.116 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006777/0.3871, allocations: 0.5743 MB / 1.116 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.3872, allocations: 29.7 kB / 1.116 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.3874, allocations: 356.2 kB / 1.117 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.3876, allocations: 149.8 kB / 1.117 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.3877, allocations: 90.16 kB / 1.117 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3879, allocations: 382.7 kB / 1.117 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006169/0.3885, allocations: 254.9 kB / 1.118 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006748/0.3892, allocations: 361.8 kB / 1.118 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.3905, allocations: 0.6225 MB / 1.118 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3905, allocations: 0 / 1.118 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002222/0.3927, allocations: 0.931 MB / 1.119 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3928, allocations: 4 kB / 1.119 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.3928, allocations: 4 kB / 1.119 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.3939, allocations: 277.2 kB / 1.12 GB, free: 208 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005929/0.3945, allocations: 123.8 kB / 1.12 GB, free: 84 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007437/0.4019, allocations: 9.103 MB / 1.129 GB, free: 6.148 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007105/0.4027, allocations: 47.89 kB / 1.129 GB, free: 6.102 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.4027, allocations: 20 kB / 1.129 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009472/0.4037, allocations: 445 kB / 1.129 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006644/0.4043, allocations: 357.4 kB / 1.13 GB, free: 5.258 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001247/0.4056, allocations: 0.609 MB / 1.13 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-06/0.4056, allocations: 0 / 1.13 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002439/0.4081, allocations: 1.125 MB / 1.131 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4081, allocations: 11.94 kB / 1.131 GB, free: 3.387 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4081, allocations: 4 kB / 1.131 GB, free: 3.383 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008065/0.4089, allocations: 221.2 kB / 1.131 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005831/0.4095, allocations: 115.8 kB / 1.132 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006717/0.4162, allocations: 8.789 MB / 1.14 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006569/0.4169, allocations: 44.02 kB / 1.14 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.417, allocations: 27.92 kB / 1.14 GB, free: 9.332 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002496/0.4172, allocations: 208.1 kB / 1.14 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.4173, allocations: 63.25 kB / 1.14 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.4176, allocations: 86.38 kB / 1.141 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4176, allocations: 4 kB / 1.141 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.4176, allocations: 0 / 1.141 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4176, allocations: 3.984 kB / 1.141 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008843/0.4185, allocations: 0.6494 MB / 1.141 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4185, allocations: 0 / 1.141 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004878/0.419, allocations: 87.84 kB / 1.141 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009454/0.4199, allocations: 252.9 kB / 1.141 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.42, allocations: 20.03 kB / 1.142 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008354/0.4284, allocations: 9.069 MB / 1.15 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4284, allocations: 0 / 1.15 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/0.431, allocations: 0.913 MB / 1.151 GB, free: 13.04 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/0.4314, allocations: 180.3 kB / 1.151 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/0.4315, allocations: 8 kB / 1.151 GB, free: 12.83 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004827/0.4319, allocations: 47.94 kB / 1.151 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.4322, allocations: 35.91 kB / 1.152 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.4322, allocations: 15.94 kB / 1.152 GB, free: 12.73 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005828/0.4328, allocations: 407.1 kB / 1.152 GB, free: 12.34 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.553e-06/0.4328, allocations: 0 / 1.152 GB, free: 12.34 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001363/0.4342, allocations: 303.9 kB / 1.152 GB, free: 12.04 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002153/0.4344, allocations: 107.2 kB / 1.152 GB, free: 11.93 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004105/0.4385, allocations: 2.356 MB / 1.155 GB, free: 9.418 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4385, allocations: 0 / 1.155 GB, free: 9.418 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.4399, allocations: 1.004 MB / 1.156 GB, free: 8.336 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.441, allocations: 234.6 kB / 1.156 GB, free: 8.121 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.4436, allocations: 1.283 MB / 1.157 GB, free: 6.809 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/0.4443, allocations: 0.9935 MB / 1.158 GB, free: 5.785 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004935/0.4448, allocations: 153.3 kB / 1.158 GB, free: 5.633 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.4449, allocations: 47.42 kB / 1.158 GB, free: 5.586 MB / 0.92 GB Notification: Performance of SimCode: time 9.72e-07/0.4449, allocations: 0 / 1.158 GB, free: 5.586 MB / 0.92 GB Notification: Performance of Templates: time 0.02303/0.468, allocations: 13.6 MB / 1.172 GB, free: 8.133 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Lines_Examples_DCLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches