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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001971/0.00197, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002418/0.002418, allocations: 198.4 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.844/2.844, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 69.31 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3451, allocations: 157.4 MB / 1.052 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003873/0.349, allocations: 2.781 MB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003933/0.3529, allocations: 2.808 MB / 1.058 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002676/0.3532, allocations: 7.938 kB / 1.058 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.3548, allocations: 466.3 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005062/0.3553, allocations: 247 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008282/0.3561, allocations: 334.4 kB / 1.059 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.3577, allocations: 1.715 MB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.3579, allocations: 121.7 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005037/0.3585, allocations: 410.8 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004566/0.3589, allocations: 398.5 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/0.359, allocations: 24 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.511e-05/0.3591, allocations: 31.94 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.3593, allocations: 231.3 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003438/0.3597, allocations: 338.2 kB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008225/0.3605, allocations: 0.8762 MB / 1.063 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3605, allocations: 0 / 1.063 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3605, allocations: 0 / 1.063 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.3605, allocations: 0 / 1.063 GB, free: 14.11 MB / 0.8262 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.002093/0.3626, allocations: 1.148 MB / 1.064 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3627, allocations: 8.031 kB / 1.064 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.3628, allocations: 80 kB / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009059/0.3638, allocations: 0.6486 MB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.3638, allocations: 36.94 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.579e-05/0.3639, allocations: 36.38 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005343/0.3644, allocations: 374.8 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3644, allocations: 0 / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.3645, allocations: 12 kB / 1.065 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.3645, allocations: 12 kB / 1.065 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.3649, allocations: 229.5 kB / 1.065 GB, free: 11.43 MB / 0.8262 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.003376/0.3683, allocations: 2.451 MB / 1.067 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.3693, allocations: 414.4 kB / 1.068 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.3695, allocations: 140.7 kB / 1.068 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.3695, allocations: 0 / 1.068 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3695, allocations: 38.5 kB / 1.068 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.002e-06/0.3696, allocations: 0 / 1.068 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0009608/0.3705, allocations: 0.5372 MB / 1.069 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.3706, allocations: 55.41 kB / 1.069 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.3717, allocations: 0.9337 MB / 1.07 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.3717, allocations: 33.7 kB / 1.07 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.3719, allocations: 296.4 kB / 1.07 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.741e-05/0.372, allocations: 75.08 kB / 1.07 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.3722, allocations: 122.2 kB / 1.07 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3724, allocations: 382.7 kB / 1.07 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.3727, allocations: 244.8 kB / 1.071 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004925/0.3732, allocations: 0.5014 MB / 1.071 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007694/0.374, allocations: 0.6935 MB / 1.072 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.374, allocations: 4 kB / 1.072 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001111/0.3751, allocations: 0.8172 MB / 1.073 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3751, allocations: 8 kB / 1.073 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.3752, allocations: 15.98 kB / 1.073 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002155/0.3754, allocations: 57.47 kB / 1.073 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.3758, allocations: 139.8 kB / 1.073 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.3769, allocations: 1.436 MB / 1.074 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006346/0.3776, allocations: 123.3 kB / 1.074 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.3776, allocations: 28 kB / 1.074 GB, free: 1.246 MB / 0.8262 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.0003649/0.378, allocations: 346.9 kB / 1.075 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/0.3781, allocations: 63.25 kB / 1.075 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.3782, allocations: 70 kB / 1.075 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3782, allocations: 3.938 kB / 1.075 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.3782, allocations: 4 kB / 1.075 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3783, allocations: 0 / 1.075 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006055/0.3789, allocations: 0.583 MB / 1.075 GB, free: 116 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3789, allocations: 0 / 1.075 GB, free: 116 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.3791, allocations: 43.95 kB / 1.075 GB, free: 72 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.3792, allocations: 44.83 kB / 1.075 GB, free: 24 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.3793, allocations: 11.97 kB / 1.075 GB, free: 12 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.3804, allocations: 1.416 MB / 1.077 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3804, allocations: 0 / 1.077 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007234/0.3811, allocations: 0.5655 MB / 1.077 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/0.3814, allocations: 196.4 kB / 1.078 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-05/0.3815, allocations: 8 kB / 1.078 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/0.3818, allocations: 59.86 kB / 1.078 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.3819, allocations: 15.97 kB / 1.078 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.3819, allocations: 0 / 1.078 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008425/0.3828, allocations: 0.6629 MB / 1.078 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3828, allocations: 3.938 kB / 1.078 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006136/0.3834, allocations: 179.8 kB / 1.079 GB, free: 12.75 MB / 0.8419 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.00012/0.3835, allocations: 115.1 kB / 1.079 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008406/0.3844, allocations: 0.5788 MB / 1.079 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3844, allocations: 0 / 1.079 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.3847, allocations: 248.3 kB / 1.079 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.3855, allocations: 164.3 kB / 1.08 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.3877, allocations: 1.7 MB / 1.081 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.3882, allocations: 1.007 MB / 1.082 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000413/0.3886, allocations: 184.5 kB / 1.082 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.3887, allocations: 35.44 kB / 1.082 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of SimCode: time 6.51e-07/0.3888, allocations: 0 / 1.082 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of Templates: time 0.01422/0.403, allocations: 8.089 MB / 1.09 GB, free: 0.668 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) 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) Reference file matches