Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.T.3.|con.T.4.|con.T.5.|con.T.6.|con.T.7.|con.T.8.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.T.3.|con.T.4.|con.T.5.|con.T.6.|con.T.7.|con.T.8.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009822/0.009822, allocations: 97.38 kB / 15.73 MB, free: 5.949 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.00234/0.00234, allocations: 195.3 kB / 16.67 MB, free: 5.871 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.754/2.754, allocations: 472.6 MB / 0.7453 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 59.89 kB / 1.069 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9547/0.9561, allocations: 159.9 MB / 1.226 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.005007/0.9612, allocations: 1.904 MB / 1.227 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.9629, allocations: 0.6429 MB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.9632, allocations: 4 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000423/0.9636, allocations: 63.67 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.964, allocations: 71.52 kB / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.9644, allocations: 67.89 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008326/0.9652, allocations: 0.6902 MB / 1.229 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.9654, allocations: 37.05 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003849/0.9658, allocations: 231.6 kB / 1.229 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004432/0.9662, allocations: 271.4 kB / 1.229 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.01e-05/0.9663, allocations: 48 kB / 1.229 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.856e-05/0.9664, allocations: 48 kB / 1.23 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.9667, allocations: 187.5 kB / 1.23 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.9669, allocations: 211.3 kB / 1.23 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.9674, allocations: 0.5067 MB / 1.23 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.9674, allocations: 0 / 1.23 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9674, allocations: 0 / 1.23 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.9675, allocations: 0 / 1.23 GB, free: 8.637 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.002058/0.9695, allocations: 0.7714 MB / 1.231 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.9696, allocations: 8.031 kB / 1.231 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.9697, allocations: 32.75 kB / 1.231 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.9702, allocations: 320.3 kB / 1.231 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.9702, allocations: 24.36 kB / 1.232 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.9703, allocations: 28 kB / 1.232 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.9706, allocations: 175.4 kB / 1.232 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.9706, allocations: 3.938 kB / 1.232 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.9707, allocations: 4 kB / 1.232 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.9707, allocations: 4 kB / 1.232 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.9709, allocations: 144.5 kB / 1.232 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/0.9749, allocations: 1.3 MB / 1.233 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.9763, allocations: 470.2 kB / 1.234 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.9765, allocations: 112.8 kB / 1.234 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.9765, allocations: 8 kB / 1.234 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.9765, allocations: 34.56 kB / 1.234 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.9765, allocations: 0 / 1.234 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.0006529/0.9772, allocations: 349.6 kB / 1.234 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.9772, allocations: 63.33 kB / 1.234 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.9775, allocations: 286.6 kB / 1.234 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.9776, allocations: 41.64 kB / 1.234 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.9777, allocations: 141 kB / 1.235 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.705e-05/0.9778, allocations: 75.33 kB / 1.235 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.978, allocations: 118.2 kB / 1.235 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9781, allocations: 342.8 kB / 1.235 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/0.9786, allocations: 269 kB / 1.235 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/0.9791, allocations: 320.6 kB / 1.236 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007308/0.9799, allocations: 438.7 kB / 1.236 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.9799, allocations: 0 / 1.236 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00118/0.9811, allocations: 0.6979 MB / 1.237 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.9811, allocations: 7.938 kB / 1.237 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.9811, allocations: 0 / 1.237 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.9811, allocations: 4 kB / 1.237 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/0.9818, allocations: 123.8 kB / 1.237 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.9819, allocations: 4 kB / 1.237 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.9831, allocations: 95.47 kB / 1.237 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.9831, allocations: 15.98 kB / 1.237 GB, free: 1.645 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001862/0.9833, allocations: 166.2 kB / 1.237 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.9834, allocations: 27.75 kB / 1.237 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.694e-05/0.9835, allocations: 30.19 kB / 1.237 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.9835, allocations: 3.984 kB / 1.237 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.9835, allocations: 4 kB / 1.237 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.9835, allocations: 0 / 1.237 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.984, allocations: 417.1 kB / 1.238 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.984, allocations: 0 / 1.238 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.9842, allocations: 43.97 kB / 1.238 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.9842, allocations: 3.938 kB / 1.238 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.9843, allocations: 11.98 kB / 1.238 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.9843, allocations: 4 kB / 1.238 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.9843, allocations: 7.875 kB / 1.238 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006936/0.985, allocations: 492.4 kB / 1.238 GB, free: 392 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.953e-05/0.9851, allocations: 112.8 kB / 1.238 GB, free: 260 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.9852, allocations: 8 kB / 1.238 GB, free: 252 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005592/0.9857, allocations: 19.95 kB / 1.238 GB, free: 232 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.9858, allocations: 19.92 kB / 1.238 GB, free: 212 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.9858, allocations: 0 / 1.238 GB, free: 212 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001809/0.986, allocations: 197.9 kB / 1.238 GB, free: 12 kB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.986, allocations: 0 / 1.238 GB, free: 12 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000634/0.9867, allocations: 207.9 kB / 1.239 GB, free: 15.8 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con.T[5],con.T[6],con.T[7],con.T[8]) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001696/0.9868, allocations: 111.1 kB / 1.239 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008601/0.9877, allocations: 456.9 kB / 1.239 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.9877, allocations: 0 / 1.239 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.9879, allocations: 123.8 kB / 1.239 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.9884, allocations: 60.47 kB / 1.239 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.9901, allocations: 0.9995 MB / 1.24 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.9905, allocations: 0.7635 MB / 1.241 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000262/0.9908, allocations: 90.22 kB / 1.241 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.9909, allocations: 31.42 kB / 1.241 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.9909, allocations: 0 / 1.241 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of Templates: time 0.01137/1.002, allocations: 6.034 MB / 1.247 GB, free: 7.137 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches