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.001202/0.001202, allocations: 113.5 kB / 16.42 MB, free: 6.508 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.001242/0.001242, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.528/2.528, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 67.83 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9917/0.9931, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.009125/1.002, allocations: 6.306 MB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007882/1.01, allocations: 4.542 MB / 1.178 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008433/1.011, allocations: 23.88 kB / 1.178 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002629/1.014, allocations: 0.909 MB / 1.179 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002451/1.016, allocations: 0.7905 MB / 1.18 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008062/1.017, allocations: 320.4 kB / 1.18 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001507/1.019, allocations: 1.133 MB / 1.181 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009263/1.02, allocations: 0.682 MB / 1.182 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007075/1.02, allocations: 478.4 kB / 1.182 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007664/1.021, allocations: 0.5019 MB / 1.183 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/1.021, allocations: 72 kB / 1.183 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000554/1.022, allocations: 275.5 kB / 1.183 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/1.022, allocations: 251.3 kB / 1.183 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004285/1.022, allocations: 406 kB / 1.184 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/1.024, allocations: 1.081 MB / 1.185 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.024, allocations: 0 / 1.185 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.486e-06/1.024, allocations: 0 / 1.185 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.483e-05/1.024, allocations: 0 / 1.185 GB, free: 2.113 MB / 0.9044 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.001894/1.026, allocations: 1.117 MB / 1.186 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.026, allocations: 8.625 kB / 1.186 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002996/1.029, allocations: 0.6402 MB / 1.186 GB, free: 300 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008945/1.03, allocations: 0.578 MB / 1.187 GB, free: 15.68 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/1.03, allocations: 45.67 kB / 1.187 GB, free: 15.63 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-05/1.03, allocations: 48.12 kB / 1.187 GB, free: 15.58 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/1.032, allocations: 1.014 MB / 1.188 GB, free: 14.52 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/1.032, allocations: 7.938 kB / 1.188 GB, free: 14.52 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/1.032, allocations: 24 kB / 1.188 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.651e-05/1.032, allocations: 49.28 kB / 1.188 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/1.034, allocations: 1 MB / 1.189 GB, free: 13.44 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004458/1.039, allocations: 3.502 MB / 1.192 GB, free: 9.633 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/1.04, allocations: 491.4 kB / 1.193 GB, free: 9.145 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/1.04, allocations: 228.7 kB / 1.193 GB, free: 8.918 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/1.041, allocations: 7.984 kB / 1.193 GB, free: 8.91 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/1.041, allocations: 38.56 kB / 1.193 GB, free: 8.863 MB / 0.92 GB Notification: Performance of pre-optimization done (n=31): time 2.675e-06/1.041, allocations: 0 / 1.193 GB, free: 8.863 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.006541/1.047, allocations: 2.032 MB / 1.195 GB, free: 6.789 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/1.047, allocations: 55.41 kB / 1.195 GB, free: 6.723 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006767/1.048, allocations: 0.5705 MB / 1.196 GB, free: 6.145 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/1.048, allocations: 37.69 kB / 1.196 GB, free: 6.102 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/1.048, allocations: 356.8 kB / 1.196 GB, free: 5.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/1.048, allocations: 158.6 kB / 1.196 GB, free: 5.594 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/1.049, allocations: 90.2 kB / 1.196 GB, free: 5.5 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.049, allocations: 378.8 kB / 1.197 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/1.049, allocations: 258.9 kB / 1.197 GB, free: 4.863 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000698/1.05, allocations: 361.8 kB / 1.197 GB, free: 4.465 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/1.051, allocations: 0.6225 MB / 1.198 GB, free: 3.801 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.051, allocations: 0 / 1.198 GB, free: 3.801 MB / 0.92 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002322/1.054, allocations: 0.9353 MB / 1.199 GB, free: 2.84 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/1.054, allocations: 11.94 kB / 1.199 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.054, allocations: 0 / 1.199 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/1.055, allocations: 273.2 kB / 1.199 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/1.056, allocations: 119.8 kB / 1.199 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009686/1.065, allocations: 9.117 MB / 1.208 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007686/1.066, allocations: 51.95 kB / 1.208 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/1.066, allocations: 16 kB / 1.208 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001162/1.067, allocations: 439.1 kB / 1.209 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006813/1.068, allocations: 361.4 kB / 1.209 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001479/1.069, allocations: 0.6051 MB / 1.21 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.364e-06/1.069, allocations: 0 / 1.21 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002397/1.072, allocations: 1.121 MB / 1.211 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/1.072, allocations: 8.344 kB / 1.211 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.072, allocations: 11.94 kB / 1.211 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008195/1.073, allocations: 217 kB / 1.211 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006548/1.073, allocations: 127.8 kB / 1.211 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006626/1.08, allocations: 8.8 MB / 1.22 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006777/1.081, allocations: 43.95 kB / 1.22 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/1.081, allocations: 20 kB / 1.22 GB, free: 11.66 MB / 0.9512 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.000256/1.081, allocations: 208.2 kB / 1.22 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/1.081, allocations: 79.52 kB / 1.22 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/1.081, allocations: 74.38 kB / 1.22 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/1.081, allocations: 0 / 1.22 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.081, allocations: 3.938 kB / 1.22 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/1.082, allocations: 188.6 kB / 1.22 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-05/1.082, allocations: 12 kB / 1.22 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/1.082, allocations: 35.95 kB / 1.22 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/1.082, allocations: 39.94 kB / 1.22 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002523/1.085, allocations: 0.9307 MB / 1.221 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001976/1.087, allocations: 1.055 MB / 1.222 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006286/1.087, allocations: 267.8 kB / 1.222 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005038/1.088, allocations: 399.1 kB / 1.223 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of Backend: time 1.8e-07/1.088, allocations: 4 kB / 1.223 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004042/1.092, allocations: 2.342 MB / 1.225 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of SimCode: time 0.00264/1.095, allocations: 1.919 MB / 1.227 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of Templates: time 0.02622/1.121, allocations: 16.39 MB / 1.243 GB, free: 3.602 MB / 0.9669 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/jenkins1/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