Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001076/0.001076, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006736/0.006736, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.532/1.532, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.059/3.059, allocations: 470.6 MB / 0.7442 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 14.94 kB / 0.9122 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.366, allocations: 161.4 MB / 1.07 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003425/0.3695, allocations: 2.426 MB / 1.072 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004368/0.3739, allocations: 2.754 MB / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003632/0.3743, allocations: 7.938 kB / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.376, allocations: 462.3 kB / 1.075 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008132/0.3768, allocations: 243 kB / 1.076 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.3782, allocations: 336.3 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002635/0.3809, allocations: 1.708 MB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003122/0.3812, allocations: 135.3 kB / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.3823, allocations: 398.8 kB / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009687/0.3832, allocations: 390.5 kB / 1.078 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.3834, allocations: 24 kB / 1.078 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.3835, allocations: 27.94 kB / 1.079 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.3838, allocations: 231.3 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004133/0.3843, allocations: 355.9 kB / 1.079 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008737/0.3851, allocations: 0.8564 MB / 1.08 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3852, allocations: 0 / 1.08 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3852, allocations: 4 kB / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.3852, allocations: 0 / 1.08 GB, free: 1.086 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.002007/0.3872, allocations: 1.035 MB / 1.081 GB, free: 0 / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.419e-05/0.3873, allocations: 12.08 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.3874, allocations: 80 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.3885, allocations: 0.6486 MB / 1.082 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.3885, allocations: 28.94 kB / 1.082 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.671e-05/0.3886, allocations: 40.38 kB / 1.082 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006058/0.3892, allocations: 378.8 kB / 1.082 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3892, allocations: 3.938 kB / 1.082 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.3893, allocations: 12 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3893, allocations: 8 kB / 1.082 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.3897, allocations: 241.4 kB / 1.082 GB, free: 14.5 MB / 0.8419 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.00379/0.3935, allocations: 2.482 MB / 1.085 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.3946, allocations: 390.5 kB / 1.085 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.3948, allocations: 145 kB / 1.085 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.3949, allocations: 3.938 kB / 1.085 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3949, allocations: 38.47 kB / 1.085 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.884e-06/0.3949, allocations: 0 / 1.085 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.001068/0.396, allocations: 0.5354 MB / 1.086 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.396, allocations: 51.41 kB / 1.086 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.3974, allocations: 0.9453 MB / 1.087 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.3974, allocations: 33.7 kB / 1.087 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.3977, allocations: 296.5 kB / 1.087 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.331e-05/0.3979, allocations: 75 kB / 1.087 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.914e-05/0.3979, allocations: 65.69 kB / 1.087 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002352/0.3982, allocations: 386.7 kB / 1.088 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/0.3986, allocations: 244.8 kB / 1.088 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006314/0.3992, allocations: 0.5014 MB / 1.088 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009919/0.4002, allocations: 0.7048 MB / 1.089 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4002, allocations: 0 / 1.089 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001365/0.4016, allocations: 0.8208 MB / 1.09 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.4016, allocations: 8 kB / 1.09 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.4017, allocations: 8 kB / 1.09 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/0.4019, allocations: 52.81 kB / 1.09 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.4024, allocations: 143.7 kB / 1.09 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.4038, allocations: 1.448 MB / 1.091 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006963/0.4045, allocations: 127.5 kB / 1.092 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.4045, allocations: 28 kB / 1.092 GB, free: 4.32 MB / 0.8419 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.0004657/0.405, allocations: 337.4 kB / 1.092 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.403e-05/0.4051, allocations: 59.25 kB / 1.092 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.4052, allocations: 73.98 kB / 1.092 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.4053, allocations: 7.938 kB / 1.092 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.4053, allocations: 0 / 1.092 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.4053, allocations: 4 kB / 1.092 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007869/0.4061, allocations: 0.5791 MB / 1.093 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4061, allocations: 0 / 1.093 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.4063, allocations: 51.89 kB / 1.093 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001292/0.4065, allocations: 40.83 kB / 1.093 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.4065, allocations: 15.92 kB / 1.093 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/0.4078, allocations: 1.42 MB / 1.094 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4078, allocations: 0 / 1.094 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008334/0.4086, allocations: 0.5669 MB / 1.095 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/0.4089, allocations: 204.3 kB / 1.095 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.409, allocations: 4 kB / 1.095 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.4094, allocations: 55.86 kB / 1.095 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.4095, allocations: 19.91 kB / 1.095 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.4095, allocations: 8 kB / 1.095 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009907/0.4105, allocations: 0.6551 MB / 1.096 GB, free: 0 / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4105, allocations: 0 / 1.096 GB, free: 0 / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006735/0.4112, allocations: 187.8 kB / 1.096 GB, free: 15.81 MB / 0.8575 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.0001376/0.4113, allocations: 112.1 kB / 1.096 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009903/0.4123, allocations: 0.5779 MB / 1.096 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4123, allocations: 0 / 1.096 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.4127, allocations: 246.5 kB / 1.097 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008486/0.4135, allocations: 171.2 kB / 1.097 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.4165, allocations: 1.814 MB / 1.099 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008951/0.4174, allocations: 1.007 MB / 1.1 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000507/0.4179, allocations: 188.5 kB / 1.1 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.418, allocations: 35.44 kB / 1.1 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/0.418, allocations: 0 / 1.1 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of Templates: time 0.01826/0.4363, allocations: 7.959 MB / 1.108 GB, free: 3.742 MB / 0.8575 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches