Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001498/0.001498, allocations: 110 kB / 18.93 MB, free: 2.945 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.001555/0.001555, allocations: 192 kB / 22.23 MB, free: 5.16 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.509/1.509, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.209/3.209, allocations: 0.4893 GB / 0.7884 GB, free: 33.38 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-master/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_latest_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_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 66.11 kB / 1.145 GB, free: 30.65 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.456, allocations: 174.9 MB / 1.316 GB, free: 9.664 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03014/0.4861, allocations: 23.48 MB / 1.339 GB, free: 2.105 MB / 1.029 GB
Notification: Performance of NFInst.instExpressions: time 0.03325/0.5194, allocations: 18.14 MB / 1.357 GB, free: 15.91 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.005795/0.5252, allocations: 150.8 kB / 1.357 GB, free: 15.76 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.01396/0.5391, allocations: 4.346 MB / 1.361 GB, free: 11.4 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.01808/0.5572, allocations: 3.596 MB / 1.365 GB, free: 7.797 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.005215/0.5624, allocations: 1.337 MB / 1.366 GB, free: 6.465 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.01184/0.5743, allocations: 5.793 MB / 1.372 GB, free: 0.6484 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.006206/0.5805, allocations: 2.47 MB / 1.374 GB, free: 14.11 MB / 1.076 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.006457/0.5869, allocations: 2.519 MB / 1.376 GB, free: 11.58 MB / 1.076 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.006745/0.5937, allocations: 2.51 MB / 1.379 GB, free: 9.059 MB / 1.076 GB
Notification: Performance of NFPackage.collectConstants: time 0.00176/0.5954, allocations: 368 kB / 1.379 GB, free: 8.699 MB / 1.076 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004478/0.5999, allocations: 1.057 MB / 1.38 GB, free: 7.641 MB / 1.076 GB
Notification: Performance of NFScalarize.scalarize: time 0.002912/0.6028, allocations: 1.219 MB / 1.381 GB, free: 6.418 MB / 1.076 GB
Notification: Performance of NFVerifyModel.verify: time 0.005703/0.6085, allocations: 2.006 MB / 1.383 GB, free: 4.402 MB / 1.076 GB
Notification: Performance of NFConvertDAE.convert: time 0.01066/0.6192, allocations: 5.191 MB / 1.388 GB, free: 15.19 MB / 1.092 GB
Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.6192, allocations: 0 / 1.388 GB, free: 15.19 MB / 1.092 GB
Notification: Performance of FrontEnd: time 2.785e-06/0.6192, allocations: 0 / 1.388 GB, free: 15.19 MB / 1.092 GB
Notification: Performance of Transformations before backend: time 0.0002398/0.6194, allocations: 3.938 kB / 1.388 GB, free: 15.19 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.01396/0.6334, allocations: 4.635 MB / 1.393 GB, free: 10.45 MB / 1.092 GB
Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.6334, allocations: 8.031 kB / 1.393 GB, free: 10.45 MB / 1.092 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/0.6503, allocations: 3.291 MB / 1.396 GB, free: 7.148 MB / 1.092 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.006021/0.6563, allocations: 2.131 MB / 1.398 GB, free: 4.941 MB / 1.092 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005146/0.6568, allocations: 474.3 kB / 1.399 GB, free: 4.414 MB / 1.092 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007878/0.6576, allocations: 235.9 kB / 1.399 GB, free: 4.184 MB / 1.092 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/0.6702, allocations: 4.814 MB / 1.404 GB, free: 15.22 MB / 1.107 GB
Notification: Performance of preOpt findStateOrder (simulation): time 5.08e-05/0.6702, allocations: 3.938 kB / 1.404 GB, free: 15.22 MB / 1.107 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003723/0.6706, allocations: 112 kB / 1.404 GB, free: 15.11 MB / 1.107 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002443/0.6708, allocations: 168.8 kB / 1.404 GB, free: 14.94 MB / 1.107 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/0.6854, allocations: 5.191 MB / 1.409 GB, free: 9.734 MB / 1.107 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02648/0.7119, allocations: 14.36 MB / 1.423 GB, free: 10.2 MB / 1.123 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.7222, allocations: 3.251 MB / 1.426 GB, free: 6.934 MB / 1.123 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003884/0.7261, allocations: 1.377 MB / 1.428 GB, free: 5.555 MB / 1.123 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.7262, allocations: 25.23 kB / 1.428 GB, free: 5.531 MB / 1.123 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004658/0.7309, allocations: 1.794 MB / 1.429 GB, free: 3.668 MB / 1.123 GB
Notification: Performance of pre-optimization done (n=163): time 3.447e-06/0.7309, allocations: 0 / 1.429 GB, free: 3.668 MB / 1.123 GB
Notification: Performance of matching and sorting (n=250): time 0.1338/0.8647, allocations: 27.53 MB / 1.456 GB, free: 8.086 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003884/0.8651, allocations: 496.7 kB / 1.457 GB, free: 7.492 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003925/0.869, allocations: 2.308 MB / 1.459 GB, free: 5.172 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 0.0005112/0.8695, allocations: 77.7 kB / 1.459 GB, free: 5.09 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.8711, allocations: 1.452 MB / 1.46 GB, free: 3.625 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001111/0.8722, allocations: 0.8598 MB / 1.461 GB, free: 2.758 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009482/0.8731, allocations: 424.5 kB / 1.462 GB, free: 2.336 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.0001772/0.8733, allocations: 301.1 kB / 1.462 GB, free: 2.039 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.005555/0.8788, allocations: 1.929 MB / 1.464 GB, free: 108 kB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.005912/0.8848, allocations: 2.23 MB / 1.466 GB, free: 13.79 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/0.8963, allocations: 4.161 MB / 1.47 GB, free: 9.496 MB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-05/0.8963, allocations: 4 kB / 1.47 GB, free: 9.492 MB / 1.17 GB
Notification: Performance of matching and sorting (n=299) (initialization): time 0.02039/0.9167, allocations: 6.482 MB / 1.476 GB, free: 2.918 MB / 1.17 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.9168, allocations: 150.1 kB / 1.477 GB, free: 2.742 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.9169, allocations: 4 kB / 1.477 GB, free: 2.738 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0109/0.9278, allocations: 2.928 MB / 1.479 GB, free: 15.8 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003274/0.931, allocations: 487.2 kB / 1.48 GB, free: 15.33 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04626/0.9773, allocations: 18.65 MB / 1.498 GB, free: 12.48 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004767/0.9821, allocations: 323.6 kB / 1.498 GB, free: 12.17 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004461/0.9825, allocations: 91.98 kB / 1.499 GB, free: 12.08 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.002059/0.9846, allocations: 0.7036 MB / 1.499 GB, free: 11.37 MB / 1.201 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008788/0.9855, allocations: 349.8 kB / 1.5 GB, free: 11.02 MB / 1.201 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008986/0.9864, allocations: 384.1 kB / 1.5 GB, free: 10.64 MB / 1.201 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.9864, allocations: 24 kB / 1.5 GB, free: 10.62 MB / 1.201 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.377e-05/0.9864, allocations: 16 kB / 1.5 GB, free: 10.6 MB / 1.201 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.147e-05/0.9865, allocations: 15.95 kB / 1.5 GB, free: 10.59 MB / 1.201 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005568/0.992, allocations: 3.6 MB / 1.503 GB, free: 6.938 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.992, allocations: 0 / 1.503 GB, free: 6.938 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002653/0.9947, allocations: 415.4 kB / 1.504 GB, free: 6.531 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.01051/1.005, allocations: 2.871 MB / 1.507 GB, free: 3.645 MB / 1.201 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004699/1.006, allocations: 47.97 kB / 1.507 GB, free: 3.598 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04323/1.049, allocations: 18.42 MB / 1.525 GB, free: 0.9336 MB / 1.217 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.049, allocations: 0 / 1.525 GB, free: 0.9336 MB / 1.217 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01959/1.069, allocations: 6.108 MB / 1.531 GB, free: 10.79 MB / 1.232 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002654/1.071, allocations: 0.6381 MB / 1.531 GB, free: 10.15 MB / 1.232 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007191/1.072, allocations: 51.94 kB / 1.531 GB, free: 10.1 MB / 1.232 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003436/1.075, allocations: 315.6 kB / 1.532 GB, free: 9.793 MB / 1.232 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001302/1.077, allocations: 362.5 kB / 1.532 GB, free: 9.438 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002258/1.077, allocations: 75.97 kB / 1.532 GB, free: 9.363 MB / 1.232 GB
Notification: Performance of sorting global known variables: time 0.002538/1.079, allocations: 1.532 MB / 1.534 GB, free: 7.832 MB / 1.232 GB
Notification: Performance of sort global known variables: time 1.31e-07/1.079, allocations: 0 / 1.534 GB, free: 7.832 MB / 1.232 GB
Notification: Performance of remove unused functions: time 0.003342/1.083, allocations: 1.047 MB / 1.535 GB, free: 6.785 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.0004355/1.083, allocations: 169 kB / 1.535 GB, free: 6.609 MB / 1.232 GB
Notification: Performance of simCode: created initialization part: time 0.02457/1.108, allocations: 6.325 MB / 1.541 GB, free: 196 kB / 1.232 GB
Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.108, allocations: 0 / 1.541 GB, free: 196 kB / 1.232 GB
Notification: Performance of simCode: created simulation system equations: time 0.01853/1.126, allocations: 3.935 MB / 1.545 GB, free: 12.23 MB / 1.248 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005969/1.132, allocations: 1.122 MB / 1.546 GB, free: 11.14 MB / 1.248 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/1.15, allocations: 6.829 MB / 1.553 GB, free: 4.281 MB / 1.248 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002496/1.153, allocations: 2.227 MB / 1.555 GB, free: 2.02 MB / 1.248 GB
Notification: Performance of simCode: alias equations: time 0.002825/1.155, allocations: 0.5058 MB / 1.555 GB, free: 1.508 MB / 1.248 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007535/1.156, allocations: 187.4 kB / 1.555 GB, free: 1.324 MB / 1.248 GB
Notification: Performance of SimCode: time 1.473e-06/1.156, allocations: 3.938 kB / 1.555 GB, free: 1.32 MB / 1.248 GB
Notification: Performance of Templates: time 1.062/2.218, allocations: 78.33 MB / 1.632 GB, free: 262.7 MB / 1.295 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.092550286091864]