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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 212.9 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.322/1.322, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.876/2.876, allocations: 0.505 GB / 0.8101 GB, free: 22.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 70.97 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2893, allocations: 180.2 MB / 1.353 GB, free: 8.523 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003009/0.2923, allocations: 1.958 MB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.2934, allocations: 0.6904 MB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.2935, allocations: 7.938 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.2938, allocations: 63.66 kB / 1.355 GB, free: 5.789 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.294, allocations: 63.59 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.2942, allocations: 83.81 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000719/0.2949, allocations: 0.7058 MB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.295, allocations: 25.52 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.2953, allocations: 235.6 kB / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004325/0.2958, allocations: 279.4 kB / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.221e-05/0.2958, allocations: 51.94 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.2959, allocations: 48 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.2961, allocations: 179.6 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.2964, allocations: 223.2 kB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005122/0.2969, allocations: 0.4946 MB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2969, allocations: 0 / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2969, allocations: 0 / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2969, allocations: 0 / 1.358 GB, free: 3.422 MB / 1.045 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.001939/0.2988, allocations: 0.7038 MB / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2989, allocations: 8.031 kB / 1.358 GB, free: 2.68 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.592e-05/0.2989, allocations: 42.75 kB / 1.359 GB, free: 2.629 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002108/0.301, allocations: 236.5 kB / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.3015, allocations: 265.9 kB / 1.359 GB, free: 2.105 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.3015, allocations: 20.17 kB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.3016, allocations: 32 kB / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.3019, allocations: 172.6 kB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.3019, allocations: 0 / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.3019, allocations: 8 kB / 1.359 GB, free: 1.875 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.3019, allocations: 0 / 1.359 GB, free: 1.875 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.3022, allocations: 152.5 kB / 1.359 GB, free: 1.727 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/0.3062, allocations: 1.268 MB / 1.361 GB, free: 412 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.3075, allocations: 458.2 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.3077, allocations: 108.8 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.3077, allocations: 4 kB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.3078, allocations: 34.5 kB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.3078, allocations: 0 / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0006525/0.3084, allocations: 359.7 kB / 1.362 GB, free: 15.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.3084, allocations: 59.34 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.3087, allocations: 293.7 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.3088, allocations: 37.7 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3089, allocations: 133 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.865e-05/0.309, allocations: 75.33 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.3091, allocations: 122.1 kB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3093, allocations: 342.8 kB / 1.363 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.3098, allocations: 272.8 kB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.3103, allocations: 315.9 kB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006975/0.311, allocations: 437.7 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.311, allocations: 0 / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001127/0.3121, allocations: 0.6963 MB / 1.364 GB, free: 12.63 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3121, allocations: 4 kB / 1.364 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3121, allocations: 0 / 1.364 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3121, allocations: 8.031 kB / 1.364 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007229/0.3128, allocations: 123.8 kB / 1.364 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3129, allocations: 4 kB / 1.364 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.3139, allocations: 83.44 kB / 1.364 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.3139, allocations: 12 kB / 1.364 GB, free: 12.4 MB / 1.061 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.0001665/0.3141, allocations: 166.3 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.3141, allocations: 23.8 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.607e-05/0.3142, allocations: 30.11 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3142, allocations: 8 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3142, allocations: 0 / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3142, allocations: 0 / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.3147, allocations: 404.1 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3147, allocations: 0 / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.3149, allocations: 47.91 kB / 1.365 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3149, allocations: 0 / 1.365 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.3149, allocations: 8 kB / 1.365 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.3149, allocations: 4 kB / 1.365 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3149, allocations: 3.938 kB / 1.365 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006353/0.3156, allocations: 488.8 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.3156, allocations: 35.8 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.3157, allocations: 11.98 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004651/0.3161, allocations: 11.98 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.3162, allocations: 15.97 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.3162, allocations: 4 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001735/0.3164, allocations: 189.2 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3164, allocations: 3.938 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005122/0.3169, allocations: 207.9 kB / 1.366 GB, free: 10.7 MB / 1.061 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.0009171/0.3178, allocations: 1.022 MB / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007364/0.3185, allocations: 438.6 kB / 1.367 GB, free: 9.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3185, allocations: 0 / 1.367 GB, free: 9.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.3187, allocations: 107.9 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.3192, allocations: 70.47 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005514/0.3247, allocations: 4.33 MB / 1.372 GB, free: 4.652 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.3251, allocations: 0.7712 MB / 1.373 GB, free: 3.855 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002185/0.3253, allocations: 90.2 kB / 1.373 GB, free: 3.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.3255, allocations: 91.33 kB / 1.373 GB, free: 3.68 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.3255, allocations: 0 / 1.373 GB, free: 3.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/0.3636, allocations: 9.162 MB / 1.382 GB, free: 10.69 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.58, allocations: 10.11 kB / 1.382 GB, free: 10.69 MB / 1.076 GB " [Timeout remaining time 289] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "Error: Could not read variable con.T[6] in file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv. Warning: Get data of variable con.T[6] from file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv failed! Error: Could not read variable con.T[7] in file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv. Warning: Get data of variable con.T[7] from file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv failed! Error: Could not read variable con.T[8] in file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv. Warning: Get data of variable con.T[8] from file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.557368982999833]