Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 105.9 kB / 16.41 MB, free: 6.473 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.002018/0.002018, allocations: 187 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.126/2.126, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.467/4.467, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00281/0.002811, allocations: 60.12 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882/1.885, allocations: 151.6 MB / 1.167 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.01157/1.897, allocations: 3.736 MB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01135/1.908, allocations: 2.498 MB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/1.91, allocations: 23.88 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002346/1.913, allocations: 251.5 kB / 1.174 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004597/1.917, allocations: 497.6 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005023/1.923, allocations: 0.5354 MB / 1.175 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004702/1.927, allocations: 1.371 MB / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006996/1.928, allocations: 149.1 kB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/1.93, allocations: 458.4 kB / 1.177 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/1.932, allocations: 482.1 kB / 1.177 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002813/1.932, allocations: 52 kB / 1.177 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004095/1.933, allocations: 60 kB / 1.177 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001344/1.934, allocations: 351 kB / 1.177 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001924/1.936, allocations: 457.7 kB / 1.178 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002911/1.939, allocations: 0.9178 MB / 1.179 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/1.939, allocations: 0 / 1.179 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.12e-06/1.939, allocations: 0 / 1.179 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.555e-05/1.939, allocations: 0 / 1.179 GB, free: 8.172 MB / 0.9044 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.00631/1.945, allocations: 1.288 MB / 1.18 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 9.569e-05/1.945, allocations: 12.88 kB / 1.18 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005731/1.946, allocations: 108.3 kB / 1.18 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/1.949, allocations: 0.6644 MB / 1.181 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.463e-05/1.949, allocations: 37.03 kB / 1.181 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/1.949, allocations: 56.38 kB / 1.181 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/1.95, allocations: 406.9 kB / 1.181 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/1.95, allocations: 0 / 1.181 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.069e-05/1.951, allocations: 15.94 kB / 1.181 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.361e-05/1.951, allocations: 12 kB / 1.181 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009778/1.952, allocations: 230.4 kB / 1.182 GB, free: 5.238 MB / 0.9044 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.007105/1.959, allocations: 2.502 MB / 1.184 GB, free: 2.539 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/1.961, allocations: 487.1 kB / 1.184 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/1.962, allocations: 157.2 kB / 1.185 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/1.962, allocations: 8.172 kB / 1.185 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/1.962, allocations: 34.78 kB / 1.185 GB, free: 1.848 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 3.947e-06/1.962, allocations: 0 / 1.185 GB, free: 1.848 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.004497/1.966, allocations: 1.22 MB / 1.186 GB, free: 0.5508 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/1.966, allocations: 51.41 kB / 1.186 GB, free: 500 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/1.969, allocations: 0.9233 MB / 1.187 GB, free: 15.55 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.847e-05/1.969, allocations: 37.7 kB / 1.187 GB, free: 15.51 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005411/1.97, allocations: 369.2 kB / 1.187 GB, free: 15.15 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/1.97, allocations: 123 kB / 1.187 GB, free: 15.03 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004529/1.97, allocations: 166.6 kB / 1.187 GB, free: 14.86 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0004213/1.971, allocations: 394.8 kB / 1.188 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006736/1.971, allocations: 233.8 kB / 1.188 GB, free: 14.23 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/1.973, allocations: 0.6232 MB / 1.189 GB, free: 13.42 MB / 0.92 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.005467/1.978, allocations: 1.765 MB / 1.19 GB, free: 11.43 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-05/1.978, allocations: 4 kB / 1.19 GB, free: 11.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003518/1.982, allocations: 0.9003 MB / 1.191 GB, free: 10.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/1.982, allocations: 11.94 kB / 1.191 GB, free: 10.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001045/1.982, allocations: 20.12 kB / 1.191 GB, free: 10.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006548/1.983, allocations: 48.83 kB / 1.191 GB, free: 10.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/1.984, allocations: 203.6 kB / 1.191 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/1.987, allocations: 1.464 MB / 1.193 GB, free: 8.625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/1.989, allocations: 43.97 kB / 1.193 GB, free: 8.582 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/1.989, allocations: 44.16 kB / 1.193 GB, free: 8.539 MB / 0.92 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.0009817/1.99, allocations: 301.8 kB / 1.193 GB, free: 8.234 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000451/1.99, allocations: 83.44 kB / 1.193 GB, free: 8.152 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/1.991, allocations: 80.45 kB / 1.193 GB, free: 8.07 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/1.991, allocations: 7.938 kB / 1.193 GB, free: 8.062 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/1.991, allocations: 3.984 kB / 1.193 GB, free: 8.059 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/1.991, allocations: 0 / 1.193 GB, free: 8.059 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003745/1.995, allocations: 1.142 MB / 1.195 GB, free: 6.844 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/1.995, allocations: 0 / 1.195 GB, free: 6.844 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006988/1.995, allocations: 84.06 kB / 1.195 GB, free: 6.762 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002658/1.996, allocations: 40.77 kB / 1.195 GB, free: 6.719 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/1.996, allocations: 8 kB / 1.195 GB, free: 6.711 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/1.998, allocations: 1.437 MB / 1.196 GB, free: 5.137 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/1.998, allocations: 3.984 kB / 1.196 GB, free: 5.133 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/2, allocations: 0.6667 MB / 1.197 GB, free: 4.434 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008149/2.001, allocations: 196.5 kB / 1.197 GB, free: 4.223 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003665/2.001, allocations: 11.98 kB / 1.197 GB, free: 4.211 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/2.002, allocations: 15.98 kB / 1.197 GB, free: 4.195 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/2.002, allocations: 27.97 kB / 1.197 GB, free: 4.168 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/2.002, allocations: 8 kB / 1.197 GB, free: 4.16 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00189/2.004, allocations: 0.6161 MB / 1.198 GB, free: 3.551 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.51e-07/2.004, allocations: 0 / 1.198 GB, free: 3.551 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001867/2.006, allocations: 208 kB / 1.198 GB, free: 3.348 MB / 0.92 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.0004273/2.007, allocations: 119.1 kB / 1.198 GB, free: 3.223 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002536/2.009, allocations: 0.6337 MB / 1.199 GB, free: 2.578 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/2.009, allocations: 0 / 1.199 GB, free: 2.578 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007649/2.01, allocations: 274.7 kB / 1.199 GB, free: 2.301 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/2.012, allocations: 187.3 kB / 1.199 GB, free: 2.117 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00591/2.018, allocations: 1.688 MB / 1.201 GB, free: 388 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/2.02, allocations: 0.9876 MB / 1.202 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/2.02, allocations: 51.44 kB / 1.202 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of SimCode: time 1.513e-06/2.02, allocations: 0 / 1.202 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of Templates: time 0.04158/2.062, allocations: 12.15 MB / 1.214 GB, free: 3.199 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches