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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00139/0.00139, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001527/0.001527, allocations: 191 kB / 17.29 MB, free: 5.516 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.473/2.473, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.72 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3313, allocations: 151.7 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004928/0.3363, allocations: 3.72 MB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004197/0.3405, allocations: 2.506 MB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003913/0.341, allocations: 15.88 kB / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007361/0.3417, allocations: 250.4 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.3429, allocations: 0.4889 MB / 1.026 GB, free: 2.82 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.3443, allocations: 0.5378 MB / 1.026 GB, free: 2.281 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001587/0.3459, allocations: 1.375 MB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.3462, allocations: 153.1 kB / 1.028 GB, free: 0.75 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.3467, allocations: 438.5 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006085/0.3473, allocations: 478.2 kB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.739e-05/0.3474, allocations: 56 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.3475, allocations: 56 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003312/0.3479, allocations: 358.9 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004415/0.3483, allocations: 457.6 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000778/0.3491, allocations: 0.9029 MB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3491, allocations: 4 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3491, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.3492, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 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.002028/0.3512, allocations: 1.245 MB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3512, allocations: 16.88 kB / 1.031 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.3514, allocations: 99.72 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.3525, allocations: 0.6675 MB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.3525, allocations: 41.03 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/0.3526, allocations: 56.38 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/0.3532, allocations: 406.9 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3532, allocations: 7.922 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.3532, allocations: 12 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.3532, allocations: 8 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003669/0.3536, allocations: 226.4 kB / 1.033 GB, free: 11.14 MB / 0.8106 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.002761/0.3564, allocations: 2.49 MB / 1.035 GB, free: 8.449 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.3576, allocations: 495.9 kB / 1.036 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.3579, allocations: 157.2 kB / 1.036 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3579, allocations: 4.234 kB / 1.036 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.358, allocations: 30.8 kB / 1.036 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=28): time 1.734e-06/0.358, allocations: 4 kB / 1.036 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.002094/0.3601, allocations: 1.209 MB / 1.037 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.3601, allocations: 55.41 kB / 1.037 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.3613, allocations: 0.9231 MB / 1.038 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.3613, allocations: 45.64 kB / 1.038 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.3616, allocations: 368.8 kB / 1.039 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.541e-05/0.3617, allocations: 114.3 kB / 1.039 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.3619, allocations: 162.7 kB / 1.039 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3621, allocations: 394.7 kB / 1.039 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.3625, allocations: 225.8 kB / 1.039 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005656/0.3631, allocations: 0.6192 MB / 1.04 GB, free: 3.348 MB / 0.8106 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.002907/0.366, allocations: 1.768 MB / 1.042 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.366, allocations: 4 kB / 1.042 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00147/0.3675, allocations: 0.9036 MB / 1.043 GB, free: 444 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.3675, allocations: 15.98 kB / 1.043 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.3676, allocations: 15.94 kB / 1.043 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/0.3679, allocations: 44.84 kB / 1.043 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007611/0.3686, allocations: 215.9 kB / 1.043 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.3704, allocations: 1.46 MB / 1.044 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.3715, allocations: 43.97 kB / 1.044 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.966e-05/0.3716, allocations: 43.98 kB / 1.044 GB, free: 14.46 MB / 0.8262 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.0005504/0.3722, allocations: 294.1 kB / 1.045 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.3723, allocations: 78.97 kB / 1.045 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.3724, allocations: 84.52 kB / 1.045 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3725, allocations: 4 kB / 1.045 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.3725, allocations: 4 kB / 1.045 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3725, allocations: 3.938 kB / 1.045 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.3742, allocations: 1.141 MB / 1.046 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3743, allocations: 3.984 kB / 1.046 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.3746, allocations: 83.89 kB / 1.046 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001142/0.3748, allocations: 32.83 kB / 1.046 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.3748, allocations: 8 kB / 1.046 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.3758, allocations: 1.43 MB / 1.048 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3758, allocations: 4.156 kB / 1.048 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008325/0.3767, allocations: 0.6623 MB / 1.048 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.377, allocations: 196.1 kB / 1.048 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/0.3771, allocations: 11.98 kB / 1.048 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.3775, allocations: 19.92 kB / 1.048 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.3775, allocations: 23.97 kB / 1.048 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.3776, allocations: 4 kB / 1.048 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007714/0.3783, allocations: 0.6278 MB / 1.049 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3783, allocations: 0 / 1.049 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007337/0.3791, allocations: 208 kB / 1.049 GB, free: 9.281 MB / 0.8262 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.0001563/0.3792, allocations: 115.1 kB / 1.049 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.3804, allocations: 0.6382 MB / 1.05 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3804, allocations: 4.125 kB / 1.05 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.3808, allocations: 270.4 kB / 1.05 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008513/0.3817, allocations: 173.1 kB / 1.05 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.3842, allocations: 1.611 MB / 1.052 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/0.3848, allocations: 0.9836 MB / 1.053 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003858/0.3852, allocations: 153.9 kB / 1.053 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.3854, allocations: 47.44 kB / 1.053 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of SimCode: time 1.052e-06/0.3854, allocations: 0 / 1.053 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of Templates: time 0.01836/0.4038, allocations: 8.999 MB / 1.062 GB, free: 12.32 MB / 0.8419 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 -s cvode -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