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.001896/0.001897, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001988/0.001988, allocations: 194.1 kB / 16.25 MB, free: 6.594 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.584/1.584, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.802/2.802, allocations: 437 MB / 0.7101 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 63.91 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8078/0.8097, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.009822/0.8196, allocations: 6.319 MB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007857/0.8275, allocations: 4.484 MB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006716/0.8282, allocations: 23.88 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002611/0.8308, allocations: 0.8673 MB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002521/0.8333, allocations: 0.6996 MB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008245/0.8342, allocations: 286.3 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001826/0.836, allocations: 1.137 MB / 1.03 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.8373, allocations: 0.7727 MB / 1.031 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007547/0.8381, allocations: 478.2 kB / 1.031 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000769/0.8388, allocations: 0.5176 MB / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.839, allocations: 71.94 kB / 1.032 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000585/0.8396, allocations: 283.5 kB / 1.032 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00032/0.8399, allocations: 243.3 kB / 1.033 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000433/0.8403, allocations: 410 kB / 1.033 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.8417, allocations: 1.082 MB / 1.034 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8417, allocations: 0 / 1.034 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8417, allocations: 0 / 1.034 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.8417, allocations: 0 / 1.034 GB, free: 1.016 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.002107/0.8438, allocations: 1.083 MB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.8439, allocations: 16.03 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00323/0.8471, allocations: 0.628 MB / 1.036 GB, free: 15.23 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000979/0.8481, allocations: 0.5423 MB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/0.8482, allocations: 45.67 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.8483, allocations: 64.05 kB / 1.036 GB, free: 14.55 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.8507, allocations: 1.014 MB / 1.037 GB, free: 13.49 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.8507, allocations: 3.938 kB / 1.037 GB, free: 13.48 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.102e-05/0.8508, allocations: 27.98 kB / 1.037 GB, free: 13.46 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.971e-05/0.8509, allocations: 45.28 kB / 1.037 GB, free: 13.41 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/0.8533, allocations: 1.004 MB / 1.038 GB, free: 12.41 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005161/0.8585, allocations: 3.482 MB / 1.042 GB, free: 8.617 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.86, allocations: 0.4913 MB / 1.042 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.8606, allocations: 233.2 kB / 1.042 GB, free: 7.887 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.8606, allocations: 3.984 kB / 1.042 GB, free: 7.883 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.8607, allocations: 42.56 kB / 1.043 GB, free: 7.832 MB / 0.795 GB Notification: Performance of pre-optimization done (n=31): time 1.804e-06/0.8607, allocations: 0 / 1.043 GB, free: 7.832 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.007615/0.8683, allocations: 2.021 MB / 1.045 GB, free: 5.766 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.8684, allocations: 59.41 kB / 1.045 GB, free: 5.695 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008361/0.8692, allocations: 0.5626 MB / 1.045 GB, free: 5.125 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.8693, allocations: 41.7 kB / 1.045 GB, free: 5.078 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.8696, allocations: 356.2 kB / 1.045 GB, free: 4.723 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.8697, allocations: 149.8 kB / 1.046 GB, free: 4.574 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.8699, allocations: 94.16 kB / 1.046 GB, free: 4.477 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002789/0.8702, allocations: 370.7 kB / 1.046 GB, free: 4.105 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006996/0.8709, allocations: 262.9 kB / 1.046 GB, free: 3.844 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007687/0.8717, allocations: 361.8 kB / 1.047 GB, free: 3.441 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.8732, allocations: 0.6225 MB / 1.047 GB, free: 2.777 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8732, allocations: 3.938 kB / 1.047 GB, free: 2.773 MB / 0.795 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002539/0.8758, allocations: 0.9312 MB / 1.048 GB, free: 1.816 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.8758, allocations: 8 kB / 1.048 GB, free: 1.809 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.8758, allocations: 7.938 kB / 1.048 GB, free: 1.801 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.877, allocations: 273.1 kB / 1.048 GB, free: 1.516 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006328/0.8777, allocations: 115.8 kB / 1.049 GB, free: 1.402 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009408/0.8871, allocations: 9.116 MB / 1.057 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007204/0.8878, allocations: 39.95 kB / 1.058 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.8879, allocations: 20 kB / 1.058 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009673/0.8889, allocations: 445 kB / 1.058 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007582/0.8896, allocations: 357.5 kB / 1.058 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001569/0.8912, allocations: 0.6051 MB / 1.059 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-06/0.8912, allocations: 0 / 1.059 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002774/0.894, allocations: 1.121 MB / 1.06 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.894, allocations: 7.938 kB / 1.06 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.894, allocations: 4 kB / 1.06 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000899/0.8949, allocations: 225.3 kB / 1.06 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/0.8956, allocations: 123.8 kB / 1.06 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008436/0.904, allocations: 8.796 MB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007229/0.9048, allocations: 48.02 kB / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.9049, allocations: 20 kB / 1.069 GB, free: 10.64 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.0002845/0.9052, allocations: 217.8 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.9053, allocations: 71.16 kB / 1.069 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.9055, allocations: 78.38 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.9055, allocations: 4 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.9055, allocations: 7.938 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.9055, allocations: 3.938 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009533/0.9065, allocations: 0.6494 MB / 1.07 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.9065, allocations: 0 / 1.07 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.907, allocations: 91.91 kB / 1.07 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/0.9082, allocations: 260.8 kB / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.9082, allocations: 8 kB / 1.07 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009285/0.9175, allocations: 9.058 MB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.9175, allocations: 0 / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.9201, allocations: 0.917 MB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.9205, allocations: 180.3 kB / 1.08 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-05/0.9206, allocations: 4 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005115/0.9211, allocations: 43.95 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/0.9213, allocations: 51.83 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.9213, allocations: 8 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006173/0.922, allocations: 403.1 kB / 1.081 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.922, allocations: 0 / 1.081 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001364/0.9233, allocations: 304 kB / 1.081 GB, free: 13.36 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.0002236/0.9236, allocations: 118.4 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004567/0.9281, allocations: 2.399 MB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.9282, allocations: 0 / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.9299, allocations: 1.012 MB / 1.084 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.9311, allocations: 234.9 kB / 1.085 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/0.9342, allocations: 1.563 MB / 1.086 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008685/0.9351, allocations: 0.9819 MB / 1.087 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001112/0.9362, allocations: 153.4 kB / 1.087 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.9364, allocations: 51.42 kB / 1.087 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of SimCode: time 1.072e-06/0.9365, allocations: 0 / 1.087 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of Templates: time 0.02561/0.9621, allocations: 13.39 MB / 1.1 GB, free: 9.312 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