Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.007185/0.00719, allocations: 99.59 kB / 15.73 MB, free: 6.035 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.001228/0.001228, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.693/2.693, allocations: 437 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.89 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3601, allocations: 151.6 MB / 1.167 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.00455/0.3647, allocations: 2.739 MB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004446/0.3692, allocations: 2.781 MB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004187/0.3696, allocations: 11.94 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.3714, allocations: 0.4902 MB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006991/0.3721, allocations: 262.9 kB / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.3732, allocations: 391 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002017/0.3753, allocations: 1.528 MB / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.3755, allocations: 134.3 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009199/0.3765, allocations: 482.7 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006817/0.3772, allocations: 386.6 kB / 1.176 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.225e-05/0.3773, allocations: 48 kB / 1.176 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.3774, allocations: 52 kB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.3777, allocations: 275.3 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004054/0.3781, allocations: 378.1 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.3792, allocations: 0.9069 MB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3792, allocations: 4 kB / 1.177 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3792, allocations: 0 / 1.177 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.3792, allocations: 4 kB / 1.177 GB, free: 11.94 MB / 0.9356 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.002131/0.3813, allocations: 1.171 MB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3814, allocations: 12.03 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.3815, allocations: 80.42 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.3827, allocations: 0.6804 MB / 1.179 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.3828, allocations: 28.94 kB / 1.179 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.417e-05/0.3829, allocations: 36.38 kB / 1.179 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.3834, allocations: 382.9 kB / 1.179 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3834, allocations: 3.938 kB / 1.179 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.3835, allocations: 8 kB / 1.179 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.3835, allocations: 8 kB / 1.179 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.3839, allocations: 229.5 kB / 1.18 GB, free: 9.203 MB / 0.9356 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.003676/0.3876, allocations: 2.447 MB / 1.182 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009773/0.3886, allocations: 404.7 kB / 1.182 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.3888, allocations: 141 kB / 1.183 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3889, allocations: 7.906 kB / 1.183 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.3889, allocations: 46.48 kB / 1.183 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 2.164e-06/0.3889, allocations: 0 / 1.183 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.001052/0.39, allocations: 0.5302 MB / 1.183 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.39, allocations: 51.41 kB / 1.183 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.3913, allocations: 0.9376 MB / 1.184 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.3913, allocations: 41.7 kB / 1.184 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.3916, allocations: 300.8 kB / 1.184 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.025e-05/0.3917, allocations: 67.42 kB / 1.185 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.3918, allocations: 126.2 kB / 1.185 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.392, allocations: 382.7 kB / 1.185 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.3924, allocations: 240.9 kB / 1.185 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005926/0.393, allocations: 0.4973 MB / 1.186 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008956/0.3939, allocations: 0.7119 MB / 1.186 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3939, allocations: 4 kB / 1.186 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001174/0.3951, allocations: 0.8197 MB / 1.187 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.3951, allocations: 10.03 kB / 1.187 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.3951, allocations: 8 kB / 1.187 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.3954, allocations: 56.77 kB / 1.187 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000445/0.3958, allocations: 143.8 kB / 1.187 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.3973, allocations: 1.542 MB / 1.189 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006643/0.398, allocations: 131.5 kB / 1.189 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.398, allocations: 24 kB / 1.189 GB, free: 14.89 MB / 0.9512 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.0003582/0.3984, allocations: 341.4 kB / 1.189 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3985, allocations: 75.41 kB / 1.19 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.3986, allocations: 66 kB / 1.19 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3986, allocations: 4 kB / 1.19 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3986, allocations: 0 / 1.19 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3986, allocations: 0 / 1.19 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006887/0.3993, allocations: 0.5792 MB / 1.19 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3994, allocations: 0 / 1.19 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.3996, allocations: 51.89 kB / 1.19 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.3997, allocations: 40.83 kB / 1.19 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.3998, allocations: 11.98 kB / 1.19 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.4009, allocations: 1.523 MB / 1.192 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4009, allocations: 0 / 1.192 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007245/0.4016, allocations: 0.5816 MB / 1.192 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.402, allocations: 196.7 kB / 1.192 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.104e-05/0.4021, allocations: 11.98 kB / 1.192 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/0.4024, allocations: 51.86 kB / 1.193 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.4025, allocations: 7.984 kB / 1.193 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.4025, allocations: 8 kB / 1.193 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008115/0.4033, allocations: 0.6629 MB / 1.193 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4033, allocations: 3.938 kB / 1.193 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006206/0.404, allocations: 183.9 kB / 1.193 GB, free: 10.27 MB / 0.9512 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.0001186/0.4041, allocations: 103.2 kB / 1.193 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000885/0.405, allocations: 0.572 MB / 1.194 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.405, allocations: 0.875 kB / 1.194 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.4053, allocations: 252.8 kB / 1.194 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007826/0.4061, allocations: 170.9 kB / 1.194 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.4082, allocations: 1.535 MB / 1.196 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/0.4087, allocations: 1.007 MB / 1.197 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003774/0.4091, allocations: 184.5 kB / 1.197 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.4092, allocations: 35.44 kB / 1.197 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of SimCode: time 3.6e-07/0.4092, allocations: 0 / 1.197 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of Templates: time 0.01428/0.4235, allocations: 8.518 MB / 1.205 GB, free: 13.93 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches