Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.001901/0.001901, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002333/0.002333, allocations: 212.4 kB / 22.99 MB, free: 4.957 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.271/3.271, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [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.002309/0.002309, allocations: 68.66 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4222, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02894/0.4511, allocations: 21.27 MB / 1.348 GB, free: 11.63 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03041/0.4815, allocations: 16.85 MB / 1.364 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004541/0.4861, allocations: 174.6 kB / 1.364 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0126/0.4987, allocations: 4.164 MB / 1.369 GB, free: 6.391 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01448/0.5132, allocations: 3.598 MB / 1.372 GB, free: 2.781 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004567/0.5177, allocations: 1.307 MB / 1.373 GB, free: 1.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01321/0.5309, allocations: 5.789 MB / 1.379 GB, free: 11.67 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007383/0.5383, allocations: 2.877 MB / 1.382 GB, free: 8.715 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007082/0.5454, allocations: 2.831 MB / 1.385 GB, free: 5.875 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005805/0.5512, allocations: 2.315 MB / 1.387 GB, free: 3.551 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001127/0.5523, allocations: 364 kB / 1.387 GB, free: 3.195 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003094/0.5554, allocations: 0.9593 MB / 1.388 GB, free: 2.234 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00147/0.5569, allocations: 1.211 MB / 1.389 GB, free: 1.02 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002894/0.5598, allocations: 1.633 MB / 1.391 GB, free: 15.38 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008208/0.568, allocations: 5.199 MB / 1.396 GB, free: 10.16 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.568, allocations: 4 kB / 1.396 GB, free: 10.16 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.344e-06/0.568, allocations: 0 / 1.396 GB, free: 10.16 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001828/0.5682, allocations: 0 / 1.396 GB, free: 10.16 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.01275/0.5809, allocations: 4.639 MB / 1.401 GB, free: 5.418 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.581, allocations: 8.031 kB / 1.401 GB, free: 5.41 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/0.5975, allocations: 3.283 MB / 1.404 GB, free: 2.121 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00637/0.6039, allocations: 2.151 MB / 1.406 GB, free: 15.89 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005533/0.6044, allocations: 470.3 kB / 1.406 GB, free: 15.37 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009422/0.6054, allocations: 239.9 kB / 1.406 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.6182, allocations: 5.37 MB / 1.412 GB, free: 9.512 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.111e-05/0.6183, allocations: 4 kB / 1.412 GB, free: 9.508 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003665/0.6186, allocations: 99.98 kB / 1.412 GB, free: 9.41 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003343/0.619, allocations: 172.8 kB / 1.412 GB, free: 9.238 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/0.6336, allocations: 5.191 MB / 1.417 GB, free: 4.031 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02462/0.6583, allocations: 8.752 MB / 1.426 GB, free: 11.16 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/0.6688, allocations: 3.246 MB / 1.429 GB, free: 7.895 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003893/0.6727, allocations: 1.366 MB / 1.43 GB, free: 6.531 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.6728, allocations: 21.31 kB / 1.43 GB, free: 6.512 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004992/0.6778, allocations: 2.456 MB / 1.433 GB, free: 3.828 MB / 1.123 GB Notification: Performance of pre-optimization done (n=163): time 5.29e-06/0.6778, allocations: 0 / 1.433 GB, free: 3.828 MB / 1.123 GB Notification: Performance of matching and sorting (n=250): time 0.1286/0.8064, allocations: 27.52 MB / 1.459 GB, free: 8.258 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003598/0.8067, allocations: 0.4967 MB / 1.46 GB, free: 7.652 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003125/0.8098, allocations: 1.994 MB / 1.462 GB, free: 5.645 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004601/0.8103, allocations: 77.7 kB / 1.462 GB, free: 5.562 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001498/0.8118, allocations: 1.469 MB / 1.463 GB, free: 4.082 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001089/0.8129, allocations: 0.8637 MB / 1.464 GB, free: 3.211 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009612/0.8138, allocations: 420.5 kB / 1.465 GB, free: 2.793 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.814, allocations: 305.1 kB / 1.465 GB, free: 2.492 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005475/0.8195, allocations: 2.066 MB / 1.467 GB, free: 400 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0061/0.8256, allocations: 2.774 MB / 1.47 GB, free: 13.4 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/0.8364, allocations: 4.165 MB / 1.474 GB, free: 9.098 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-06/0.8364, allocations: 0 / 1.474 GB, free: 9.098 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01956/0.856, allocations: 6.585 MB / 1.48 GB, free: 2.395 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.8561, allocations: 148.5 kB / 1.48 GB, free: 2.219 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.8561, allocations: 4 kB / 1.48 GB, free: 2.215 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01078/0.8669, allocations: 2.932 MB / 1.483 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002976/0.8699, allocations: 491.2 kB / 1.484 GB, free: 14.8 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04177/0.9116, allocations: 18.19 MB / 1.501 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004324/0.916, allocations: 323.6 kB / 1.502 GB, free: 12.11 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003647/0.9163, allocations: 87.97 kB / 1.502 GB, free: 12.03 MB / 1.201 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 (162): * Single equations (assignments): 155 * 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 {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001755/0.9181, allocations: 0.7064 MB / 1.502 GB, free: 11.31 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007715/0.9189, allocations: 322 kB / 1.503 GB, free: 11 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007959/0.9197, allocations: 361.2 kB / 1.503 GB, free: 10.63 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/0.9197, allocations: 20.19 kB / 1.503 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.913e-05/0.9197, allocations: 12 kB / 1.503 GB, free: 10.6 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/0.9198, allocations: 15.89 kB / 1.503 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004472/0.9242, allocations: 2.731 MB / 1.506 GB, free: 7.82 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.9242, allocations: 0 / 1.506 GB, free: 7.82 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002492/0.9267, allocations: 419.3 kB / 1.506 GB, free: 7.41 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01026/0.937, allocations: 2.871 MB / 1.509 GB, free: 4.531 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004391/0.9374, allocations: 47.97 kB / 1.509 GB, free: 4.484 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04136/0.9788, allocations: 17.98 MB / 1.527 GB, free: 2.281 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.9788, allocations: 0 / 1.527 GB, free: 2.281 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01889/0.9977, allocations: 6.083 MB / 1.533 GB, free: 12.17 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002563/1, allocations: 0.5954 MB / 1.533 GB, free: 11.57 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000687/1.001, allocations: 47.98 kB / 1.533 GB, free: 11.53 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003288/1.004, allocations: 315.6 kB / 1.533 GB, free: 11.22 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001377/1.006, allocations: 366.4 kB / 1.534 GB, free: 10.86 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002307/1.006, allocations: 67.97 kB / 1.534 GB, free: 10.79 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002274/1.008, allocations: 1.32 MB / 1.535 GB, free: 9.465 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/1.008, allocations: 0 / 1.535 GB, free: 9.465 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003489/1.012, allocations: 1.035 MB / 1.536 GB, free: 8.43 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004319/1.012, allocations: 171 kB / 1.536 GB, free: 8.25 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.02346/1.035, allocations: 6.466 MB / 1.543 GB, free: 1.66 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.035, allocations: 4 kB / 1.543 GB, free: 1.656 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0173/1.053, allocations: 3.923 MB / 1.547 GB, free: 13.7 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004947/1.058, allocations: 1.03 MB / 1.548 GB, free: 12.71 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/1.074, allocations: 6.793 MB / 1.554 GB, free: 5.883 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002315/1.076, allocations: 1.676 MB / 1.556 GB, free: 4.164 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002427/1.078, allocations: 479.4 kB / 1.556 GB, free: 3.691 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007043/1.079, allocations: 175.4 kB / 1.556 GB, free: 3.52 MB / 1.248 GB Notification: Performance of SimCode: time 1.172e-06/1.079, allocations: 0 / 1.556 GB, free: 3.52 MB / 1.248 GB Notification: Performance of Templates: time 1.027/2.106, allocations: 78.35 MB / 1.633 GB, free: 258.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.855366967996815]