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.001542/0.001542, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001985/0.001985, allocations: 210.9 kB / 22.24 MB, free: 5.262 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.785 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.002/3.002, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.001926/0.001926, allocations: 69.36 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3103, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003307/0.3136, allocations: 1.877 MB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3149, allocations: 0.6431 MB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.315, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.3152, allocations: 55.69 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.3155, allocations: 75.52 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.3157, allocations: 71.88 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007311/0.3165, allocations: 0.7057 MB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3166, allocations: 25.52 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004426/0.317, allocations: 239.6 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004707/0.3175, allocations: 263.3 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.3176, allocations: 48 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.3177, allocations: 55.98 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.318, allocations: 175.6 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.3182, allocations: 187.4 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.3187, allocations: 0.5024 MB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3188, allocations: 4 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3188, allocations: 0 / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3188, allocations: 0 / 1.368 GB, free: 9.195 MB / 1.061 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.001895/0.3207, allocations: 0.6961 MB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3207, allocations: 12.03 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.464e-05/0.3208, allocations: 50.67 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.3228, allocations: 236.5 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/0.3233, allocations: 250 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.3233, allocations: 28.17 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.3234, allocations: 28 kB / 1.369 GB, free: 7.844 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.3237, allocations: 183.4 kB / 1.37 GB, free: 7.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3237, allocations: 0 / 1.37 GB, free: 7.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3238, allocations: 0 / 1.37 GB, free: 7.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3238, allocations: 4 kB / 1.37 GB, free: 7.656 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.324, allocations: 148.6 kB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/0.328, allocations: 1.042 MB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.3293, allocations: 450.2 kB / 1.371 GB, free: 5.977 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.3295, allocations: 106.2 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.3295, allocations: 7.984 kB / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3296, allocations: 34.56 kB / 1.371 GB, free: 5.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.3296, allocations: 4 kB / 1.371 GB, free: 5.816 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0007087/0.3303, allocations: 359.6 kB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.3303, allocations: 55.34 kB / 1.372 GB, free: 5.395 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.3306, allocations: 293.7 kB / 1.372 GB, free: 5.094 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.3307, allocations: 33.7 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3308, allocations: 137 kB / 1.372 GB, free: 4.918 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.475e-05/0.3309, allocations: 79.36 kB / 1.372 GB, free: 4.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.331, allocations: 118.2 kB / 1.372 GB, free: 4.719 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3312, allocations: 342.8 kB / 1.373 GB, free: 4.375 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.3316, allocations: 268.8 kB / 1.373 GB, free: 4.113 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.3322, allocations: 379.3 kB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000684/0.3328, allocations: 441.6 kB / 1.374 GB, free: 3.289 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3329, allocations: 0 / 1.374 GB, free: 3.289 MB / 1.061 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001191/0.334, allocations: 0.6886 MB / 1.374 GB, free: 2.594 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3341, allocations: 8 kB / 1.374 GB, free: 2.586 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3341, allocations: 0 / 1.374 GB, free: 2.586 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3341, allocations: 0 / 1.374 GB, free: 2.586 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007019/0.3348, allocations: 131.8 kB / 1.375 GB, free: 2.457 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3348, allocations: 8.031 kB / 1.375 GB, free: 2.449 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.3358, allocations: 75.52 kB / 1.375 GB, free: 2.375 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/0.3359, allocations: 19.98 kB / 1.375 GB, free: 2.355 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.0001658/0.3361, allocations: 158.8 kB / 1.375 GB, free: 2.191 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.3361, allocations: 31.75 kB / 1.375 GB, free: 2.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.028e-05/0.3362, allocations: 22.12 kB / 1.375 GB, free: 2.137 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3362, allocations: 4 kB / 1.375 GB, free: 2.133 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3362, allocations: 0 / 1.375 GB, free: 2.133 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3362, allocations: 3.984 kB / 1.375 GB, free: 2.129 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.3366, allocations: 268.5 kB / 1.375 GB, free: 1.824 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3366, allocations: 4 kB / 1.375 GB, free: 1.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.3368, allocations: 47.84 kB / 1.375 GB, free: 1.773 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3368, allocations: 0 / 1.375 GB, free: 1.773 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.3368, allocations: 11.98 kB / 1.375 GB, free: 1.762 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3368, allocations: 0 / 1.375 GB, free: 1.762 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3368, allocations: 0 / 1.375 GB, free: 1.762 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006603/0.3375, allocations: 491 kB / 1.376 GB, free: 1.266 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.3375, allocations: 27.84 kB / 1.376 GB, free: 1.238 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.3376, allocations: 11.94 kB / 1.376 GB, free: 1.227 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004761/0.3381, allocations: 27.91 kB / 1.376 GB, free: 1.199 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.3381, allocations: 15.91 kB / 1.376 GB, free: 1.184 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.3381, allocations: 4 kB / 1.376 GB, free: 1.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001771/0.3383, allocations: 193.2 kB / 1.376 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3383, allocations: 0 / 1.376 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005114/0.3388, allocations: 203.9 kB / 1.376 GB, free: 0.793 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.0009373/0.3397, allocations: 1.023 MB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007294/0.3405, allocations: 430.7 kB / 1.377 GB, free: 15.33 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3405, allocations: 0 / 1.377 GB, free: 15.33 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.3406, allocations: 115.9 kB / 1.378 GB, free: 15.21 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.3411, allocations: 56.77 kB / 1.378 GB, free: 15.16 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00556/0.3467, allocations: 4.331 MB / 1.382 GB, free: 10.74 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.3468, allocations: 165 kB / 1.382 GB, free: 10.57 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002309/0.347, allocations: 86.2 kB / 1.382 GB, free: 10.48 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.3472, allocations: 91.39 kB / 1.382 GB, free: 10.39 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/0.3473, allocations: 0 / 1.382 GB, free: 10.39 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0412/0.3885, allocations: 10.24 MB / 1.392 GB, free: 384 kB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.09, allocations: 9.906 kB / 1.392 GB, free: 376 kB / 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: 17.3422358520329]