Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.006306/0.006306, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001279/0.001279, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.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.653/2.653, allocations: 437 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4124, allocations: 151.6 MB / 1.167 GB, free: 6.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008466/0.421, allocations: 6.292 MB / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009416/0.4304, allocations: 4.542 MB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.4319, allocations: 23.88 kB / 1.177 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00395/0.436, allocations: 0.9175 MB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003655/0.4397, allocations: 0.7722 MB / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.4409, allocations: 323.5 kB / 1.179 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002033/0.4429, allocations: 1.121 MB / 1.18 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000947/0.4439, allocations: 0.6848 MB / 1.181 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005857/0.4445, allocations: 474.3 kB / 1.181 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000729/0.4452, allocations: 0.4981 MB / 1.182 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.4453, allocations: 68 kB / 1.182 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005931/0.4459, allocations: 275.5 kB / 1.182 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.4462, allocations: 255.2 kB / 1.182 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000477/0.4467, allocations: 409.9 kB / 1.183 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.4483, allocations: 1.078 MB / 1.184 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4483, allocations: 0 / 1.184 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4483, allocations: 0 / 1.184 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.4483, allocations: 0 / 1.184 GB, free: 5.078 MB / 0.9356 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.002366/0.4507, allocations: 1.117 MB / 1.185 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.565e-05/0.4508, allocations: 12.03 kB / 1.185 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/0.454, allocations: 0.6362 MB / 1.186 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009333/0.4549, allocations: 0.5741 MB / 1.186 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.455, allocations: 45.67 kB / 1.186 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.634e-05/0.4551, allocations: 48.12 kB / 1.186 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.4572, allocations: 1.018 MB / 1.187 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.4572, allocations: 4 kB / 1.187 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.047e-05/0.4573, allocations: 23.98 kB / 1.187 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.529e-05/0.4574, allocations: 49.28 kB / 1.187 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/0.46, allocations: 1 MB / 1.188 GB, free: 428 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004844/0.4648, allocations: 3.506 MB / 1.192 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.4664, allocations: 498.2 kB / 1.192 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005744/0.4669, allocations: 232.7 kB / 1.192 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.467, allocations: 8 kB / 1.192 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.467, allocations: 30.56 kB / 1.192 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.467, allocations: 0 / 1.192 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43): time 0.006731/0.4738, allocations: 2.034 MB / 1.194 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.4738, allocations: 59.41 kB / 1.194 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007122/0.4746, allocations: 0.5704 MB / 1.195 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.4746, allocations: 33.7 kB / 1.195 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.4749, allocations: 356.9 kB / 1.195 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.4751, allocations: 162.6 kB / 1.196 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.4753, allocations: 90.2 kB / 1.196 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4754, allocations: 382.7 kB / 1.196 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007074/0.4762, allocations: 254.9 kB / 1.196 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00075/0.4769, allocations: 361.8 kB / 1.197 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.4783, allocations: 0.6148 MB / 1.197 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.4783, allocations: 0 / 1.197 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002399/0.4807, allocations: 0.943 MB / 1.198 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.4808, allocations: 8 kB / 1.198 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.4808, allocations: 0 / 1.198 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.4819, allocations: 273.2 kB / 1.198 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005857/0.4825, allocations: 119.8 kB / 1.199 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007878/0.4904, allocations: 9.116 MB / 1.207 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007649/0.4912, allocations: 43.95 kB / 1.207 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.4912, allocations: 16 kB / 1.207 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009743/0.4922, allocations: 441 kB / 1.208 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007128/0.4929, allocations: 365.3 kB / 1.208 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001357/0.4943, allocations: 0.609 MB / 1.209 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.345e-06/0.4943, allocations: 0 / 1.209 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002543/0.4969, allocations: 1.117 MB / 1.21 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4969, allocations: 11.94 kB / 1.21 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.4969, allocations: 4 kB / 1.21 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007997/0.4977, allocations: 229.4 kB / 1.21 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/0.4983, allocations: 123.8 kB / 1.21 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00704/0.5054, allocations: 8.796 MB / 1.219 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007043/0.5061, allocations: 51.95 kB / 1.219 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.5062, allocations: 16 kB / 1.219 GB, free: 14.62 MB / 0.9825 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.000241/0.5064, allocations: 220.8 kB / 1.219 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.5066, allocations: 71.58 kB / 1.219 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.5068, allocations: 78.38 kB / 1.219 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.5068, allocations: 4.141 kB / 1.219 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.5068, allocations: 0 / 1.219 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.5068, allocations: 7.984 kB / 1.219 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000769/0.5076, allocations: 0.6455 MB / 1.22 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5076, allocations: 0 / 1.22 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/0.5081, allocations: 91.84 kB / 1.22 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009246/0.509, allocations: 256.9 kB / 1.22 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.5091, allocations: 4 kB / 1.22 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007533/0.5166, allocations: 9.07 MB / 1.229 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5167, allocations: 0 / 1.229 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.5191, allocations: 0.9289 MB / 1.23 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/0.5194, allocations: 184.6 kB / 1.23 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.626e-05/0.5195, allocations: 8 kB / 1.23 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.52, allocations: 43.95 kB / 1.23 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.5201, allocations: 35.94 kB / 1.23 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.5202, allocations: 12 kB / 1.23 GB, free: 2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005209/0.5207, allocations: 403.1 kB / 1.231 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5207, allocations: 0 / 1.231 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001188/0.5219, allocations: 303.9 kB / 1.231 GB, free: 1.316 MB / 0.9825 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.0001713/0.5221, allocations: 115.2 kB / 1.231 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004175/0.5263, allocations: 2.357 MB / 1.233 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.5263, allocations: 0 / 1.233 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.5278, allocations: 1.016 MB / 1.234 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.5289, allocations: 231.8 kB / 1.235 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.5315, allocations: 1.31 MB / 1.236 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/0.5322, allocations: 0.9821 MB / 1.237 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005405/0.5328, allocations: 145.4 kB / 1.237 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.5329, allocations: 51.44 kB / 1.237 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of SimCode: time 2.194e-06/0.5329, allocations: 0 / 1.237 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of Templates: time 0.6916/1.225, allocations: 13.58 MB / 1.25 GB, free: 76.09 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_DCLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches