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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 107.1 kB / 16.4 MB, free: 6.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 187.7 kB / 19.35 MB, free: 3.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.131/3.131, allocations: 489 MB / 0.7678 GB, free: 29.02 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 71.89 kB / 1.101 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8708/0.8727, allocations: 163.8 MB / 1.261 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003375/0.8762, allocations: 1.904 MB / 1.263 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.8773, allocations: 0.6391 MB / 1.263 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.134e-05/0.8774, allocations: 4 kB / 1.263 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.8777, allocations: 63.67 kB / 1.264 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.878, allocations: 63.58 kB / 1.264 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.8782, allocations: 67.84 kB / 1.264 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007336/0.8789, allocations: 0.6941 MB / 1.264 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.879, allocations: 41.08 kB / 1.264 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000283/0.8793, allocations: 235.5 kB / 1.265 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000417/0.8798, allocations: 267.5 kB / 1.265 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.318e-05/0.8799, allocations: 48 kB / 1.265 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.219e-05/0.88, allocations: 48 kB / 1.265 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.8802, allocations: 191.5 kB / 1.265 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.8805, allocations: 211.3 kB / 1.265 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005348/0.881, allocations: 0.5012 MB / 1.266 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.881, allocations: 0 / 1.266 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.881, allocations: 0 / 1.266 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.881, allocations: 3.938 kB / 1.266 GB, free: 2.141 MB / 0.9669 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.002048/0.8831, allocations: 0.7714 MB / 1.267 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.8831, allocations: 8.031 kB / 1.267 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.23e-05/0.8832, allocations: 46.73 kB / 1.267 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.307e-05/0.8833, allocations: 36.8 kB / 1.267 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.8838, allocations: 316.2 kB / 1.267 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.8838, allocations: 24.17 kB / 1.267 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.41e-05/0.8839, allocations: 32 kB / 1.267 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.8842, allocations: 172.6 kB / 1.267 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.8842, allocations: 0 / 1.267 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.8842, allocations: 4 kB / 1.267 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.8843, allocations: 4 kB / 1.267 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.8845, allocations: 148.6 kB / 1.267 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004261/0.8888, allocations: 1.304 MB / 1.269 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.8902, allocations: 464.1 kB / 1.269 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.8904, allocations: 114.5 kB / 1.269 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.8904, allocations: 8 kB / 1.269 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.8905, allocations: 34.55 kB / 1.269 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.8905, allocations: 0 / 1.269 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0006886/0.8912, allocations: 353.6 kB / 1.27 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.8912, allocations: 55.41 kB / 1.27 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.8915, allocations: 290.5 kB / 1.27 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.8916, allocations: 41.64 kB / 1.27 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.8917, allocations: 141 kB / 1.27 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.906e-05/0.8918, allocations: 83.31 kB / 1.27 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.892, allocations: 114.2 kB / 1.27 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.8922, allocations: 338.8 kB / 1.271 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004756/0.8927, allocations: 273 kB / 1.271 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005649/0.8932, allocations: 316.6 kB / 1.271 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007462/0.894, allocations: 454.5 kB / 1.272 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.894, allocations: 0 / 1.272 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001336/0.8953, allocations: 0.6862 MB / 1.272 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.8954, allocations: 7.984 kB / 1.272 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.8954, allocations: 3.938 kB / 1.272 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.8954, allocations: 4 kB / 1.272 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/0.8962, allocations: 119.8 kB / 1.272 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.8962, allocations: 7.984 kB / 1.272 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.8974, allocations: 95.47 kB / 1.272 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/0.8975, allocations: 23.98 kB / 1.272 GB, free: 11.08 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.0001777/0.8977, allocations: 161.7 kB / 1.273 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.8977, allocations: 23.8 kB / 1.273 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.304e-05/0.8978, allocations: 26.19 kB / 1.273 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.8978, allocations: 7.938 kB / 1.273 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8978, allocations: 0 / 1.273 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.8978, allocations: 4 kB / 1.273 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.8983, allocations: 433 kB / 1.273 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.8983, allocations: 0 / 1.273 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.8986, allocations: 39.91 kB / 1.273 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.8986, allocations: 4 kB / 1.273 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.8986, allocations: 8 kB / 1.273 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.8986, allocations: 0 / 1.273 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8986, allocations: 0 / 1.273 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006802/0.8993, allocations: 0.4893 MB / 1.274 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.8994, allocations: 104.9 kB / 1.274 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.8995, allocations: 8 kB / 1.274 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005694/0.9001, allocations: 27.89 kB / 1.274 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.9001, allocations: 11.98 kB / 1.274 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.9001, allocations: 15.94 kB / 1.274 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001869/0.9003, allocations: 186 kB / 1.274 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9003, allocations: 0 / 1.274 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005326/0.9009, allocations: 200 kB / 1.274 GB, free: 9.258 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.001049/0.9019, allocations: 1.031 MB / 1.275 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008075/0.9027, allocations: 463 kB / 1.276 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9028, allocations: 0 / 1.276 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.903, allocations: 111.9 kB / 1.276 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.9034, allocations: 66.88 kB / 1.276 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006024/0.9095, allocations: 4.341 MB / 1.28 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.9099, allocations: 0.7675 MB / 1.281 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002611/0.9102, allocations: 82.22 kB / 1.281 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.9104, allocations: 87.39 kB / 1.281 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of SimCode: time 8.02e-07/0.9104, allocations: 0 / 1.281 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/0.9438, allocations: 8.872 MB / 1.29 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.519/9.463, allocations: 9 kB / 1.29 GB, free: 9.48 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder_fmu --startTime=0 --stopTime=36000 --stepSize=14.4 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.498590632108971]