Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001722/0.001722, allocations: 99.75 kB / 18.94 MB, free: 2.828 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.0022/0.0022, allocations: 215.7 kB / 22.25 MB, free: 5.105 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.16/3.16, allocations: 0.49 GB / 0.7951 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_12_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.002083/0.002083, allocations: 68.8 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3774, allocations: 176.1 MB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003472/0.3808, allocations: 1.882 MB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.3822, allocations: 0.6509 MB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.3823, allocations: 11.88 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.3826, allocations: 59.67 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.3829, allocations: 71.58 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.3831, allocations: 79.83 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007784/0.3839, allocations: 0.698 MB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.384, allocations: 21.52 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003753/0.3844, allocations: 247.5 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000454/0.3848, allocations: 275.4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.387e-05/0.3849, allocations: 48 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.385, allocations: 52 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.3853, allocations: 187.5 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.3855, allocations: 191.4 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005841/0.3861, allocations: 0.4985 MB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3861, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3861, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3861, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 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.00215/0.3882, allocations: 0.6999 MB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3883, allocations: 8.031 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.373e-05/0.3884, allocations: 46.73 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.3907, allocations: 240.5 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/0.3912, allocations: 258 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.3912, allocations: 24.17 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.755e-05/0.3913, allocations: 31.95 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.3917, allocations: 176.1 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3917, allocations: 0 / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.3917, allocations: 8 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.3917, allocations: 3.938 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.392, allocations: 141.3 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004283/0.3963, allocations: 1.035 MB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.3977, allocations: 462.1 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.3979, allocations: 110 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.398, allocations: 0 / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.398, allocations: 34.56 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.398, allocations: 0 / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0008015/0.3988, allocations: 358.9 kB / 1.334 GB, free: 8.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.3988, allocations: 55.41 kB / 1.334 GB, free: 8.773 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.3991, allocations: 289.7 kB / 1.334 GB, free: 8.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.05e-05/0.3992, allocations: 41.7 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.3993, allocations: 133 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.3995, allocations: 75.38 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.3997, allocations: 118.1 kB / 1.335 GB, free: 8.105 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.3999, allocations: 346.8 kB / 1.335 GB, free: 7.758 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/0.4004, allocations: 272.8 kB / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005547/0.4009, allocations: 367.3 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000735/0.4016, allocations: 449.6 kB / 1.336 GB, free: 6.668 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4016, allocations: 3.938 kB / 1.336 GB, free: 6.664 MB / 1.029 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001262/0.4029, allocations: 0.6886 MB / 1.337 GB, free: 5.973 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4029, allocations: 4 kB / 1.337 GB, free: 5.969 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4029, allocations: 0 / 1.337 GB, free: 5.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.403, allocations: 4 kB / 1.337 GB, free: 5.965 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008145/0.4038, allocations: 127.8 kB / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.4038, allocations: 0 / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.405, allocations: 83.45 kB / 1.337 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.4051, allocations: 19.98 kB / 1.337 GB, free: 5.738 MB / 1.029 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.0002315/0.4053, allocations: 164 kB / 1.337 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.4054, allocations: 27.8 kB / 1.337 GB, free: 5.543 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.402e-05/0.4054, allocations: 26.12 kB / 1.337 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4054, allocations: 0 / 1.337 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4054, allocations: 0 / 1.337 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.4055, allocations: 4 kB / 1.337 GB, free: 5.512 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.4059, allocations: 276.5 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4059, allocations: 0 / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.4061, allocations: 43.84 kB / 1.338 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4061, allocations: 4 kB / 1.338 GB, free: 5.152 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.4062, allocations: 12 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4062, allocations: 4 kB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4062, allocations: 0 / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008323/0.407, allocations: 492.9 kB / 1.338 GB, free: 4.641 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-05/0.4071, allocations: 31.8 kB / 1.338 GB, free: 4.609 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.4071, allocations: 8 kB / 1.338 GB, free: 4.602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005071/0.4076, allocations: 11.98 kB / 1.338 GB, free: 4.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.4077, allocations: 11.97 kB / 1.338 GB, free: 4.578 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.4077, allocations: 8 kB / 1.338 GB, free: 4.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002199/0.4079, allocations: 189.2 kB / 1.338 GB, free: 4.383 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4079, allocations: 0 / 1.338 GB, free: 4.383 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006145/0.4086, allocations: 207.9 kB / 1.339 GB, free: 4.18 MB / 1.029 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.00127/0.4098, allocations: 1.024 MB / 1.34 GB, free: 3.129 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008907/0.4107, allocations: 444.3 kB / 1.34 GB, free: 2.699 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4107, allocations: 0 / 1.34 GB, free: 2.699 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.4109, allocations: 115.9 kB / 1.34 GB, free: 2.586 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.4115, allocations: 50.5 kB / 1.34 GB, free: 2.539 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006862/0.4183, allocations: 4.339 MB / 1.344 GB, free: 14.11 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.4186, allocations: 165.3 kB / 1.345 GB, free: 13.93 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003141/0.4189, allocations: 90.2 kB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.4191, allocations: 83.39 kB / 1.345 GB, free: 13.76 MB / 1.045 GB Notification: Performance of SimCode: time 2.574e-06/0.4191, allocations: 4 kB / 1.345 GB, free: 13.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04321/0.4623, allocations: 10.31 MB / 1.355 GB, free: 3.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.23, allocations: 4 kB / 1.355 GB, free: 3.656 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder_fmu --startTime=0 --stopTime=36000 --stepSize=14.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.06093612400582]