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.00947/0.009476, allocations: 103.7 kB / 15.74 MB, free: 6.449 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.001884/0.001884, allocations: 196.3 kB / 16.67 MB, free: 6.355 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.538/1.538, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.78/2.78, allocations: 472.6 MB / 0.7453 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 59.91 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.371, allocations: 159.9 MB / 1.226 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003586/0.3746, allocations: 1.908 MB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.376, allocations: 0.6389 MB / 1.228 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.3761, allocations: 4 kB / 1.228 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.3765, allocations: 63.66 kB / 1.228 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.3768, allocations: 71.52 kB / 1.228 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.377, allocations: 71.91 kB / 1.228 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007509/0.3778, allocations: 0.6901 MB / 1.229 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.3779, allocations: 41.06 kB / 1.229 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.3783, allocations: 227.6 kB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004221/0.3787, allocations: 279.3 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.998e-05/0.3788, allocations: 48 kB / 1.23 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-05/0.3789, allocations: 48 kB / 1.23 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.3791, allocations: 179.6 kB / 1.23 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.3794, allocations: 215.2 kB / 1.23 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.38, allocations: 0.4985 MB / 1.23 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.38, allocations: 0 / 1.23 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.874e-06/0.38, allocations: 4 kB / 1.23 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.38, allocations: 0 / 1.23 GB, free: 4.199 MB / 0.9825 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.002054/0.3821, allocations: 0.7714 MB / 1.231 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3821, allocations: 8.031 kB / 1.231 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.3822, allocations: 40.73 kB / 1.231 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.3827, allocations: 308.3 kB / 1.232 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.3827, allocations: 24.36 kB / 1.232 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.3828, allocations: 32 kB / 1.232 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.3831, allocations: 172.6 kB / 1.232 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3831, allocations: 0 / 1.232 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.3831, allocations: 8 kB / 1.232 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.3832, allocations: 4 kB / 1.232 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.3834, allocations: 148.5 kB / 1.232 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/0.3876, allocations: 1.3 MB / 1.233 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.389, allocations: 466.2 kB / 1.234 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.3892, allocations: 112.8 kB / 1.234 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.3892, allocations: 7.938 kB / 1.234 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.3892, allocations: 30.56 kB / 1.234 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.3892, allocations: 0 / 1.234 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0007165/0.39, allocations: 367.4 kB / 1.234 GB, free: 264 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.39, allocations: 51.41 kB / 1.234 GB, free: 200 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.3904, allocations: 290.6 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.3904, allocations: 33.7 kB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3905, allocations: 140.9 kB / 1.235 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.496e-05/0.3906, allocations: 83.33 kB / 1.235 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.3908, allocations: 118.2 kB / 1.235 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.391, allocations: 338.8 kB / 1.235 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004484/0.3914, allocations: 273 kB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004982/0.3919, allocations: 324.6 kB / 1.236 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006855/0.3926, allocations: 442.7 kB / 1.236 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3926, allocations: 0 / 1.236 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00123/0.3939, allocations: 0.6862 MB / 1.237 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3939, allocations: 7.938 kB / 1.237 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3939, allocations: 4 kB / 1.237 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3939, allocations: 0 / 1.237 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.3946, allocations: 131.9 kB / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3947, allocations: 0 / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.3958, allocations: 95.45 kB / 1.237 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/0.3959, allocations: 19.98 kB / 1.237 GB, free: 13.2 MB / 0.9981 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.0001577/0.3961, allocations: 162.2 kB / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.3961, allocations: 31.75 kB / 1.237 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.3963, allocations: 30.17 kB / 1.237 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3963, allocations: 4 kB / 1.237 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3963, allocations: 0 / 1.237 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3963, allocations: 0 / 1.237 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.3967, allocations: 429 kB / 1.238 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3967, allocations: 0 / 1.238 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.397, allocations: 39.97 kB / 1.238 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.397, allocations: 7.875 kB / 1.238 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.397, allocations: 8 kB / 1.238 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.397, allocations: 7.938 kB / 1.238 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.397, allocations: 0 / 1.238 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000646/0.3977, allocations: 489.3 kB / 1.238 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.197e-05/0.3978, allocations: 108.9 kB / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.3978, allocations: 7.984 kB / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/0.3984, allocations: 27.97 kB / 1.238 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.3985, allocations: 11.97 kB / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.3985, allocations: 8 kB / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001691/0.3987, allocations: 190 kB / 1.239 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3987, allocations: 0 / 1.239 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005038/0.3992, allocations: 203.9 kB / 1.239 GB, free: 11.38 MB / 0.9981 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.0001295/0.3993, allocations: 111.1 kB / 1.239 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007359/0.4, allocations: 459 kB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4001, allocations: 0 / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.4002, allocations: 125.4 kB / 1.239 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.4007, allocations: 62.17 kB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.4022, allocations: 0.9917 MB / 1.24 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.4026, allocations: 0.7714 MB / 1.241 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002276/0.4028, allocations: 86.2 kB / 1.241 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.403, allocations: 31.41 kB / 1.241 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of SimCode: time 3.6e-07/0.403, allocations: 0 / 1.241 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of Templates: time 0.0102/0.4132, allocations: 6.041 MB / 1.247 GB, free: 2.699 MB / 0.9981 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