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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004161/0.004161, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001219/0.00122, allocations: 202.4 kB / 16.68 MB, free: 5.965 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 64.09 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2821, allocations: 162.2 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003076/0.2852, allocations: 1.899 MB / 1.243 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.2863, allocations: 0.6314 MB / 1.244 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.95e-05/0.2863, allocations: 7.938 kB / 1.244 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.2866, allocations: 55.69 kB / 1.244 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.2868, allocations: 71.58 kB / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.287, allocations: 71.83 kB / 1.244 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000756/0.2878, allocations: 0.6941 MB / 1.245 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2879, allocations: 37.08 kB / 1.245 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.2882, allocations: 231.6 kB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/0.2886, allocations: 275.3 kB / 1.245 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.421e-05/0.2887, allocations: 44 kB / 1.245 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-05/0.2888, allocations: 48 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.2891, allocations: 187.6 kB / 1.246 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.2893, allocations: 215.2 kB / 1.246 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005372/0.2899, allocations: 0.5023 MB / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2899, allocations: 4 kB / 1.246 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2899, allocations: 0 / 1.246 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2899, allocations: 0 / 1.246 GB, free: 5.281 MB / 0.9981 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.002124/0.292, allocations: 0.7714 MB / 1.247 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2921, allocations: 8.031 kB / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.042e-05/0.2921, allocations: 46.73 kB / 1.247 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.477e-05/0.2922, allocations: 32.8 kB / 1.247 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.2927, allocations: 312.2 kB / 1.247 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.2927, allocations: 24.17 kB / 1.247 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.2928, allocations: 31.98 kB / 1.247 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.2931, allocations: 176.4 kB / 1.248 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.2932, allocations: 0 / 1.248 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.2932, allocations: 7.938 kB / 1.248 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2932, allocations: 4 kB / 1.248 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.2935, allocations: 144.6 kB / 1.248 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004486/0.298, allocations: 1.304 MB / 1.249 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.2995, allocations: 462.2 kB / 1.249 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.2997, allocations: 112.8 kB / 1.25 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.2997, allocations: 11.88 kB / 1.25 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.2997, allocations: 34.56 kB / 1.25 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.323e-06/0.2998, allocations: 0 / 1.25 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0007029/0.3005, allocations: 355.8 kB / 1.25 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.3005, allocations: 51.41 kB / 1.25 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.3008, allocations: 294.5 kB / 1.25 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/0.3009, allocations: 33.7 kB / 1.25 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.301, allocations: 140.9 kB / 1.25 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.849e-05/0.3011, allocations: 83.33 kB / 1.251 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.3013, allocations: 114.2 kB / 1.251 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3015, allocations: 338.8 kB / 1.251 GB, free: 212 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4545/0.756, allocations: 267.1 kB / 1.251 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006071/0.7566, allocations: 324 kB / 1.252 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007486/0.7574, allocations: 443.7 kB / 1.252 GB, free: 15 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7574, allocations: 0 / 1.252 GB, free: 15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001248/0.7586, allocations: 0.6894 MB / 1.253 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.7587, allocations: 5.438 kB / 1.253 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.7587, allocations: 0.9375 kB / 1.253 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.7587, allocations: 2.922 kB / 1.253 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007856/0.7595, allocations: 129.5 kB / 1.253 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.7595, allocations: 2.359 kB / 1.253 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.7609, allocations: 92.66 kB / 1.253 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.761, allocations: 22.48 kB / 1.253 GB, free: 14.95 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.0001406/0.7611, allocations: 164.9 kB / 1.253 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/0.7612, allocations: 24.05 kB / 1.253 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.512e-05/0.7612, allocations: 26.06 kB / 1.253 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.7612, allocations: 2.75 kB / 1.253 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7613, allocations: 0.6094 kB / 1.253 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.7613, allocations: 4.844 kB / 1.253 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.7617, allocations: 431.8 kB / 1.254 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.7617, allocations: 2.969 kB / 1.254 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.7619, allocations: 43.98 kB / 1.254 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.762, allocations: 2.125 kB / 1.254 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.762, allocations: 9.328 kB / 1.254 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.762, allocations: 2.234 kB / 1.254 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.762, allocations: 0.75 kB / 1.254 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006187/0.7626, allocations: 491.9 kB / 1.254 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/0.7627, allocations: 112.7 kB / 1.254 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.7628, allocations: 9.609 kB / 1.254 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006216/0.7634, allocations: 23.61 kB / 1.254 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.7634, allocations: 17.5 kB / 1.254 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.7635, allocations: 4.328 kB / 1.254 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001666/0.7636, allocations: 191.8 kB / 1.254 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7636, allocations: 4.562 kB / 1.254 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005682/0.7642, allocations: 201.8 kB / 1.255 GB, free: 14.12 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.000779/0.765, allocations: 1.028 MB / 1.256 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007769/0.7658, allocations: 454 kB / 1.256 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.7658, allocations: 0 / 1.256 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.766, allocations: 120.5 kB / 1.256 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.7665, allocations: 64.39 kB / 1.256 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005203/0.7717, allocations: 4.333 MB / 1.26 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.7719, allocations: 0.7685 MB / 1.261 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002425/0.7721, allocations: 89.09 kB / 1.261 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.7723, allocations: 87.22 kB / 1.261 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.7724, allocations: 0.5 kB / 1.261 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/0.8046, allocations: 8.885 MB / 1.27 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/8.978, allocations: 10.12 kB / 1.27 GB, free: 9.281 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv --start-time 0 --stop-time 36000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 14.4 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches