Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.001454/0.001454, allocations: 110 kB / 18.94 MB, free: 2.789 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.001525/0.001525, allocations: 193.2 kB / 22.23 MB, free: 5.234 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.325/1.325, 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 2.948/2.948, allocations: 0.4893 GB / 0.7884 GB, free: 33.21 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-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.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2")
translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 66.58 kB / 1.145 GB, free: 30.6 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3246, allocations: 174.9 MB / 1.316 GB, free: 9.758 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004233/0.3289, allocations: 2.777 MB / 1.319 GB, free: 6.961 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.004036/0.3329, allocations: 2.825 MB / 1.321 GB, free: 4.129 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.3331, allocations: 11.88 kB / 1.321 GB, free: 4.117 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.001394/0.3345, allocations: 0.5136 MB / 1.322 GB, free: 3.602 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0005174/0.335, allocations: 282.8 kB / 1.322 GB, free: 3.324 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000924/0.3359, allocations: 422.9 kB / 1.323 GB, free: 2.91 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.001791/0.3377, allocations: 1.574 MB / 1.324 GB, free: 1.336 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.3379, allocations: 70.36 kB / 1.324 GB, free: 1.258 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006261/0.3385, allocations: 478.9 kB / 1.325 GB, free: 0.7891 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006119/0.3391, allocations: 434.4 kB / 1.325 GB, free: 372 kB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 8.859e-05/0.3392, allocations: 48 kB / 1.325 GB, free: 324 kB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.3393, allocations: 52 kB / 1.325 GB, free: 272 kB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.3396, allocations: 283.3 kB / 1.325 GB, free: 15.98 MB / 1.029 GB
Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.3401, allocations: 382.1 kB / 1.326 GB, free: 15.61 MB / 1.029 GB
Notification: Performance of NFConvertDAE.convert: time 0.001034/0.3411, allocations: 0.9108 MB / 1.327 GB, free: 14.7 MB / 1.029 GB
Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3411, allocations: 0 / 1.327 GB, free: 14.7 MB / 1.029 GB
Notification: Performance of FrontEnd: time 1.423e-06/0.3411, allocations: 0 / 1.327 GB, free: 14.7 MB / 1.029 GB
Notification: Performance of Transformations before backend: time 9.969e-06/0.3411, allocations: 0 / 1.327 GB, free: 14.7 MB / 1.029 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 57
 * Number of variables: 57
Notification: Performance of Generate backend data structure: time 0.002282/0.3434, allocations: 1.1 MB / 1.328 GB, free: 13.57 MB / 1.029 GB
Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3434, allocations: 8.031 kB / 1.328 GB, free: 13.56 MB / 1.029 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.3436, allocations: 88.42 kB / 1.328 GB, free: 13.47 MB / 1.029 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.3447, allocations: 0.6303 MB / 1.329 GB, free: 12.82 MB / 1.029 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.3447, allocations: 28.88 kB / 1.329 GB, free: 12.79 MB / 1.029 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-05/0.3448, allocations: 40.38 kB / 1.329 GB, free: 12.75 MB / 1.029 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006107/0.3454, allocations: 382 kB / 1.329 GB, free: 12.36 MB / 1.029 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.3454, allocations: 4 kB / 1.329 GB, free: 12.36 MB / 1.029 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.3455, allocations: 11.98 kB / 1.329 GB, free: 12.34 MB / 1.029 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3455, allocations: 8 kB / 1.329 GB, free: 12.34 MB / 1.029 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.3459, allocations: 233.5 kB / 1.329 GB, free: 12.11 MB / 1.029 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.00391/0.3498, allocations: 2.428 MB / 1.332 GB, free: 9.492 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.3509, allocations: 386.5 kB / 1.332 GB, free: 9.105 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.3511, allocations: 128.7 kB / 1.332 GB, free: 8.977 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3511, allocations: 8 kB / 1.332 GB, free: 8.969 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.3512, allocations: 30.56 kB / 1.332 GB, free: 8.93 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=18): time 2.485e-06/0.3512, allocations: 3.938 kB / 1.332 GB, free: 8.926 MB / 1.029 GB
Notification: Performance of matching and sorting (n=18): time 0.001033/0.3522, allocations: 474 kB / 1.333 GB, free: 8.453 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.3523, allocations: 55.41 kB / 1.333 GB, free: 8.387 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.3536, allocations: 0.9454 MB / 1.334 GB, free: 7.43 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.3537, allocations: 33.7 kB / 1.334 GB, free: 7.391 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003331/0.354, allocations: 296.8 kB / 1.334 GB, free: 7.098 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.3541, allocations: 75.36 kB / 1.334 GB, free: 7.023 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.3543, allocations: 134.3 kB / 1.334 GB, free: 6.887 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0002373/0.3545, allocations: 382.6 kB / 1.334 GB, free: 6.504 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.3549, allocations: 237.1 kB / 1.335 GB, free: 6.273 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006062/0.3555, allocations: 0.5023 MB / 1.335 GB, free: 5.641 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009019/0.3564, allocations: 0.6946 MB / 1.336 GB, free: 4.816 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3564, allocations: 0 / 1.336 GB, free: 4.816 MB / 1.029 GB
Notification: Performance of matching and sorting (n=64) (initialization): time 0.001227/0.3577, allocations: 0.8156 MB / 1.337 GB, free: 3.992 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3577, allocations: 8.812 kB / 1.337 GB, free: 3.984 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.3577, allocations: 11.98 kB / 1.337 GB, free: 3.973 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002413/0.3579, allocations: 60.77 kB / 1.337 GB, free: 3.91 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.3584, allocations: 139.8 kB / 1.337 GB, free: 3.773 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.36, allocations: 1.439 MB / 1.338 GB, free: 2.219 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/0.3607, allocations: 131.4 kB / 1.338 GB, free: 2.09 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.3607, allocations: 28 kB / 1.338 GB, free: 2.062 MB / 1.029 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 42
 * 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 (63):
 * Single equations (assignments): 62
 * 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.0004141/0.3611, allocations: 346.2 kB / 1.339 GB, free: 1.715 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.3612, allocations: 67.52 kB / 1.339 GB, free: 1.648 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.3613, allocations: 65.94 kB / 1.339 GB, free: 1.578 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3614, allocations: 4 kB / 1.339 GB, free: 1.574 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3614, allocations: 0 / 1.339 GB, free: 1.574 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3614, allocations: 0 / 1.339 GB, free: 1.574 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006988/0.3621, allocations: 0.5548 MB / 1.339 GB, free: 0.9766 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3621, allocations: 0 / 1.339 GB, free: 0.9766 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.3623, allocations: 55.89 kB / 1.339 GB, free: 0.9219 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/0.3624, allocations: 44.83 kB / 1.339 GB, free: 0.875 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.3625, allocations: 11.98 kB / 1.339 GB, free: 0.8633 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.3637, allocations: 1.412 MB / 1.341 GB, free: 15.33 MB / 1.045 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3637, allocations: 0 / 1.341 GB, free: 15.33 MB / 1.045 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008068/0.3645, allocations: 0.5795 MB / 1.341 GB, free: 14.73 MB / 1.045 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.3648, allocations: 127.5 kB / 1.342 GB, free: 14.61 MB / 1.045 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.936e-05/0.3649, allocations: 11.98 kB / 1.342 GB, free: 14.6 MB / 1.045 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.3653, allocations: 51.86 kB / 1.342 GB, free: 14.55 MB / 1.045 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.3653, allocations: 11.97 kB / 1.342 GB, free: 14.54 MB / 1.045 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3653, allocations: 8 kB / 1.342 GB, free: 14.53 MB / 1.045 GB
Notification: Performance of sorting global known variables: time 0.000898/0.3662, allocations: 0.659 MB / 1.342 GB, free: 13.87 MB / 1.045 GB
Notification: Performance of sort global known variables: time 9e-08/0.3662, allocations: 0 / 1.342 GB, free: 13.87 MB / 1.045 GB
Notification: Performance of remove unused functions: time 0.0006211/0.3668, allocations: 187.8 kB / 1.342 GB, free: 13.69 MB / 1.045 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3])
 * 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 (17):
 * Single equations (assignments): 16
 * 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.0001268/0.367, allocations: 111.7 kB / 1.343 GB, free: 13.57 MB / 1.045 GB
Notification: Performance of simCode: created initialization part: time 0.0009045/0.3679, allocations: 0.5612 MB / 1.343 GB, free: 13 MB / 1.045 GB
Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3679, allocations: 0 / 1.343 GB, free: 13 MB / 1.045 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.3682, allocations: 240.3 kB / 1.343 GB, free: 12.75 MB / 1.045 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007824/0.369, allocations: 175 kB / 1.343 GB, free: 12.59 MB / 1.045 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.3712, allocations: 1.541 MB / 1.345 GB, free: 11.02 MB / 1.045 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.3718, allocations: 1.01 MB / 1.346 GB, free: 9.977 MB / 1.045 GB
Notification: Performance of simCode: alias equations: time 0.0003689/0.3722, allocations: 184.5 kB / 1.346 GB, free: 9.793 MB / 1.045 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.3723, allocations: 35.44 kB / 1.346 GB, free: 9.758 MB / 1.045 GB
Notification: Performance of SimCode: time 2.9e-07/0.3723, allocations: 0 / 1.346 GB, free: 9.758 MB / 1.045 GB
Notification: Performance of Templates: time 0.01555/0.3878, allocations: 8.815 MB / 1.355 GB, free: 1.059 MB / 1.045 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.294347485527396]