Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009992/0.0009993, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001055/0.001055, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.923/2.923, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005631/0.0005632, allocations: 15.69 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4181, allocations: 159.6 MB / 1.058 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004052/0.4222, allocations: 3.208 MB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003757/0.426, allocations: 2.382 MB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.4263, allocations: 11.94 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006186/0.4269, allocations: 210.8 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008904/0.4278, allocations: 445.9 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.4288, allocations: 433.8 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001532/0.4304, allocations: 1.297 MB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.4307, allocations: 111.5 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005304/0.4312, allocations: 402.5 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006165/0.4318, allocations: 482.3 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.784e-05/0.4319, allocations: 28 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.432, allocations: 32 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.4324, allocations: 319.1 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.4326, allocations: 189.2 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006443/0.4332, allocations: 0.674 MB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4332, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4333, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.4333, allocations: 4 kB / 1.068 GB, free: 11.16 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001915/0.4352, allocations: 1.129 MB / 1.069 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.4352, allocations: 8.031 kB / 1.069 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.4354, allocations: 106.8 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009161/0.4363, allocations: 0.6084 MB / 1.07 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.115e-05/0.4364, allocations: 48.64 kB / 1.07 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.981e-05/0.4365, allocations: 55.95 kB / 1.07 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006191/0.4371, allocations: 399 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4371, allocations: 0 / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.4372, allocations: 16 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.4372, allocations: 11.94 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.4376, allocations: 226.4 kB / 1.07 GB, free: 8.434 MB / 0.8262 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.00297/0.4406, allocations: 2.521 MB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.4418, allocations: 487.2 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.4421, allocations: 161.2 kB / 1.074 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.4421, allocations: 4.234 kB / 1.074 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.4421, allocations: 34.8 kB / 1.074 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/0.4421, allocations: 0 / 1.074 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.002101/0.4442, allocations: 1.214 MB / 1.075 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.4443, allocations: 51.41 kB / 1.075 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.4455, allocations: 0.9115 MB / 1.076 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.4455, allocations: 45.64 kB / 1.076 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.4458, allocations: 372.7 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.446, allocations: 118.3 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.446, allocations: 16 kB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.4462, allocations: 394.7 kB / 1.077 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.4466, allocations: 225.8 kB / 1.077 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006538/0.4472, allocations: 0.6192 MB / 1.077 GB, free: 0.7734 MB / 0.8262 GB 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])) 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])) Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.4494, allocations: 1.08 MB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4494, allocations: 4 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00135/0.4508, allocations: 0.9073 MB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.4508, allocations: 12 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.4508, allocations: 12 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/0.451, allocations: 57.23 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.4517, allocations: 207.6 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.4528, allocations: 1.358 MB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005975/0.4534, allocations: 47.97 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/0.4535, allocations: 40 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) 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]). 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003399/0.4539, allocations: 301.4 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.454, allocations: 86.83 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.4541, allocations: 72.53 kB / 1.082 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4541, allocations: 4 kB / 1.082 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4541, allocations: 0 / 1.082 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.4541, allocations: 3.984 kB / 1.082 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.4558, allocations: 1.14 MB / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4558, allocations: 0 / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.4562, allocations: 91.88 kB / 1.083 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.4563, allocations: 36.95 kB / 1.083 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.4564, allocations: 8 kB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009469/0.4573, allocations: 1.334 MB / 1.084 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4573, allocations: 4.031 kB / 1.084 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009155/0.4583, allocations: 0.6527 MB / 1.085 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.4585, allocations: 208 kB / 1.085 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/0.4586, allocations: 8 kB / 1.085 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.459, allocations: 23.91 kB / 1.085 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.4591, allocations: 27.92 kB / 1.085 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.4592, allocations: 12 kB / 1.085 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008275/0.46, allocations: 0.6122 MB / 1.086 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.46, allocations: 0 / 1.086 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007355/0.4607, allocations: 204 kB / 1.086 GB, free: 7.793 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00014/0.4609, allocations: 112.7 kB / 1.086 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.4621, allocations: 0.6431 MB / 1.086 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4621, allocations: 0 / 1.086 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.4625, allocations: 278.7 kB / 1.087 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008383/0.4633, allocations: 165 kB / 1.087 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.4663, allocations: 1.919 MB / 1.089 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007059/0.467, allocations: 0.9801 MB / 1.09 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000459/0.4675, allocations: 157.8 kB / 1.09 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.4676, allocations: 51.44 kB / 1.09 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4676, allocations: 0 / 1.09 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of Templates: time 0.01611/0.4837, allocations: 8.183 MB / 1.098 GB, free: 11.31 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches