Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 210.5 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.249/3.249, allocations: 0.49 GB / 0.7959 GB, free: 35.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Electrical.DC.Lines.Examples.DCLines") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 68.23 kB / 1.155 GB, free: 25.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3405, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.03122/0.3717, allocations: 21.25 MB / 1.348 GB, free: 11.63 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02863/0.4003, allocations: 16.84 MB / 1.364 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.4036, allocations: 178.6 kB / 1.364 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01201/0.4156, allocations: 4.164 MB / 1.369 GB, free: 6.391 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01545/0.4311, allocations: 3.585 MB / 1.372 GB, free: 2.801 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004315/0.4354, allocations: 1.305 MB / 1.373 GB, free: 1.496 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009704/0.4451, allocations: 5.644 MB / 1.379 GB, free: 11.83 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005831/0.4509, allocations: 2.892 MB / 1.382 GB, free: 8.863 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005929/0.4569, allocations: 2.745 MB / 1.384 GB, free: 6.109 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004386/0.4612, allocations: 2.292 MB / 1.387 GB, free: 3.809 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0008981/0.4621, allocations: 352 kB / 1.387 GB, free: 3.465 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.4646, allocations: 0.9437 MB / 1.388 GB, free: 2.52 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001449/0.466, allocations: 1.183 MB / 1.389 GB, free: 1.332 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002399/0.4684, allocations: 1.606 MB / 1.391 GB, free: 15.71 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007455/0.4759, allocations: 5.113 MB / 1.396 GB, free: 10.59 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4759, allocations: 0 / 1.396 GB, free: 10.59 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4759, allocations: 0 / 1.396 GB, free: 10.59 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001279/0.476, allocations: 0 / 1.396 GB, free: 10.59 MB / 1.092 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.01294/0.489, allocations: 4.459 MB / 1.4 GB, free: 6.027 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.489, allocations: 8.031 kB / 1.4 GB, free: 6.02 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01653/0.5055, allocations: 3.271 MB / 1.403 GB, free: 2.742 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005793/0.5113, allocations: 2.143 MB / 1.405 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.5115, allocations: 189 kB / 1.405 GB, free: 344 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006684/0.5122, allocations: 236.1 kB / 1.406 GB, free: 108 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01238/0.5246, allocations: 5.261 MB / 1.411 GB, free: 10.59 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.349e-05/0.5246, allocations: 7.922 kB / 1.411 GB, free: 10.58 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003691/0.525, allocations: 116 kB / 1.411 GB, free: 10.47 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000244/0.5252, allocations: 168.8 kB / 1.411 GB, free: 10.3 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/0.5398, allocations: 5.109 MB / 1.416 GB, free: 5.176 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02125/0.561, allocations: 8.366 MB / 1.424 GB, free: 12.69 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01289/0.5739, allocations: 3.541 MB / 1.428 GB, free: 9.137 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003574/0.5775, allocations: 1.303 MB / 1.429 GB, free: 7.836 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.5776, allocations: 21.3 kB / 1.429 GB, free: 7.812 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004563/0.5822, allocations: 2.38 MB / 1.431 GB, free: 5.207 MB / 1.123 GB Notification: Performance of pre-optimization done (n=163): time 5.159e-06/0.5822, allocations: 0 / 1.431 GB, free: 5.207 MB / 1.123 GB Notification: Performance of matching and sorting (n=250): time 0.1277/0.7099, allocations: 27.06 MB / 1.458 GB, free: 10.09 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003405/0.7103, allocations: 496.7 kB / 1.458 GB, free: 9.5 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003197/0.7134, allocations: 1.998 MB / 1.46 GB, free: 7.488 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004462/0.7139, allocations: 81.64 kB / 1.46 GB, free: 7.402 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001407/0.7153, allocations: 1.466 MB / 1.462 GB, free: 5.926 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000993/0.7163, allocations: 0.8714 MB / 1.462 GB, free: 5.047 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009012/0.7172, allocations: 412.5 kB / 1.463 GB, free: 4.637 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.7173, allocations: 301.1 kB / 1.463 GB, free: 4.34 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004961/0.7223, allocations: 1.943 MB / 1.465 GB, free: 2.355 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005446/0.7277, allocations: 2.637 MB / 1.468 GB, free: 15.5 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/0.7378, allocations: 3.939 MB / 1.471 GB, free: 11.43 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.7378, allocations: 3.938 kB / 1.471 GB, free: 11.43 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01918/0.757, allocations: 6.12 MB / 1.477 GB, free: 5.184 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.7572, allocations: 148.5 kB / 1.478 GB, free: 5.008 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/0.7572, allocations: 8 kB / 1.478 GB, free: 5 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008628/0.7658, allocations: 2.013 MB / 1.48 GB, free: 2.98 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/0.7689, allocations: 0.4953 MB / 1.48 GB, free: 2.484 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02822/0.7972, allocations: 15.47 MB / 1.495 GB, free: 2.848 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003665/0.8008, allocations: 307.6 kB / 1.495 GB, free: 2.547 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002905/0.8011, allocations: 91.97 kB / 1.496 GB, free: 2.457 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005916/0.807, allocations: 2.504 MB / 1.498 GB, free: 15.91 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00536/0.8124, allocations: 2.614 MB / 1.501 GB, free: 13.08 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009425/0.8218, allocations: 3.919 MB / 1.504 GB, free: 9.027 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.516e-06/0.8218, allocations: 0 / 1.504 GB, free: 9.027 MB / 1.201 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01661/0.8384, allocations: 6.019 MB / 1.51 GB, free: 2.887 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.8386, allocations: 152.5 kB / 1.51 GB, free: 2.707 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.8386, allocations: 4 kB / 1.51 GB, free: 2.703 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007615/0.8462, allocations: 1.892 MB / 1.512 GB, free: 0.8008 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003151/0.8493, allocations: 0.4953 MB / 1.513 GB, free: 312 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02628/0.8756, allocations: 14.99 MB / 1.527 GB, free: 1.105 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003755/0.8794, allocations: 315.6 kB / 1.528 GB, free: 0.7969 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003/0.8797, allocations: 91.97 kB / 1.528 GB, free: 0.707 MB / 1.217 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.000668/0.8803, allocations: 317.1 kB / 1.528 GB, free: 404 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005441/0.8809, allocations: 314 kB / 1.528 GB, free: 88 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009295/0.8818, allocations: 389.3 kB / 1.529 GB, free: 15.69 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/0.8818, allocations: 11.95 kB / 1.529 GB, free: 15.68 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.8818, allocations: 0 / 1.529 GB, free: 15.68 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/0.8834, allocations: 0.572 MB / 1.529 GB, free: 15.11 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004338/0.8838, allocations: 55.98 kB / 1.529 GB, free: 15.05 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002834/0.8867, allocations: 307.5 kB / 1.53 GB, free: 14.75 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008313/0.8875, allocations: 361.2 kB / 1.53 GB, free: 14.39 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01819/0.9057, allocations: 5.849 MB / 1.536 GB, free: 8.531 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01497/0.9207, allocations: 6.112 MB / 1.542 GB, free: 2.391 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004578/0.9252, allocations: 1.936 MB / 1.544 GB, free: 468 kB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002027/0.9273, allocations: 1.313 MB / 1.545 GB, free: 15.13 MB / 1.248 GB Notification: Performance of Backend: time 9.72e-07/0.9273, allocations: 4 kB / 1.545 GB, free: 15.13 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02031/0.9476, allocations: 8.248 MB / 1.553 GB, free: 6.629 MB / 1.248 GB Notification: Performance of SimCode: time 0.01273/0.9603, allocations: 7.577 MB / 1.56 GB, free: 15.02 MB / 1.264 GB Notification: Performance of Templates: time 0.804/1.764, allocations: 103.8 MB / 1.662 GB, free: 242.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLines_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_DCLines.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.435201449996384]