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.001967/0.001967, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002436/0.002436, allocations: 213.3 kB / 22.24 MB, free: 5.258 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.64/1.64, allocations: 230.6 MB / 256 MB, free: 7.809 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.374/3.374, allocations: 0.4892 GB / 0.7943 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.002091/0.002091, allocations: 66.17 kB / 1.154 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4365, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0288/0.4653, allocations: 21.26 MB / 1.346 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02982/0.4951, allocations: 16.85 MB / 1.363 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004488/0.4996, allocations: 174.6 kB / 1.363 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01248/0.5121, allocations: 4.169 MB / 1.367 GB, free: 7.289 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01398/0.526, allocations: 3.575 MB / 1.371 GB, free: 3.703 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004384/0.5304, allocations: 1.314 MB / 1.372 GB, free: 2.395 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01065/0.5411, allocations: 5.781 MB / 1.377 GB, free: 12.59 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007538/0.5486, allocations: 2.83 MB / 1.38 GB, free: 9.684 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007083/0.5557, allocations: 2.835 MB / 1.383 GB, free: 6.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005584/0.5613, allocations: 2.143 MB / 1.385 GB, free: 4.688 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001166/0.5624, allocations: 368 kB / 1.385 GB, free: 4.328 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003211/0.5657, allocations: 0.9516 MB / 1.386 GB, free: 3.375 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001446/0.5671, allocations: 1.219 MB / 1.388 GB, free: 2.152 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003157/0.5703, allocations: 1.629 MB / 1.389 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008682/0.5789, allocations: 5.191 MB / 1.394 GB, free: 11.3 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.507e-06/0.579, allocations: 0 / 1.394 GB, free: 11.3 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.406e-06/0.579, allocations: 0 / 1.394 GB, free: 11.3 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001757/0.5791, allocations: 0 / 1.394 GB, free: 11.3 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.0125/0.5916, allocations: 4.651 MB / 1.399 GB, free: 6.555 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.5917, allocations: 12.03 kB / 1.399 GB, free: 6.543 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01616/0.6079, allocations: 3.279 MB / 1.402 GB, free: 3.258 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006847/0.6147, allocations: 2.151 MB / 1.404 GB, free: 1.031 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000548/0.6152, allocations: 466.3 kB / 1.404 GB, free: 0.5117 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005897/0.6158, allocations: 239.9 kB / 1.405 GB, free: 284 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01212/0.628, allocations: 5.363 MB / 1.41 GB, free: 10.66 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.384e-05/0.628, allocations: 3.938 kB / 1.41 GB, free: 10.66 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003339/0.6283, allocations: 108 kB / 1.41 GB, free: 10.55 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002455/0.6286, allocations: 168.8 kB / 1.41 GB, free: 10.38 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/0.6432, allocations: 5.191 MB / 1.415 GB, free: 5.176 MB / 1.108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02182/0.665, allocations: 8.756 MB / 1.424 GB, free: 12.3 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/0.6752, allocations: 3.247 MB / 1.427 GB, free: 9.035 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003874/0.6791, allocations: 1.366 MB / 1.428 GB, free: 7.672 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.6792, allocations: 29.23 kB / 1.428 GB, free: 7.645 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004902/0.6841, allocations: 2.458 MB / 1.431 GB, free: 4.957 MB / 1.123 GB Notification: Performance of pre-optimization done (n=163): time 3.858e-06/0.6841, allocations: 0 / 1.431 GB, free: 4.957 MB / 1.123 GB Notification: Performance of matching and sorting (n=250): time 0.1499/0.834, allocations: 27.51 MB / 1.458 GB, free: 9.398 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004927/0.8345, allocations: 0.4967 MB / 1.458 GB, free: 8.793 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005595/0.8401, allocations: 1.994 MB / 1.46 GB, free: 6.785 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0006362/0.8407, allocations: 77.7 kB / 1.46 GB, free: 6.703 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.00236/0.8431, allocations: 1.466 MB / 1.462 GB, free: 5.227 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001653/0.8447, allocations: 0.8636 MB / 1.462 GB, free: 4.355 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001655/0.8464, allocations: 424.5 kB / 1.463 GB, free: 3.934 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.8466, allocations: 305.1 kB / 1.463 GB, free: 3.633 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006348/0.8529, allocations: 2.066 MB / 1.465 GB, free: 1.531 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006935/0.8599, allocations: 2.77 MB / 1.468 GB, free: 14.55 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/0.8727, allocations: 4.161 MB / 1.472 GB, free: 10.25 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-05/0.8727, allocations: 4 kB / 1.472 GB, free: 10.25 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02308/0.8958, allocations: 6.6 MB / 1.478 GB, free: 3.527 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001865/0.896, allocations: 148.8 kB / 1.478 GB, free: 3.352 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/0.896, allocations: 8 kB / 1.479 GB, free: 3.344 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01188/0.9079, allocations: 2.92 MB / 1.481 GB, free: 424 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003302/0.9112, allocations: 487.2 kB / 1.482 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04885/0.96, allocations: 18.2 MB / 1.5 GB, free: 13.56 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004928/0.9649, allocations: 319.6 kB / 1.5 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007791/0.9657, allocations: 87.97 kB / 1.5 GB, free: 13.16 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.002871/0.9686, allocations: 0.7064 MB / 1.501 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/0.9699, allocations: 322 kB / 1.501 GB, free: 12.13 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.9712, allocations: 365.2 kB / 1.501 GB, free: 11.76 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.022e-05/0.9712, allocations: 27.98 kB / 1.501 GB, free: 11.73 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.629e-05/0.9713, allocations: 8 kB / 1.501 GB, free: 11.73 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.801e-05/0.9713, allocations: 19.95 kB / 1.501 GB, free: 11.71 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00699/0.9783, allocations: 2.723 MB / 1.504 GB, free: 8.953 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.796e-05/0.9783, allocations: 4 kB / 1.504 GB, free: 8.949 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002741/0.9811, allocations: 411.4 kB / 1.504 GB, free: 8.547 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01089/0.992, allocations: 2.871 MB / 1.507 GB, free: 5.668 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006751/0.9926, allocations: 51.97 kB / 1.507 GB, free: 5.617 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04699/1.04, allocations: 17.97 MB / 1.525 GB, free: 3.422 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.04, allocations: 0 / 1.525 GB, free: 3.422 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02175/1.061, allocations: 6.079 MB / 1.531 GB, free: 13.32 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002706/1.064, allocations: 0.5993 MB / 1.531 GB, free: 12.71 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001201/1.065, allocations: 47.98 kB / 1.531 GB, free: 12.67 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004016/1.069, allocations: 315.6 kB / 1.532 GB, free: 12.36 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001465/1.071, allocations: 362.5 kB / 1.532 GB, free: 12 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000336/1.071, allocations: 71.97 kB / 1.532 GB, free: 11.93 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.003134/1.074, allocations: 1.313 MB / 1.533 GB, free: 10.61 MB / 1.233 GB Notification: Performance of sort global known variables: time 1.01e-07/1.074, allocations: 0 / 1.533 GB, free: 10.61 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.004535/1.079, allocations: 1.043 MB / 1.534 GB, free: 9.57 MB / 1.233 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.0004596/1.079, allocations: 164 kB / 1.535 GB, free: 9.398 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.02535/1.105, allocations: 6.473 MB / 1.541 GB, free: 2.801 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/1.105, allocations: 0 / 1.541 GB, free: 2.801 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.01929/1.124, allocations: 3.936 MB / 1.545 GB, free: 14.84 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008046/1.132, allocations: 1.023 MB / 1.546 GB, free: 13.85 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02058/1.153, allocations: 6.793 MB / 1.552 GB, free: 7.023 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002421/1.155, allocations: 1.687 MB / 1.554 GB, free: 5.293 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002644/1.158, allocations: 479.4 kB / 1.554 GB, free: 4.82 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006837/1.158, allocations: 167.4 kB / 1.555 GB, free: 4.656 MB / 1.248 GB Notification: Performance of SimCode: time 1.763e-06/1.158, allocations: 4 kB / 1.555 GB, free: 4.652 MB / 1.248 GB Notification: Performance of Templates: time 1.035/2.193, allocations: 77.6 MB / 1.63 GB, free: 261 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 -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/jenkins/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: 14.243167024105787]