Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.001235/0.001235, allocations: 112.7 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.001398/0.001398, allocations: 190 kB / 22.22 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.32/1.32, allocations: 225.6 MB / 251 MB, free: 13.06 MB / 206.1 MB
"
[Timeout remaining time 179]
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 2.888/2.888, allocations: 496 MB / 0.7835 GB, free: 33.62 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer")
translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 67.55 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2873, allocations: 173.6 MB / 1.307 GB, free: 1.848 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005135/0.2925, allocations: 3.778 MB / 1.311 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.004129/0.2966, allocations: 2.524 MB / 1.313 GB, free: 11.52 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003256/0.2969, allocations: 19.81 kB / 1.313 GB, free: 11.5 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007108/0.2977, allocations: 254.4 kB / 1.314 GB, free: 11.25 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.001034/0.2987, allocations: 0.5359 MB / 1.314 GB, free: 10.71 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.3, allocations: 0.5612 MB / 1.315 GB, free: 10.15 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.001638/0.3016, allocations: 1.394 MB / 1.316 GB, free: 8.75 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.3018, allocations: 109.7 kB / 1.316 GB, free: 8.637 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005768/0.3024, allocations: 454.4 kB / 1.317 GB, free: 8.191 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007315/0.3031, allocations: 0.506 MB / 1.317 GB, free: 7.684 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 8.755e-05/0.3032, allocations: 52 kB / 1.317 GB, free: 7.633 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.3033, allocations: 64 kB / 1.317 GB, free: 7.57 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003776/0.3037, allocations: 378.9 kB / 1.318 GB, free: 7.199 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0004162/0.3041, allocations: 457.6 kB / 1.318 GB, free: 6.75 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.000953/0.3051, allocations: 0.9217 MB / 1.319 GB, free: 5.824 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3051, allocations: 4 kB / 1.319 GB, free: 5.82 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.084e-06/0.3051, allocations: 0 / 1.319 GB, free: 5.82 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.819e-05/0.3051, allocations: 0 / 1.319 GB, free: 5.82 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 80
 * Number of variables: 80
Notification: Performance of Generate backend data structure: time 0.002342/0.3074, allocations: 1.201 MB / 1.32 GB, free: 4.582 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3075, allocations: 16.86 kB / 1.32 GB, free: 4.566 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.3076, allocations: 108.3 kB / 1.32 GB, free: 4.461 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.3087, allocations: 0.6104 MB / 1.321 GB, free: 3.828 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.045e-05/0.3088, allocations: 37.03 kB / 1.321 GB, free: 3.793 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.898e-05/0.3088, allocations: 56.38 kB / 1.321 GB, free: 3.738 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/0.3095, allocations: 406.9 kB / 1.321 GB, free: 3.305 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3095, allocations: 0 / 1.321 GB, free: 3.305 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.3095, allocations: 16 kB / 1.321 GB, free: 3.289 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.3096, allocations: 8 kB / 1.321 GB, free: 3.281 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004041/0.31, allocations: 222.4 kB / 1.322 GB, free: 3.066 MB / 1.014 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003039/0.313, allocations: 2.46 MB / 1.324 GB, free: 424 kB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.3143, allocations: 482.1 kB / 1.324 GB, free: 15.94 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.3145, allocations: 137.2 kB / 1.325 GB, free: 15.8 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.3145, allocations: 4.234 kB / 1.325 GB, free: 15.8 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.3146, allocations: 42.78 kB / 1.325 GB, free: 15.75 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=28): time 1.323e-06/0.3146, allocations: 0 / 1.325 GB, free: 15.75 MB / 1.029 GB
Notification: Performance of matching and sorting (n=30): time 0.001867/0.3164, allocations: 1.076 MB / 1.326 GB, free: 14.64 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.3165, allocations: 55.41 kB / 1.326 GB, free: 14.57 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.3176, allocations: 0.9271 MB / 1.327 GB, free: 13.63 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.3177, allocations: 45.69 kB / 1.327 GB, free: 13.58 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.318, allocations: 369.2 kB / 1.327 GB, free: 13.22 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.3181, allocations: 119 kB / 1.327 GB, free: 13.1 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.3183, allocations: 166.6 kB / 1.327 GB, free: 12.93 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0002031/0.3185, allocations: 390.8 kB / 1.328 GB, free: 12.54 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.3189, allocations: 233.8 kB / 1.328 GB, free: 12.31 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006804/0.3195, allocations: 0.6235 MB / 1.328 GB, free: 11.5 MB / 1.029 GB
Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]))
Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]))
Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/0.3224, allocations: 1.602 MB / 1.33 GB, free: 9.707 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.3224, allocations: 4 kB / 1.33 GB, free: 9.703 MB / 1.029 GB
Notification: Performance of matching and sorting (n=98) (initialization): time 0.001389/0.3238, allocations: 0.9151 MB / 1.331 GB, free: 8.777 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3238, allocations: 8.938 kB / 1.331 GB, free: 8.77 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.3239, allocations: 16.75 kB / 1.331 GB, free: 8.754 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.324, allocations: 56.83 kB / 1.331 GB, free: 8.695 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/0.3246, allocations: 207.6 kB / 1.331 GB, free: 8.492 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.3258, allocations: 1.361 MB / 1.333 GB, free: 7.02 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006445/0.3265, allocations: 47.97 kB / 1.333 GB, free: 6.973 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.3265, allocations: 40 kB / 1.333 GB, free: 6.934 MB / 1.029 GB
Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system:
         con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])
         con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]).
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 63
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (97):
 * Single equations (assignments): 96
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0003505/0.3269, allocations: 305.3 kB / 1.333 GB, free: 6.625 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.327, allocations: 83.44 kB / 1.333 GB, free: 6.543 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.3271, allocations: 80.47 kB / 1.333 GB, free: 6.461 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3271, allocations: 4 kB / 1.333 GB, free: 6.457 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3271, allocations: 3.984 kB / 1.333 GB, free: 6.453 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3271, allocations: 0 / 1.333 GB, free: 6.453 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.3287, allocations: 1.116 MB / 1.334 GB, free: 5.273 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3287, allocations: 3.938 kB / 1.334 GB, free: 5.27 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.3291, allocations: 87.88 kB / 1.334 GB, free: 5.184 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.3292, allocations: 28.97 kB / 1.334 GB, free: 5.152 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.3292, allocations: 15.98 kB / 1.334 GB, free: 5.137 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.3303, allocations: 1.33 MB / 1.336 GB, free: 3.688 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3303, allocations: 4.031 kB / 1.336 GB, free: 3.684 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008698/0.3312, allocations: 0.6554 MB / 1.336 GB, free: 2.996 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.3314, allocations: 123.4 kB / 1.336 GB, free: 2.875 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.465e-05/0.3315, allocations: 12.11 kB / 1.336 GB, free: 2.863 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/0.3319, allocations: 23.98 kB / 1.336 GB, free: 2.84 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.332, allocations: 31.83 kB / 1.336 GB, free: 2.809 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.332, allocations: 8 kB / 1.336 GB, free: 2.801 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0008096/0.3328, allocations: 0.6278 MB / 1.337 GB, free: 2.18 MB / 1.029 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.3328, allocations: 0 / 1.337 GB, free: 2.18 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0006675/0.3335, allocations: 208 kB / 1.337 GB, free: 1.977 MB / 1.029 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1])
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (29):
 * Single equations (assignments): 28
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001265/0.3336, allocations: 111.1 kB / 1.337 GB, free: 1.859 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.00106/0.3347, allocations: 0.6217 MB / 1.338 GB, free: 1.227 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3347, allocations: 0 / 1.338 GB, free: 1.227 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003669/0.3351, allocations: 259.7 kB / 1.338 GB, free: 0.9609 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007568/0.3358, allocations: 182.1 kB / 1.338 GB, free: 0.7812 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.3381, allocations: 1.632 MB / 1.34 GB, free: 15.11 MB / 1.045 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.3388, allocations: 0.9838 MB / 1.341 GB, free: 14.09 MB / 1.045 GB
Notification: Performance of simCode: alias equations: time 0.0003498/0.3391, allocations: 153.8 kB / 1.341 GB, free: 13.94 MB / 1.045 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.3392, allocations: 55.42 kB / 1.341 GB, free: 13.89 MB / 1.045 GB
Notification: Performance of SimCode: time 3.11e-07/0.3392, allocations: 4 kB / 1.341 GB, free: 13.88 MB / 1.045 GB
Notification: Performance of Templates: time 0.01741/0.3566, allocations: 9.518 MB / 1.35 GB, free: 4.473 MB / 1.045 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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: 8.314214317128062]