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.001797/0.001797, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.553/1.553, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.772/2.772, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 59.89 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9468/0.9488, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.01484/0.9637, allocations: 6.306 MB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.976, allocations: 4.534 MB / 1.028 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.9771, allocations: 27.88 kB / 1.028 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004024/0.9812, allocations: 0.9135 MB / 1.029 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00399/0.9853, allocations: 0.7662 MB / 1.03 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.9868, allocations: 323.1 kB / 1.03 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002802/0.9896, allocations: 1.129 MB / 1.031 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001916/0.9916, allocations: 0.6868 MB / 1.032 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.9929, allocations: 470.4 kB / 1.032 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.9945, allocations: 0.4981 MB / 1.033 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003139/0.9948, allocations: 68 kB / 1.033 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.996, allocations: 283.5 kB / 1.033 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005267/0.9966, allocations: 247.3 kB / 1.033 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.9977, allocations: 406 kB / 1.034 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002347/1, allocations: 1.059 MB / 1.035 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1, allocations: 3.938 kB / 1.035 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/1, allocations: 0 / 1.035 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.195e-05/1, allocations: 7.984 kB / 1.035 GB, free: 0.7461 MB / 0.7794 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.003953/1.004, allocations: 1.087 MB / 1.036 GB, free: 15.61 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.004, allocations: 12.03 kB / 1.036 GB, free: 15.6 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00625/1.01, allocations: 0.628 MB / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/1.012, allocations: 0.5424 MB / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.543e-05/1.012, allocations: 45.62 kB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/1.013, allocations: 60.11 kB / 1.037 GB, free: 14.28 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003988/1.017, allocations: 1.014 MB / 1.038 GB, free: 13.22 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/1.017, allocations: 3.938 kB / 1.038 GB, free: 13.21 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/1.017, allocations: 24 kB / 1.038 GB, free: 13.19 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/1.017, allocations: 45.28 kB / 1.038 GB, free: 13.15 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004645/1.022, allocations: 1 MB / 1.039 GB, free: 12.15 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008206/1.03, allocations: 3.502 MB / 1.042 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/1.033, allocations: 499.4 kB / 1.043 GB, free: 7.844 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/1.034, allocations: 228.7 kB / 1.043 GB, free: 7.617 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-05/1.034, allocations: 4 kB / 1.043 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/1.034, allocations: 38.56 kB / 1.043 GB, free: 7.566 MB / 0.795 GB Notification: Performance of pre-optimization done (n=31): time 5.851e-06/1.034, allocations: 0 / 1.043 GB, free: 7.566 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.01295/1.047, allocations: 2.021 MB / 1.045 GB, free: 5.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/1.047, allocations: 55.41 kB / 1.045 GB, free: 5.434 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/1.048, allocations: 0.5665 MB / 1.046 GB, free: 4.859 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.595e-05/1.049, allocations: 37.7 kB / 1.046 GB, free: 4.816 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005125/1.049, allocations: 356.2 kB / 1.046 GB, free: 4.461 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003137/1.049, allocations: 149.8 kB / 1.046 GB, free: 4.312 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/1.05, allocations: 94.14 kB / 1.046 GB, free: 4.215 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002893/1.05, allocations: 370.7 kB / 1.047 GB, free: 3.844 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/1.051, allocations: 266.9 kB / 1.047 GB, free: 3.578 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/1.053, allocations: 357.8 kB / 1.047 GB, free: 3.184 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002732/1.056, allocations: 0.6303 MB / 1.048 GB, free: 2.512 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.056, allocations: 0 / 1.048 GB, free: 2.512 MB / 0.795 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004764/1.06, allocations: 0.935 MB / 1.049 GB, free: 1.551 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/1.06, allocations: 4 kB / 1.049 GB, free: 1.547 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/1.06, allocations: 4 kB / 1.049 GB, free: 1.543 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002107/1.063, allocations: 269.1 kB / 1.049 GB, free: 1.262 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/1.064, allocations: 127.8 kB / 1.049 GB, free: 1.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/1.076, allocations: 9.11 MB / 1.058 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008412/1.077, allocations: 43.94 kB / 1.058 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/1.077, allocations: 16 kB / 1.058 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001125/1.078, allocations: 441.7 kB / 1.058 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008156/1.079, allocations: 353.4 kB / 1.059 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001583/1.081, allocations: 0.6129 MB / 1.059 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-06/1.081, allocations: 0 / 1.059 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.003121/1.084, allocations: 1.121 MB / 1.061 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.084, allocations: 11.94 kB / 1.061 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.084, allocations: 3.938 kB / 1.061 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008519/1.085, allocations: 225.4 kB / 1.061 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/1.086, allocations: 119.8 kB / 1.061 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008275/1.094, allocations: 8.803 MB / 1.069 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007567/1.095, allocations: 44.02 kB / 1.07 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/1.095, allocations: 20 kB / 1.07 GB, free: 10.38 MB / 0.8262 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.0002697/1.095, allocations: 213.7 kB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/1.095, allocations: 71.16 kB / 1.07 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/1.095, allocations: 82.38 kB / 1.07 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.095, allocations: 7.938 kB / 1.07 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/1.095, allocations: 0 / 1.07 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/1.095, allocations: 144 / 1.07 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009066/1.096, allocations: 0.6533 MB / 1.071 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.096, allocations: 4 kB / 1.071 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005262/1.097, allocations: 87.91 kB / 1.071 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/1.098, allocations: 260.8 kB / 1.071 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/1.098, allocations: 8 kB / 1.071 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008461/1.106, allocations: 9.054 MB / 1.08 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.106, allocations: 0 / 1.08 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/1.109, allocations: 0.9247 MB / 1.081 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/1.109, allocations: 180.3 kB / 1.081 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.464e-05/1.109, allocations: 12 kB / 1.081 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005247/1.11, allocations: 31.95 kB / 1.081 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/1.11, allocations: 47.89 kB / 1.081 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/1.11, allocations: 16 kB / 1.081 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005413/1.111, allocations: 399.1 kB / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/1.111, allocations: 0 / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0011/1.112, allocations: 300 kB / 1.082 GB, free: 13.1 MB / 0.8419 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.000181/1.112, allocations: 119.2 kB / 1.082 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004564/1.117, allocations: 2.399 MB / 1.084 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.117, allocations: 0 / 1.084 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/1.118, allocations: 1.008 MB / 1.085 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/1.119, allocations: 232.7 kB / 1.085 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/1.122, allocations: 1.311 MB / 1.086 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009243/1.123, allocations: 0.9858 MB / 1.087 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006203/1.124, allocations: 153.4 kB / 1.088 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/1.124, allocations: 43.42 kB / 1.088 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/1.124, allocations: 0 / 1.088 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of Templates: time 0.02772/1.152, allocations: 13.44 MB / 1.101 GB, free: 9.262 MB / 0.8575 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=400 -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