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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.004174/0.004174, allocations: 95.05 kB / 15.73 MB, free: 6.039 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.001047/0.001047, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.692/2.692, allocations: 469.4 MB / 0.7421 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 56.12 kB / 1.064 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2528, allocations: 159.1 MB / 1.22 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.002943/0.2558, allocations: 1.912 MB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.2569, allocations: 0.6313 MB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.898e-05/0.257, allocations: 4 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.2573, allocations: 51.69 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.2575, allocations: 71.58 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.2577, allocations: 75.83 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006213/0.2584, allocations: 0.6941 MB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2585, allocations: 29.11 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.2588, allocations: 239.5 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004149/0.2592, allocations: 271.5 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.531e-05/0.2594, allocations: 47.94 kB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.221e-05/0.2594, allocations: 48 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.2597, allocations: 183.6 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002568/0.2599, allocations: 219.2 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004617/0.2604, allocations: 0.4985 MB / 1.225 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2604, allocations: 4 kB / 1.225 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2604, allocations: 0 / 1.225 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.2604, allocations: 0 / 1.225 GB, free: 9.801 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.002061/0.2625, allocations: 0.7714 MB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2625, allocations: 8.031 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/0.2626, allocations: 46.73 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.2627, allocations: 36.75 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.2632, allocations: 308.3 kB / 1.226 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.2632, allocations: 28.16 kB / 1.226 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.919e-05/0.2633, allocations: 32 kB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.2636, allocations: 171.5 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2636, allocations: 0 / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.2636, allocations: 4 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.2636, allocations: 4 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002612/0.2639, allocations: 148.6 kB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004296/0.2682, allocations: 1.304 MB / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.2696, allocations: 470.2 kB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.2698, allocations: 116.8 kB / 1.228 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.2698, allocations: 4 kB / 1.228 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2698, allocations: 30.56 kB / 1.228 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.2698, allocations: 3.938 kB / 1.228 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0006655/0.2705, allocations: 363.1 kB / 1.228 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.2706, allocations: 51.41 kB / 1.228 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.2709, allocations: 286.6 kB / 1.229 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.832e-05/0.271, allocations: 33.7 kB / 1.229 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.2712, allocations: 140.9 kB / 1.229 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.2713, allocations: 87.31 kB / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.2715, allocations: 114.2 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2716, allocations: 338.8 kB / 1.229 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/0.2721, allocations: 277 kB / 1.23 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/0.2726, allocations: 324.6 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006721/0.2733, allocations: 438.7 kB / 1.23 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2733, allocations: 3.938 kB / 1.23 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001145/0.2745, allocations: 0.69 MB / 1.231 GB, free: 3 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2745, allocations: 5.719 kB / 1.231 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2745, allocations: 8.031 kB / 1.231 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2745, allocations: 4 kB / 1.231 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/0.2753, allocations: 131.8 kB / 1.231 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.2753, allocations: 0 / 1.231 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.2767, allocations: 91.47 kB / 1.231 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.2767, allocations: 19.98 kB / 1.231 GB, free: 2.746 MB / 0.9825 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.0001562/0.2769, allocations: 166.2 kB / 1.231 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.277, allocations: 27.75 kB / 1.231 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.517e-05/0.277, allocations: 26.19 kB / 1.231 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.277, allocations: 0 / 1.231 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2771, allocations: 4 kB / 1.231 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2771, allocations: 3.984 kB / 1.231 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.2775, allocations: 425.1 kB / 1.232 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.2775, allocations: 0 / 1.232 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.2778, allocations: 47.91 kB / 1.232 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.2778, allocations: 0 / 1.232 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.2778, allocations: 8 kB / 1.232 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2778, allocations: 0 / 1.232 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.2779, allocations: 3.984 kB / 1.232 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006954/0.2786, allocations: 0.4894 MB / 1.232 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.2787, allocations: 101 kB / 1.232 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.2787, allocations: 8 kB / 1.232 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006145/0.2793, allocations: 27.95 kB / 1.232 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.2794, allocations: 11.98 kB / 1.232 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.2794, allocations: 4 kB / 1.232 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001709/0.2796, allocations: 193.9 kB / 1.233 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2796, allocations: 0 / 1.233 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005531/0.2801, allocations: 207.9 kB / 1.233 GB, free: 0.918 MB / 0.9825 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.0009071/0.2811, allocations: 1.022 MB / 1.234 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007488/0.2818, allocations: 459 kB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2818, allocations: 0 / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.282, allocations: 123.9 kB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.2825, allocations: 60.77 kB / 1.234 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005465/0.288, allocations: 4.347 MB / 1.239 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.2883, allocations: 0.7675 MB / 1.239 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002428/0.2886, allocations: 94.2 kB / 1.24 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.2888, allocations: 83.39 kB / 1.24 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of SimCode: time 3.8e-07/0.2888, allocations: 0 / 1.24 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.315, allocations: 8.874 MB / 1.248 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.605/7.92, allocations: 10.58 kB / 1.248 GB, free: 1.129 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 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