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.0008646/0.0008646, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007666/0.007666, allocations: 170 kB / 16.26 MB, free: 6.613 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.73/2.73, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003984, allocations: 8 kB / 0.8728 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7647/0.7652, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.00425/0.7695, allocations: 3.368 MB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004896/0.7744, allocations: 2.504 MB / 1.029 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007214/0.7751, allocations: 11.94 kB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008602/0.776, allocations: 226.8 kB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.7772, allocations: 470 kB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.7787, allocations: 474.8 kB / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001917/0.7806, allocations: 1.601 MB / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.7809, allocations: 137.2 kB / 1.032 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005677/0.7815, allocations: 382.5 kB / 1.032 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006647/0.7822, allocations: 490.2 kB / 1.032 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.238e-05/0.7823, allocations: 31.94 kB / 1.032 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.7824, allocations: 32 kB / 1.032 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000323/0.7827, allocations: 319 kB / 1.033 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003924/0.7831, allocations: 447.3 kB / 1.033 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007231/0.7838, allocations: 0.8676 MB / 1.034 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.7839, allocations: 4 kB / 1.034 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7839, allocations: 0 / 1.034 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.7839, allocations: 0 / 1.034 GB, free: 4.535 MB / 0.7794 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.002114/0.786, allocations: 1.117 MB / 1.035 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.7861, allocations: 11.98 kB / 1.035 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.7862, allocations: 99.81 kB / 1.035 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009443/0.7872, allocations: 0.6441 MB / 1.036 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.7872, allocations: 41.03 kB / 1.036 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-05/0.7873, allocations: 64.38 kB / 1.036 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000606/0.7879, allocations: 402.8 kB / 1.036 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.7879, allocations: 0 / 1.036 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.788, allocations: 20 kB / 1.036 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.788, allocations: 8 kB / 1.036 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.7884, allocations: 230.4 kB / 1.037 GB, free: 1.789 MB / 0.7794 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.002909/0.7913, allocations: 2.517 MB / 1.039 GB, free: 15.07 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.7926, allocations: 499 kB / 1.04 GB, free: 14.58 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.7929, allocations: 157.2 kB / 1.04 GB, free: 14.42 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.7929, allocations: 240 / 1.04 GB, free: 14.42 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.793, allocations: 38.8 kB / 1.04 GB, free: 14.38 MB / 0.795 GB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.793, allocations: 0 / 1.04 GB, free: 14.38 MB / 0.795 GB Notification: Performance of matching and sorting (n=30): time 0.002091/0.7951, allocations: 1.21 MB / 1.041 GB, free: 13.09 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.7951, allocations: 51.41 kB / 1.041 GB, free: 13.03 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.7962, allocations: 0.9193 MB / 1.042 GB, free: 12.1 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.7963, allocations: 45.7 kB / 1.042 GB, free: 12.05 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.7966, allocations: 364.7 kB / 1.042 GB, free: 11.69 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.7967, allocations: 114.4 kB / 1.042 GB, free: 11.57 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.7968, allocations: 93.66 kB / 1.042 GB, free: 11.48 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.797, allocations: 398.7 kB / 1.043 GB, free: 11.08 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.7973, allocations: 229.8 kB / 1.043 GB, free: 10.86 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006371/0.798, allocations: 0.6271 MB / 1.044 GB, free: 10.04 MB / 0.795 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.002922/0.8009, allocations: 1.786 MB / 1.045 GB, free: 8.02 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.8009, allocations: 4 kB / 1.045 GB, free: 8.016 MB / 0.795 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001363/0.8023, allocations: 0.9075 MB / 1.046 GB, free: 7.098 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.8023, allocations: 12 kB / 1.046 GB, free: 7.086 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.8024, allocations: 16 kB / 1.046 GB, free: 7.07 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001723/0.8026, allocations: 48.83 kB / 1.046 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006564/0.8032, allocations: 211.9 kB / 1.047 GB, free: 6.812 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.8043, allocations: 1.358 MB / 1.048 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.8051, allocations: 51.81 kB / 1.048 GB, free: 5.266 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/0.8051, allocations: 40 kB / 1.048 GB, free: 5.227 MB / 0.795 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.0003763/0.8055, allocations: 297.3 kB / 1.048 GB, free: 4.926 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.8056, allocations: 78.97 kB / 1.048 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.8058, allocations: 84.58 kB / 1.048 GB, free: 4.766 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.8058, allocations: 0 / 1.048 GB, free: 4.766 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.8058, allocations: 7.938 kB / 1.048 GB, free: 4.758 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.8058, allocations: 0 / 1.048 GB, free: 4.758 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.8075, allocations: 1.14 MB / 1.05 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.8075, allocations: 15.91 kB / 1.05 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.8079, allocations: 79.89 kB / 1.05 GB, free: 3.453 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/0.808, allocations: 36.89 kB / 1.05 GB, free: 3.414 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.8081, allocations: 20 kB / 1.05 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009342/0.809, allocations: 1.327 MB / 1.051 GB, free: 1.934 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.809, allocations: 7.969 kB / 1.051 GB, free: 1.926 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008679/0.8099, allocations: 0.6595 MB / 1.052 GB, free: 1.234 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.8102, allocations: 204.1 kB / 1.052 GB, free: 1.016 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.362e-05/0.8103, allocations: 8 kB / 1.052 GB, free: 1.008 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/0.8107, allocations: 27.91 kB / 1.052 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.8108, allocations: 15.97 kB / 1.052 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.8108, allocations: 16 kB / 1.052 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008411/0.8116, allocations: 0.6161 MB / 1.052 GB, free: 344 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8117, allocations: 0 / 1.052 GB, free: 344 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007245/0.8124, allocations: 208 kB / 1.053 GB, free: 136 kB / 0.795 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.0001303/0.8125, allocations: 111.9 kB / 1.053 GB, free: 16 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.8136, allocations: 0.6417 MB / 1.053 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8137, allocations: 0 / 1.053 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.814, allocations: 275.2 kB / 1.054 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009854/0.815, allocations: 165.4 kB / 1.054 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.8175, allocations: 1.99 MB / 1.056 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.818, allocations: 0.9879 MB / 1.057 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00043/0.8184, allocations: 153.9 kB / 1.057 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.8186, allocations: 51.44 kB / 1.057 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of SimCode: time 3.8e-07/0.8186, allocations: 0 / 1.057 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of Templates: time 0.01662/0.8352, allocations: 8.482 MB / 1.065 GB, free: 3.297 MB / 0.8106 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches