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.001668/0.001668, allocations: 103 kB / 16.45 MB, free: 6.449 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.002092/0.002092, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.452/1.452, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] 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 3.192/3.192, allocations: 0.505 GB / 0.8066 GB, free: 23.22 MB / 0.6231 GB " [Timeout remaining time 176] 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.001974/0.001974, allocations: 72.14 kB / 1.172 GB, free: 17.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3344, allocations: 180.2 MB / 1.348 GB, free: 10.05 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003202/0.3376, allocations: 1.925 MB / 1.35 GB, free: 8.109 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3388, allocations: 0.6981 MB / 1.35 GB, free: 7.41 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.992e-05/0.3388, allocations: 3.938 kB / 1.35 GB, free: 7.406 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.3391, allocations: 59.67 kB / 1.35 GB, free: 7.348 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.3393, allocations: 75.52 kB / 1.35 GB, free: 7.273 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.3395, allocations: 71.89 kB / 1.35 GB, free: 7.203 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007582/0.3403, allocations: 0.6979 MB / 1.351 GB, free: 6.504 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.3404, allocations: 21.39 kB / 1.351 GB, free: 6.48 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.3408, allocations: 235.6 kB / 1.351 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/0.3412, allocations: 275.3 kB / 1.352 GB, free: 5.98 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.515e-05/0.3413, allocations: 48 kB / 1.352 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.3414, allocations: 48 kB / 1.352 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.3416, allocations: 191.6 kB / 1.352 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.3418, allocations: 211.2 kB / 1.352 GB, free: 5.492 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005406/0.3424, allocations: 0.5024 MB / 1.353 GB, free: 4.988 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3424, allocations: 0 / 1.353 GB, free: 4.988 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3424, allocations: 0 / 1.353 GB, free: 4.988 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.3424, allocations: 0 / 1.353 GB, free: 4.988 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.002005/0.3444, allocations: 0.7791 MB / 1.353 GB, free: 4.16 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3444, allocations: 11.98 kB / 1.353 GB, free: 4.148 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.617e-05/0.3445, allocations: 50.73 kB / 1.353 GB, free: 4.09 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/0.3466, allocations: 232.5 kB / 1.354 GB, free: 3.863 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.3471, allocations: 316.2 kB / 1.354 GB, free: 3.512 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.3471, allocations: 24.17 kB / 1.354 GB, free: 3.488 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.3472, allocations: 32 kB / 1.354 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.3475, allocations: 175.4 kB / 1.354 GB, free: 3.281 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3475, allocations: 4 kB / 1.354 GB, free: 3.277 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.3476, allocations: 4 kB / 1.354 GB, free: 3.273 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.3476, allocations: 4 kB / 1.354 GB, free: 3.27 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.3478, allocations: 140.6 kB / 1.354 GB, free: 3.133 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004291/0.3521, allocations: 1.308 MB / 1.356 GB, free: 1.762 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.3535, allocations: 458.2 kB / 1.356 GB, free: 1.305 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.3537, allocations: 108.8 kB / 1.356 GB, free: 1.195 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3537, allocations: 4 kB / 1.356 GB, free: 1.191 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.3537, allocations: 30.56 kB / 1.356 GB, free: 1.152 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 1.863e-06/0.3537, allocations: 0 / 1.356 GB, free: 1.152 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.0006943/0.3544, allocations: 359.1 kB / 1.357 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.3544, allocations: 59.34 kB / 1.357 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.3547, allocations: 290.5 kB / 1.357 GB, free: 440 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.3548, allocations: 37.7 kB / 1.357 GB, free: 396 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.3549, allocations: 137 kB / 1.357 GB, free: 256 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.353e-05/0.355, allocations: 79.33 kB / 1.357 GB, free: 176 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.3552, allocations: 114.2 kB / 1.357 GB, free: 56 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002272/0.3554, allocations: 342.8 kB / 1.358 GB, free: 15.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.3559, allocations: 273 kB / 1.358 GB, free: 15.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/0.3564, allocations: 320.6 kB / 1.358 GB, free: 15.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000686/0.3571, allocations: 438.7 kB / 1.359 GB, free: 14.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3571, allocations: 3.938 kB / 1.359 GB, free: 14.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00117/0.3583, allocations: 0.694 MB / 1.359 GB, free: 13.99 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3583, allocations: 14 kB / 1.359 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3583, allocations: 0 / 1.359 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3583, allocations: 4 kB / 1.359 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/0.359, allocations: 123.8 kB / 1.359 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.359, allocations: 4 kB / 1.359 GB, free: 13.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.3601, allocations: 79.45 kB / 1.359 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.3602, allocations: 15.98 kB / 1.359 GB, free: 13.76 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.0001754/0.3604, allocations: 157.8 kB / 1.36 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.3604, allocations: 27.8 kB / 1.36 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.858e-05/0.3605, allocations: 26.19 kB / 1.36 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3605, allocations: 4 kB / 1.36 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3605, allocations: 3.984 kB / 1.36 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3605, allocations: 0 / 1.36 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.361, allocations: 433 kB / 1.36 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.361, allocations: 0 / 1.36 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.3612, allocations: 47.84 kB / 1.36 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3612, allocations: 0 / 1.36 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.3612, allocations: 11.98 kB / 1.36 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3612, allocations: 0 / 1.36 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3612, allocations: 4 kB / 1.36 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006561/0.3619, allocations: 496.9 kB / 1.361 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.697e-05/0.362, allocations: 108.9 kB / 1.361 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.958e-05/0.362, allocations: 8 kB / 1.361 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/0.3625, allocations: 19.97 kB / 1.361 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.3626, allocations: 11.98 kB / 1.361 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.3626, allocations: 4 kB / 1.361 GB, free: 12.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001759/0.3628, allocations: 197.9 kB / 1.361 GB, free: 12.13 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3628, allocations: 0 / 1.361 GB, free: 12.13 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005378/0.3633, allocations: 200 kB / 1.361 GB, free: 11.94 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.0009709/0.3643, allocations: 1.032 MB / 1.362 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007533/0.365, allocations: 432.5 kB / 1.363 GB, free: 10.46 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.365, allocations: 0 / 1.363 GB, free: 10.46 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.3652, allocations: 115.8 kB / 1.363 GB, free: 10.35 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.3657, allocations: 52.52 kB / 1.363 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005773/0.3714, allocations: 4.333 MB / 1.367 GB, free: 5.879 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.3718, allocations: 0.7712 MB / 1.368 GB, free: 5.082 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000215/0.3721, allocations: 86.2 kB / 1.368 GB, free: 5 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.3723, allocations: 87.39 kB / 1.368 GB, free: 4.914 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.3723, allocations: 0 / 1.368 GB, free: 4.914 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/0.4084, allocations: 8.936 MB / 1.377 GB, free: 12.14 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/8.686, allocations: 11.98 kB / 1.377 GB, free: 12.12 MB / 1.076 GB " [Timeout remaining time 291] (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: 15.387518811039627]