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.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.001355/0.001355, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001886/0.001886, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.487/1.487, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.299/3.299, allocations: 496 MB / 0.7835 GB, free: 33.58 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 60.78 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5448/0.5469, allocations: 173.6 MB / 1.307 GB, free: 1.82 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03243/0.5793, allocations: 23.48 MB / 1.33 GB, free: 10.26 MB / 1.029 GB
Notification: Performance of NFInst.instExpressions: time 0.03435/0.6137, allocations: 18.15 MB / 1.348 GB, free: 8.055 MB / 1.045 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.005488/0.6192, allocations: 150.8 kB / 1.348 GB, free: 7.906 MB / 1.045 GB
Notification: Performance of NFTyping.typeComponents: time 0.01355/0.6327, allocations: 4.35 MB / 1.352 GB, free: 3.551 MB / 1.045 GB
Notification: Performance of NFTyping.typeBindings: time 0.01619/0.6489, allocations: 3.598 MB / 1.356 GB, free: 15.95 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.006597/0.6555, allocations: 1.337 MB / 1.357 GB, free: 14.61 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.01501/0.6705, allocations: 5.788 MB / 1.363 GB, free: 8.805 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.00785/0.6784, allocations: 2.47 MB / 1.365 GB, free: 6.262 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.006912/0.6853, allocations: 2.519 MB / 1.368 GB, free: 3.734 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.007343/0.6926, allocations: 2.51 MB / 1.37 GB, free: 1.215 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 0.00239/0.695, allocations: 372 kB / 1.37 GB, free: 0.8516 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004463/0.6995, allocations: 1.057 MB / 1.372 GB, free: 15.79 MB / 1.076 GB
Notification: Performance of NFScalarize.scalarize: time 0.003195/0.7027, allocations: 1.234 MB / 1.373 GB, free: 14.55 MB / 1.076 GB
Notification: Performance of NFVerifyModel.verify: time 0.006658/0.7093, allocations: 1.994 MB / 1.375 GB, free: 12.55 MB / 1.076 GB
Notification: Performance of NFConvertDAE.convert: time 0.01342/0.7227, allocations: 5.191 MB / 1.38 GB, free: 7.34 MB / 1.076 GB
Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.7227, allocations: 0 / 1.38 GB, free: 7.34 MB / 1.076 GB
Notification: Performance of FrontEnd: time 2.755e-06/0.7228, allocations: 0 / 1.38 GB, free: 7.34 MB / 1.076 GB
Notification: Performance of Transformations before backend: time 0.0002975/0.723, allocations: 0 / 1.38 GB, free: 7.34 MB / 1.076 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.01814/0.7412, allocations: 4.645 MB / 1.384 GB, free: 2.598 MB / 1.076 GB
Notification: Performance of prepare preOptimizeDAE: time 6.537e-05/0.7413, allocations: 12.92 kB / 1.384 GB, free: 2.586 MB / 1.076 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01747/0.7587, allocations: 3.279 MB / 1.388 GB, free: 15.3 MB / 1.092 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.006867/0.7656, allocations: 2.131 MB / 1.39 GB, free: 13.09 MB / 1.092 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005577/0.7661, allocations: 466.3 kB / 1.39 GB, free: 12.57 MB / 1.092 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009303/0.7671, allocations: 239.9 kB / 1.39 GB, free: 12.34 MB / 1.092 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/0.7787, allocations: 4.81 MB / 1.395 GB, free: 7.383 MB / 1.092 GB
Notification: Performance of preOpt findStateOrder (simulation): time 5.058e-05/0.7787, allocations: 4 kB / 1.395 GB, free: 7.379 MB / 1.092 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003428/0.7791, allocations: 108 kB / 1.395 GB, free: 7.273 MB / 1.092 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002161/0.7793, allocations: 168.8 kB / 1.395 GB, free: 7.105 MB / 1.092 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/0.7932, allocations: 5.202 MB / 1.4 GB, free: 1.887 MB / 1.092 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02623/0.8195, allocations: 14.35 MB / 1.414 GB, free: 2.359 MB / 1.107 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00965/0.8291, allocations: 3.26 MB / 1.418 GB, free: 15.09 MB / 1.123 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003669/0.8328, allocations: 1.373 MB / 1.419 GB, free: 13.71 MB / 1.123 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.8329, allocations: 29.22 kB / 1.419 GB, free: 13.68 MB / 1.123 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004326/0.8373, allocations: 1.798 MB / 1.421 GB, free: 11.81 MB / 1.123 GB
Notification: Performance of pre-optimization done (n=163): time 3.487e-06/0.8373, allocations: 0 / 1.421 GB, free: 11.81 MB / 1.123 GB
Notification: Performance of matching and sorting (n=250): time 0.131/0.9682, allocations: 27.53 MB / 1.448 GB, free: 240 kB / 1.139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004257/0.9686, allocations: 0.4967 MB / 1.448 GB, free: 15.63 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004061/0.9727, allocations: 2.293 MB / 1.45 GB, free: 13.32 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 0.0006007/0.9733, allocations: 81.69 kB / 1.45 GB, free: 13.24 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 0.00162/0.9749, allocations: 1.452 MB / 1.452 GB, free: 11.77 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 0.00124/0.9762, allocations: 0.8598 MB / 1.453 GB, free: 10.91 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009382/0.9771, allocations: 416.5 kB / 1.453 GB, free: 10.49 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.0001519/0.9772, allocations: 301.1 kB / 1.453 GB, free: 10.2 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.005284/0.9825, allocations: 1.933 MB / 1.455 GB, free: 8.258 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.005915/0.9884, allocations: 2.228 MB / 1.457 GB, free: 5.945 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/0.9994, allocations: 4.161 MB / 1.461 GB, free: 1.648 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/0.9994, allocations: 4 kB / 1.461 GB, free: 1.645 MB / 1.154 GB
Notification: Performance of matching and sorting (n=299) (initialization): time 0.01958/1.019, allocations: 6.478 MB / 1.468 GB, free: 11.07 MB / 1.17 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001504/1.019, allocations: 148.5 kB / 1.468 GB, free: 10.9 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/1.019, allocations: 4 kB / 1.468 GB, free: 10.89 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/1.03, allocations: 2.925 MB / 1.471 GB, free: 7.961 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003052/1.033, allocations: 483.2 kB / 1.471 GB, free: 7.488 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04283/1.076, allocations: 18.66 MB / 1.489 GB, free: 4.629 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004624/1.08, allocations: 319.6 kB / 1.49 GB, free: 4.316 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004048/1.081, allocations: 87.97 kB / 1.49 GB, free: 4.23 MB / 1.186 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.001807/1.083, allocations: 0.7077 MB / 1.49 GB, free: 3.516 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008298/1.083, allocations: 353.8 kB / 1.491 GB, free: 3.168 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000836/1.084, allocations: 380.1 kB / 1.491 GB, free: 2.789 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/1.084, allocations: 28 kB / 1.491 GB, free: 2.762 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.359e-05/1.084, allocations: 11.94 kB / 1.491 GB, free: 2.75 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.06e-05/1.084, allocations: 11.95 kB / 1.491 GB, free: 2.738 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005772/1.09, allocations: 3.607 MB / 1.495 GB, free: 15.08 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/1.09, allocations: 0 / 1.495 GB, free: 15.08 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002518/1.093, allocations: 411.4 kB / 1.495 GB, free: 14.68 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.01024/1.103, allocations: 2.867 MB / 1.498 GB, free: 11.8 MB / 1.201 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004284/1.103, allocations: 51.97 kB / 1.498 GB, free: 11.75 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04171/1.145, allocations: 18.44 MB / 1.516 GB, free: 9.074 MB / 1.217 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.145, allocations: 0 / 1.516 GB, free: 9.074 MB / 1.217 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01877/1.164, allocations: 6.112 MB / 1.522 GB, free: 2.934 MB / 1.217 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002268/1.166, allocations: 0.6381 MB / 1.523 GB, free: 2.293 MB / 1.217 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005959/1.167, allocations: 47.94 kB / 1.523 GB, free: 2.246 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003177/1.17, allocations: 311.6 kB / 1.523 GB, free: 1.941 MB / 1.217 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001431/1.171, allocations: 370.5 kB / 1.523 GB, free: 1.578 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002233/1.172, allocations: 71.97 kB / 1.523 GB, free: 1.508 MB / 1.217 GB
Notification: Performance of sorting global known variables: time 0.002606/1.174, allocations: 1.536 MB / 1.525 GB, free: 15.97 MB / 1.232 GB
Notification: Performance of sort global known variables: time 1.01e-07/1.174, allocations: 0 / 1.525 GB, free: 15.97 MB / 1.232 GB
Notification: Performance of remove unused functions: time 0.003696/1.178, allocations: 1.047 MB / 1.526 GB, free: 14.92 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.0004136/1.178, allocations: 159.6 kB / 1.526 GB, free: 14.75 MB / 1.232 GB
Notification: Performance of simCode: created initialization part: time 0.02365/1.202, allocations: 6.32 MB / 1.532 GB, free: 8.344 MB / 1.232 GB
Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.202, allocations: 4 kB / 1.532 GB, free: 8.34 MB / 1.232 GB
Notification: Performance of simCode: created simulation system equations: time 0.018/1.22, allocations: 3.936 MB / 1.536 GB, free: 4.375 MB / 1.232 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005786/1.226, allocations: 1.138 MB / 1.537 GB, free: 3.281 MB / 1.232 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01583/1.242, allocations: 6.814 MB / 1.544 GB, free: 12.44 MB / 1.248 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002586/1.244, allocations: 2.231 MB / 1.546 GB, free: 10.18 MB / 1.248 GB
Notification: Performance of simCode: alias equations: time 0.00274/1.247, allocations: 0.5057 MB / 1.546 GB, free: 9.664 MB / 1.248 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007599/1.248, allocations: 187.3 kB / 1.547 GB, free: 9.48 MB / 1.248 GB
Notification: Performance of SimCode: time 2.866e-06/1.248, allocations: 4 kB / 1.547 GB, free: 9.477 MB / 1.248 GB
Notification: Performance of Templates: time 1.037/2.285, allocations: 78.33 MB / 1.623 GB, free: 273.6 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.26232160255313]