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.001444/0.001444, 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.001779/0.001779, allocations: 210.5 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.329/1.329, allocations: 230.6 MB / 256 MB, free: 7.781 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.944/2.944, 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.001938/0.001938, allocations: 73.64 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2912, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.002894/0.2941, allocations: 1.869 MB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.2952, allocations: 0.6431 MB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.911e-05/0.2953, allocations: 3.938 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.2955, allocations: 51.7 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.2958, allocations: 83.5 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.296, allocations: 71.89 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00068/0.2966, allocations: 0.7057 MB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2967, allocations: 25.52 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.2971, allocations: 235.6 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004042/0.2975, allocations: 263.3 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.438e-05/0.2975, allocations: 52 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.2977, allocations: 52 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.2979, allocations: 175.6 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.2981, allocations: 195.4 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004981/0.2986, allocations: 0.4985 MB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2986, allocations: 0 / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2986, allocations: 0 / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2986, allocations: 0 / 1.368 GB, free: 9.191 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.001883/0.3005, allocations: 0.6961 MB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3005, allocations: 12.03 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.454e-05/0.3006, allocations: 46.73 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/0.3026, allocations: 244.5 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.3031, allocations: 246 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.3032, allocations: 32.17 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.346e-05/0.3033, allocations: 28 kB / 1.369 GB, free: 7.836 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.3036, allocations: 183.4 kB / 1.37 GB, free: 7.652 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3036, allocations: 0 / 1.37 GB, free: 7.652 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.3036, allocations: 4 kB / 1.37 GB, free: 7.648 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3036, allocations: 4 kB / 1.37 GB, free: 7.645 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.3039, allocations: 140.6 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004039/0.3079, allocations: 1.035 MB / 1.371 GB, free: 6.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.3093, allocations: 465 kB / 1.371 GB, free: 5.969 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.3095, allocations: 104.8 kB / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.3095, allocations: 4 kB / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.3095, allocations: 34.56 kB / 1.371 GB, free: 5.816 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.243e-06/0.3095, allocations: 0 / 1.371 GB, free: 5.816 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0006631/0.3102, allocations: 359 kB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.3102, allocations: 55.41 kB / 1.372 GB, free: 5.395 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.3105, allocations: 293.7 kB / 1.372 GB, free: 5.094 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/0.3105, allocations: 37.7 kB / 1.372 GB, free: 5.051 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.3107, allocations: 141 kB / 1.372 GB, free: 4.91 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.747e-05/0.3107, allocations: 79.38 kB / 1.372 GB, free: 4.832 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.3109, allocations: 118.1 kB / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3111, allocations: 342.8 kB / 1.373 GB, free: 4.367 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004617/0.3115, allocations: 268.8 kB / 1.373 GB, free: 4.105 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.3121, allocations: 375.3 kB / 1.373 GB, free: 3.715 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000711/0.3128, allocations: 441.6 kB / 1.374 GB, free: 3.285 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3128, allocations: 0 / 1.374 GB, free: 3.285 MB / 1.061 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001195/0.314, allocations: 0.6925 MB / 1.374 GB, free: 2.586 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.314, allocations: 8 kB / 1.374 GB, free: 2.578 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.314, allocations: 0 / 1.374 GB, free: 2.578 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.314, allocations: 0 / 1.374 GB, free: 2.578 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007074/0.3147, allocations: 127.8 kB / 1.375 GB, free: 2.453 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.3148, allocations: 7.938 kB / 1.375 GB, free: 2.445 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.3158, allocations: 71.52 kB / 1.375 GB, free: 2.375 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/0.3159, 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.0001664/0.316, allocations: 158.4 kB / 1.375 GB, free: 2.191 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.3161, allocations: 31.75 kB / 1.375 GB, free: 2.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.3161, allocations: 30.11 kB / 1.375 GB, free: 2.129 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3161, allocations: 4 kB / 1.375 GB, free: 2.125 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3162, allocations: 0 / 1.375 GB, free: 2.125 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3162, allocations: 0 / 1.375 GB, free: 2.125 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.3165, allocations: 272.5 kB / 1.375 GB, free: 1.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3165, allocations: 0 / 1.375 GB, free: 1.816 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.3167, allocations: 47.84 kB / 1.375 GB, free: 1.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3168, allocations: 0 / 1.375 GB, free: 1.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.3168, allocations: 11.98 kB / 1.375 GB, free: 1.758 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3168, allocations: 3.984 kB / 1.375 GB, free: 1.754 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3168, allocations: 8 kB / 1.375 GB, free: 1.746 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006605/0.3174, allocations: 493.2 kB / 1.376 GB, free: 1.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.3175, allocations: 31.78 kB / 1.376 GB, free: 1.219 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.3175, allocations: 11.98 kB / 1.376 GB, free: 1.207 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/0.318, allocations: 15.98 kB / 1.376 GB, free: 1.191 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.3181, allocations: 7.984 kB / 1.376 GB, free: 1.184 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.3181, allocations: 7.938 kB / 1.376 GB, free: 1.176 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001828/0.3183, allocations: 193.2 kB / 1.376 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3183, allocations: 0 / 1.376 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005103/0.3188, allocations: 207.9 kB / 1.376 GB, free: 0.7852 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.0009526/0.3197, allocations: 1.028 MB / 1.377 GB, free: 15.73 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007302/0.3204, allocations: 425.3 kB / 1.377 GB, free: 15.32 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3204, allocations: 0 / 1.377 GB, free: 15.32 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.3206, 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.0004365/0.3211, allocations: 48.47 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.005604/0.3267, allocations: 4.329 MB / 1.382 GB, free: 10.74 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.3268, allocations: 157.2 kB / 1.382 GB, free: 10.57 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002157/0.327, allocations: 90.2 kB / 1.382 GB, free: 10.48 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.3272, allocations: 91.39 kB / 1.382 GB, free: 10.39 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.3272, allocations: 0 / 1.382 GB, free: 10.39 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03781/0.365, allocations: 10.25 MB / 1.392 GB, free: 380 kB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.88, allocations: 1.562 kB / 1.392 GB, free: 380 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 & /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/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: 16.89802890503779]