Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 109.3 kB / 18.68 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008868/0.008868, allocations: 198.3 kB / 21.93 MB, free: 5.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.6 MB / 250.6 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 443.5 MB / 0.7317 GB, free: 12.66 MB / 0.5919 GB " [Timeout remaining time 177] 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.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 72.03 kB / 1.061 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9148/0.9168, allocations: 160.7 MB / 1.218 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.03092/0.9477, allocations: 23.46 MB / 1.241 GB, free: 188 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03332/0.981, allocations: 18.14 MB / 1.258 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005453/0.9865, allocations: 111.4 kB / 1.258 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01274/0.9992, allocations: 4.318 MB / 1.263 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01413/1.013, allocations: 3.574 MB / 1.266 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005487/1.019, allocations: 1.343 MB / 1.267 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01382/1.033, allocations: 5.623 MB / 1.273 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005035/1.038, allocations: 2.421 MB / 1.275 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005567/1.043, allocations: 2.398 MB / 1.278 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006186/1.049, allocations: 2.49 MB / 1.28 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001745/1.051, allocations: 356 kB / 1.28 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/1.055, allocations: 1.041 MB / 1.281 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001868/1.057, allocations: 1.191 MB / 1.283 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00427/1.061, allocations: 1.967 MB / 1.285 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.009774/1.071, allocations: 5.105 MB / 1.29 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/1.071, allocations: 0 / 1.29 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.385e-06/1.071, allocations: 0 / 1.29 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002076/1.071, allocations: 4 kB / 1.29 GB, free: 13.9 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.0128/1.084, allocations: 4.539 MB / 1.294 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/1.084, allocations: 8.625 kB / 1.294 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01704/1.101, allocations: 3.275 MB / 1.297 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005777/1.107, allocations: 2.227 MB / 1.299 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/1.107, allocations: 181.1 kB / 1.3 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000792/1.108, allocations: 240.1 kB / 1.3 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/1.12, allocations: 4.709 MB / 1.304 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-05/1.12, allocations: 3.938 kB / 1.304 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003947/1.12, allocations: 116 kB / 1.304 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002253/1.121, allocations: 168.8 kB / 1.305 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01552/1.136, allocations: 5.116 MB / 1.31 GB, free: 8.973 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02828/1.164, allocations: 13.98 MB / 1.323 GB, free: 9.828 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01348/1.178, allocations: 3.56 MB / 1.327 GB, free: 6.262 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003992/1.182, allocations: 1.291 MB / 1.328 GB, free: 4.973 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/1.182, allocations: 41.14 kB / 1.328 GB, free: 4.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004444/1.186, allocations: 1.724 MB / 1.33 GB, free: 3.141 MB / 1.029 GB Notification: Performance of pre-optimization done (n=163): time 3.928e-06/1.186, allocations: 0 / 1.33 GB, free: 3.141 MB / 1.029 GB Notification: Performance of matching and sorting (n=250): time 0.1394/1.326, allocations: 27.78 MB / 1.357 GB, free: 7.145 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003739/1.326, allocations: 0.4889 MB / 1.357 GB, free: 6.547 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004133/1.33, allocations: 2.3 MB / 1.36 GB, free: 4.234 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0005363/1.331, allocations: 73.7 kB / 1.36 GB, free: 4.156 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001634/1.332, allocations: 1.456 MB / 1.361 GB, free: 2.688 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001097/1.334, allocations: 0.8598 MB / 1.362 GB, free: 1.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008965/1.334, allocations: 424.5 kB / 1.362 GB, free: 1.398 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.335, allocations: 301.1 kB / 1.363 GB, free: 1.102 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005385/1.34, allocations: 1.798 MB / 1.364 GB, free: 15.29 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005683/1.346, allocations: 2.095 MB / 1.366 GB, free: 13.11 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/1.357, allocations: 3.947 MB / 1.37 GB, free: 9.027 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/1.357, allocations: 4 kB / 1.37 GB, free: 9.023 MB / 1.076 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01928/1.376, allocations: 6.006 MB / 1.376 GB, free: 2.926 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001454/1.376, allocations: 144.5 kB / 1.376 GB, free: 2.754 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/1.376, allocations: 8 kB / 1.376 GB, free: 2.746 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007801/1.384, allocations: 2.024 MB / 1.378 GB, free: 0.7188 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/1.387, allocations: 0.4914 MB / 1.379 GB, free: 232 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02907/1.416, allocations: 16.08 MB / 1.394 GB, free: 15.9 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004208/1.421, allocations: 311.6 kB / 1.395 GB, free: 15.59 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003956/1.421, allocations: 87.97 kB / 1.395 GB, free: 15.51 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006489/1.427, allocations: 2.362 MB / 1.397 GB, free: 13.14 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005702/1.433, allocations: 2.075 MB / 1.399 GB, free: 10.98 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01087/1.444, allocations: 3.915 MB / 1.403 GB, free: 6.926 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.077e-05/1.444, allocations: 4 kB / 1.403 GB, free: 6.922 MB / 1.108 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.0188/1.463, allocations: 5.901 MB / 1.409 GB, free: 0.9297 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/1.463, allocations: 148.5 kB / 1.409 GB, free: 0.7539 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/1.463, allocations: 4 kB / 1.409 GB, free: 0.75 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007165/1.47, allocations: 1.907 MB / 1.411 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003177/1.473, allocations: 0.4953 MB / 1.411 GB, free: 14.34 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02653/1.5, allocations: 15.59 MB / 1.426 GB, free: 14.46 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004504/1.504, allocations: 311.6 kB / 1.427 GB, free: 14.16 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004575/1.505, allocations: 83.98 kB / 1.427 GB, free: 14.08 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.0008988/1.506, allocations: 330.2 kB / 1.427 GB, free: 13.75 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009578/1.507, allocations: 353.8 kB / 1.427 GB, free: 13.4 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/1.508, allocations: 404.1 kB / 1.428 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.402e-05/1.508, allocations: 15.94 kB / 1.428 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/1.508, allocations: 3.984 kB / 1.428 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/1.509, allocations: 0.6823 MB / 1.429 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004489/1.51, allocations: 47.94 kB / 1.429 GB, free: 12.23 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003099/1.513, allocations: 299.6 kB / 1.429 GB, free: 11.93 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008699/1.514, allocations: 353.4 kB / 1.429 GB, free: 11.59 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01947/1.533, allocations: 5.878 MB / 1.435 GB, free: 5.691 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01709/1.55, allocations: 6.13 MB / 1.441 GB, free: 15.54 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005422/1.556, allocations: 1.943 MB / 1.443 GB, free: 13.59 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002838/1.559, allocations: 1.532 MB / 1.444 GB, free: 12.06 MB / 1.154 GB Notification: Performance of Backend: time 3.3e-07/1.559, allocations: 4 kB / 1.444 GB, free: 12.06 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.02339/1.582, allocations: 7.964 MB / 1.452 GB, free: 3.902 MB / 1.154 GB Notification: Performance of SimCode: time 0.01475/1.597, allocations: 7.735 MB / 1.46 GB, free: 12.14 MB / 1.17 GB Notification: Performance of Templates: time 0.1738/1.771, allocations: 98.56 MB / 1.556 GB, free: 10.32 MB / 1.264 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_DCLines.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.931245413987199]