Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.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_11_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_11_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.008986/0.008986, allocations: 101.5 kB / 15.73 MB, free: 5.965 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.001986/0.001986, allocations: 188.6 kB / 16.67 MB, free: 5.887 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.605/2.605, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.89 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9068/0.9083, allocations: 159.1 MB / 1.221 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.009872/0.9181, allocations: 6.321 MB / 1.227 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008303/0.9264, allocations: 4.549 MB / 1.231 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009417/0.9274, allocations: 23.88 kB / 1.231 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002954/0.9303, allocations: 0.9198 MB / 1.232 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00272/0.9331, allocations: 0.7758 MB / 1.233 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009573/0.934, allocations: 334.5 kB / 1.233 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001966/0.936, allocations: 1.125 MB / 1.234 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.937, allocations: 0.5401 MB / 1.235 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008709/0.9379, allocations: 490.3 kB / 1.235 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.939, allocations: 0.498 MB / 1.236 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002241/0.9392, allocations: 68 kB / 1.236 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007278/0.9399, allocations: 275.5 kB / 1.236 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003651/0.9403, allocations: 255.1 kB / 1.236 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006732/0.941, allocations: 413.9 kB / 1.237 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.9426, allocations: 1.075 MB / 1.238 GB, free: 436 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9426, allocations: 0 / 1.238 GB, free: 436 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9426, allocations: 0 / 1.238 GB, free: 436 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.852e-05/0.9426, allocations: 0 / 1.238 GB, free: 436 kB / 0.9512 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.002694/0.9453, allocations: 1.117 MB / 1.239 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.9454, allocations: 12.62 kB / 1.239 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003306/0.9487, allocations: 0.6402 MB / 1.24 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.9498, allocations: 0.5702 MB / 1.24 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.9498, allocations: 41.67 kB / 1.24 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.9499, allocations: 56.06 kB / 1.24 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.9521, allocations: 1.018 MB / 1.241 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.9521, allocations: 0 / 1.241 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.229e-05/0.9522, allocations: 31.98 kB / 1.241 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.09e-05/0.9523, allocations: 41.3 kB / 1.241 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/0.9547, allocations: 1.008 MB / 1.242 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004983/0.9597, allocations: 3.487 MB / 1.246 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.9612, allocations: 478.8 kB / 1.246 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/0.9617, allocations: 204.7 kB / 1.246 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.9617, allocations: 11.97 kB / 1.246 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.9618, allocations: 38.56 kB / 1.246 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=31): time 2.505e-06/0.9618, allocations: 0 / 1.246 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43): time 0.00691/0.9687, allocations: 2.022 MB / 1.248 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.9687, allocations: 55.41 kB / 1.248 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007589/0.9695, allocations: 0.5743 MB / 1.249 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.9695, allocations: 37.7 kB / 1.249 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.9698, allocations: 360.8 kB / 1.249 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.9699, allocations: 158.6 kB / 1.249 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.9701, allocations: 90.2 kB / 1.25 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.9702, allocations: 382.7 kB / 1.25 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006455/0.9709, allocations: 254.9 kB / 1.25 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007006/0.9716, allocations: 365.8 kB / 1.25 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.9729, allocations: 0.6225 MB / 1.251 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9729, allocations: 0 / 1.251 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002421/0.9753, allocations: 0.9277 MB / 1.252 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.9754, allocations: 4 kB / 1.252 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.9754, allocations: 4 kB / 1.252 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.9766, allocations: 277.1 kB / 1.252 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.9772, allocations: 115.8 kB / 1.252 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007638/0.9848, allocations: 9.117 MB / 1.261 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/0.9856, allocations: 48 kB / 1.261 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.276e-05/0.9856, allocations: 20 kB / 1.261 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009649/0.9866, allocations: 433 kB / 1.262 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000712/0.9873, allocations: 361.4 kB / 1.262 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00132/0.9886, allocations: 0.609 MB / 1.263 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.276e-06/0.9886, allocations: 0 / 1.263 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002564/0.9912, allocations: 1.117 MB / 1.264 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.9912, allocations: 12.28 kB / 1.264 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.9912, allocations: 8 kB / 1.264 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008289/0.992, allocations: 220.9 kB / 1.264 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.9927, allocations: 127.8 kB / 1.264 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006643/0.9993, allocations: 8.792 MB / 1.273 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006885/1, allocations: 47.95 kB / 1.273 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/1, allocations: 19.94 kB / 1.273 GB, free: 10.04 MB / 0.9981 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.0002248/1, allocations: 212.2 kB / 1.273 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/1, allocations: 75.56 kB / 1.273 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/1.001, allocations: 78.38 kB / 1.273 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/1.001, allocations: 4 kB / 1.273 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.001, allocations: 0 / 1.273 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/1.001, allocations: 4 kB / 1.273 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009526/1.002, allocations: 0.6455 MB / 1.274 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.002, allocations: 4 kB / 1.274 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005186/1.002, allocations: 91.84 kB / 1.274 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/1.003, allocations: 265 kB / 1.274 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/1.003, allocations: 4 kB / 1.274 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007528/1.011, allocations: 9.054 MB / 1.283 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.011, allocations: 0 / 1.283 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/1.013, allocations: 0.9134 MB / 1.284 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/1.013, allocations: 188.6 kB / 1.284 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/1.014, allocations: 12 kB / 1.284 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005503/1.014, allocations: 39.95 kB / 1.284 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/1.014, allocations: 43.89 kB / 1.284 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/1.014, allocations: 16 kB / 1.284 GB, free: 13.43 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005413/1.015, allocations: 403.1 kB / 1.285 GB, free: 13.04 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.015, allocations: 0 / 1.285 GB, free: 13.04 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001431/1.016, allocations: 299.9 kB / 1.285 GB, free: 12.75 MB / 1.014 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.0002357/1.016, allocations: 111.2 kB / 1.285 GB, free: 12.63 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003883/1.02, allocations: 2.309 MB / 1.287 GB, free: 10.17 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.02, allocations: 0 / 1.287 GB, free: 10.17 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001406/1.022, allocations: 1 MB / 1.288 GB, free: 9.09 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/1.023, allocations: 229.6 kB / 1.288 GB, free: 8.875 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/1.026, allocations: 1.312 MB / 1.29 GB, free: 7.531 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/1.026, allocations: 0.9859 MB / 1.291 GB, free: 6.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005275/1.027, allocations: 153.3 kB / 1.291 GB, free: 6.367 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/1.027, allocations: 43.42 kB / 1.291 GB, free: 6.324 MB / 1.014 GB Notification: Performance of SimCode: time 7.81e-07/1.027, allocations: 0 / 1.291 GB, free: 6.324 MB / 1.014 GB Notification: Performance of Templates: time 0.02455/1.051, allocations: 13.66 MB / 1.304 GB, free: 8.805 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_DCLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches