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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001183/0.001183, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 197 kB / 16.53 MB, free: 6.391 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.736/2.736, allocations: 469.4 MB / 0.742 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 62.78 kB / 0.9082 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2707, allocations: 159.1 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003148/0.2739, allocations: 1.919 MB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.275, allocations: 0.6392 MB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.2752, allocations: 7.938 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.2755, allocations: 63.66 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.2757, allocations: 59.59 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.2759, allocations: 71.89 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006536/0.2766, allocations: 0.6941 MB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.2767, allocations: 37.05 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003727/0.2771, allocations: 223.6 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004785/0.2776, allocations: 283.3 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.2777, allocations: 44 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.2778, allocations: 48 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.278, allocations: 179.6 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002689/0.2783, allocations: 211.2 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004974/0.2788, allocations: 0.5067 MB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2788, allocations: 0 / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2789, allocations: 3.938 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.2789, allocations: 0 / 1.068 GB, free: 9.594 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.002252/0.2811, allocations: 0.7638 MB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2812, allocations: 8.031 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.667e-05/0.2812, allocations: 46.73 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.2814, allocations: 32.66 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.2818, allocations: 308.2 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.2818, allocations: 24.17 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.508e-05/0.2819, allocations: 32 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.2822, allocations: 179.4 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2823, allocations: 0 / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.2823, allocations: 11.92 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2823, allocations: 4 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.2826, allocations: 144.6 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004435/0.287, allocations: 1.304 MB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.2884, allocations: 462.2 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.2886, allocations: 114 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.2886, allocations: 4 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.2886, allocations: 38.48 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 3.026e-06/0.2886, allocations: 4 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0006634/0.2893, allocations: 359.5 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.2893, allocations: 51.41 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.2896, allocations: 286.5 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.611e-05/0.2897, allocations: 33.7 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.2898, allocations: 144.8 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.028e-05/0.2899, allocations: 75 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.2901, allocations: 118.2 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2902, allocations: 338.8 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/0.2907, allocations: 269 kB / 1.073 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/0.2912, allocations: 324.5 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006913/0.2919, allocations: 442.7 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2919, allocations: 0 / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001135/0.2931, allocations: 0.6899 MB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2931, allocations: 7.984 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2931, allocations: 0 / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2931, allocations: 4 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007386/0.2939, allocations: 127.8 kB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.2939, allocations: 3.984 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.2952, allocations: 95.28 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.2953, allocations: 19.98 kB / 1.075 GB, free: 2.559 MB / 0.8262 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.0001916/0.2955, allocations: 157.8 kB / 1.075 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.2955, allocations: 23.66 kB / 1.075 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.06e-05/0.2956, allocations: 26.19 kB / 1.075 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2956, allocations: 0 / 1.075 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2956, allocations: 4 kB / 1.075 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2957, allocations: 4 kB / 1.075 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.2961, allocations: 429 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2961, allocations: 7.938 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.2964, allocations: 43.91 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.2964, allocations: 3.984 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.2965, allocations: 8 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2965, allocations: 0 / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2965, allocations: 0 / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.2971, allocations: 0.4909 MB / 1.076 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.431e-05/0.2972, allocations: 104.8 kB / 1.076 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.2973, allocations: 8 kB / 1.076 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005993/0.2979, allocations: 27.86 kB / 1.076 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.2979, allocations: 11.98 kB / 1.076 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.2979, allocations: 4 kB / 1.076 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000159/0.2981, allocations: 190 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2981, allocations: 0 / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005407/0.2987, allocations: 207.9 kB / 1.077 GB, free: 0.7422 MB / 0.8262 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.0009624/0.2996, allocations: 1.023 MB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007741/0.3004, allocations: 490.9 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3004, allocations: 4 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.3006, allocations: 117.4 kB / 1.078 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.3011, allocations: 62.7 kB / 1.078 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005366/0.3065, allocations: 4.322 MB / 1.083 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.3068, allocations: 0.7636 MB / 1.083 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002383/0.307, allocations: 90.2 kB / 1.083 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.3072, allocations: 87.39 kB / 1.084 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3072, allocations: 0 / 1.084 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.3333, allocations: 8.795 MB / 1.092 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/7.78, allocations: 16.45 kB / 1.092 GB, free: 1 MB / 0.8419 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 50 --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