Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_9_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.009897/0.009897, allocations: 101.8 kB / 15.73 MB, free: 5.969 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.002001/0.002001, allocations: 197 kB / 16.67 MB, free: 5.906 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.2 MB / 0.6648 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 69.84 kB / 0.9504 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2607, allocations: 140.4 MB / 1.087 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003116/0.2638, allocations: 1.908 MB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.265, allocations: 0.6392 MB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.2651, allocations: 4 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.2654, allocations: 59.67 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.2657, allocations: 67.53 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.2659, allocations: 67.89 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006833/0.2666, allocations: 0.6979 MB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.2667, allocations: 37.09 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003902/0.2671, allocations: 231.6 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004612/0.2676, allocations: 275.3 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.2677, allocations: 51.98 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.2678, allocations: 48 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.2681, allocations: 183.6 kB / 1.092 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002847/0.2684, allocations: 211.2 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.2689, allocations: 0.4984 MB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2689, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2689, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.2689, allocations: 4 kB / 1.092 GB, free: 13.2 MB / 0.8575 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.002185/0.2711, allocations: 0.7597 MB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.2712, allocations: 8.031 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.26e-05/0.2712, allocations: 54.73 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.2714, allocations: 32.56 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.2718, allocations: 316.2 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.2719, allocations: 24.17 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.802e-05/0.272, allocations: 28 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.2723, allocations: 175.4 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2723, allocations: 0 / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.2723, allocations: 11.98 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.2723, allocations: 0 / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.2726, allocations: 140.6 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004073/0.2767, allocations: 1.312 MB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.2782, allocations: 467.9 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.2784, allocations: 112.8 kB / 1.096 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.2784, allocations: 0 / 1.096 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.2784, allocations: 42.56 kB / 1.096 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.964e-06/0.2785, allocations: 0 / 1.096 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0007577/0.2792, allocations: 354.7 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.2793, allocations: 51.41 kB / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.2796, allocations: 298.5 kB / 1.096 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.281e-05/0.2797, allocations: 33.7 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.2798, allocations: 136.8 kB / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.2799, allocations: 78.98 kB / 1.097 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.2802, allocations: 118.2 kB / 1.097 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2804, allocations: 338.8 kB / 1.097 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.2809, allocations: 269 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005246/0.2814, allocations: 324.6 kB / 1.098 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006951/0.2821, allocations: 434.7 kB / 1.098 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2821, allocations: 4.031 kB / 1.098 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001224/0.2834, allocations: 0.6976 MB / 1.099 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.2834, allocations: 8 kB / 1.099 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2834, allocations: 0 / 1.099 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2834, allocations: 0 / 1.099 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/0.2842, allocations: 123.8 kB / 1.099 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.2842, allocations: 0 / 1.099 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.2853, allocations: 95.28 kB / 1.099 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/0.2854, allocations: 23.92 kB / 1.099 GB, free: 6.156 MB / 0.8575 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.000193/0.2856, allocations: 157.8 kB / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.943e-05/0.2857, allocations: 27.66 kB / 1.099 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.105e-05/0.2858, allocations: 26.19 kB / 1.099 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.2858, allocations: 4 kB / 1.099 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.2858, allocations: 3.984 kB / 1.099 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.2858, allocations: 4 kB / 1.099 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005244/0.2864, allocations: 421.1 kB / 1.1 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2864, allocations: 0 / 1.1 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.2867, allocations: 55.78 kB / 1.1 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.2867, allocations: 0 / 1.1 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.2867, allocations: 11.98 kB / 1.1 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.2867, allocations: 4 kB / 1.1 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2867, allocations: 0 / 1.1 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/0.2875, allocations: 493.1 kB / 1.1 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.2876, allocations: 104.8 kB / 1.1 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.2876, allocations: 8 kB / 1.1 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005248/0.2882, allocations: 27.8 kB / 1.1 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.2882, allocations: 11.98 kB / 1.1 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.2882, allocations: 4 kB / 1.1 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002373/0.2885, allocations: 197.9 kB / 1.1 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2885, allocations: 3.938 kB / 1.1 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006149/0.2891, allocations: 200 kB / 1.101 GB, free: 4.336 MB / 0.8575 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.00102/0.2901, allocations: 1.02 MB / 1.102 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008957/0.2911, allocations: 466.9 kB / 1.102 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2911, allocations: 0 / 1.102 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.2913, allocations: 121.9 kB / 1.102 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.2918, allocations: 60.77 kB / 1.102 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006147/0.2979, allocations: 4.311 MB / 1.106 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.2984, allocations: 0.7753 MB / 1.107 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002755/0.2987, allocations: 86.2 kB / 1.107 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.299, allocations: 91.39 kB / 1.107 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of SimCode: time 8.91e-07/0.299, allocations: 0 / 1.107 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03139/0.3304, allocations: 8.879 MB / 1.116 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.516, allocations: 6.297 kB / 1.116 GB, free: 4.551 MB / 0.8731 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches