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.001319/0.001319, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001527/0.001527, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.261/3.261, allocations: 0.49 GB / 0.7959 GB, free: 33.38 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="cs",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.001983/0.001983, allocations: 63.59 kB / 1.155 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3863, allocations: 176.1 MB / 1.327 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003905/0.3902, allocations: 1.949 MB / 1.329 GB, free: 48 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3915, allocations: 0.7052 MB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.395e-05/0.3915, allocations: 4 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.3918, allocations: 59.67 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.3921, allocations: 71.52 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.3923, allocations: 71.89 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008463/0.3932, allocations: 0.7019 MB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.3933, allocations: 29.5 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005164/0.3938, allocations: 235.6 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004862/0.3943, allocations: 279.3 kB / 1.331 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.694e-05/0.3944, allocations: 48 kB / 1.331 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.3945, allocations: 48 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.3948, allocations: 191.5 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.395, allocations: 203.3 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005816/0.3956, allocations: 0.5063 MB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3956, allocations: 0 / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3956, allocations: 4 kB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.3956, allocations: 3.938 kB / 1.332 GB, free: 12.9 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.002276/0.3979, allocations: 0.6999 MB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.326e-05/0.3979, allocations: 8.031 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.181e-05/0.398, allocations: 4.375 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.599e-05/0.398, allocations: 46.73 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/0.4003, allocations: 236.5 kB / 1.333 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/0.4009, allocations: 253.6 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.401, allocations: 20.23 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.986e-05/0.4011, allocations: 35.95 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.4015, allocations: 175.4 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4015, allocations: 4 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.4015, allocations: 4 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.4015, allocations: 4 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.4018, allocations: 140.6 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004489/0.4063, allocations: 1.272 MB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.4077, allocations: 462.2 kB / 1.335 GB, free: 9.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.4078, allocations: 104.8 kB / 1.335 GB, free: 9.324 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.4079, allocations: 0 / 1.335 GB, free: 9.324 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.4079, allocations: 50.42 kB / 1.335 GB, free: 9.266 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.452e-06/0.4079, allocations: 0 / 1.335 GB, free: 9.266 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0007064/0.4086, allocations: 343.4 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.4086, allocations: 59.34 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.409, allocations: 297.7 kB / 1.336 GB, free: 8.555 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/0.409, allocations: 33.7 kB / 1.336 GB, free: 8.516 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.4092, allocations: 137 kB / 1.336 GB, free: 8.379 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.603e-05/0.4093, allocations: 75.38 kB / 1.336 GB, free: 8.305 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.4095, allocations: 118.2 kB / 1.336 GB, free: 8.184 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4096, allocations: 342.8 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/0.4101, allocations: 268.8 kB / 1.337 GB, free: 7.574 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000544/0.4107, allocations: 331.8 kB / 1.337 GB, free: 7.242 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007414/0.4114, allocations: 445.6 kB / 1.337 GB, free: 6.805 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4114, allocations: 4 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001227/0.4126, allocations: 0.6808 MB / 1.338 GB, free: 6.113 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.4127, allocations: 8 kB / 1.338 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.4127, allocations: 3.984 kB / 1.338 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.4127, allocations: 4.031 kB / 1.338 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007803/0.4135, allocations: 127.8 kB / 1.338 GB, free: 5.973 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.4135, allocations: 3.984 kB / 1.338 GB, free: 5.969 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.4146, allocations: 79.47 kB / 1.338 GB, free: 5.891 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/0.4147, allocations: 19.98 kB / 1.338 GB, free: 5.871 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.0002059/0.4149, allocations: 158.3 kB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.166e-05/0.415, allocations: 23.8 kB / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.979e-05/0.415, allocations: 26.12 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.415, allocations: 4 kB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.415, allocations: 4 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.415, allocations: 3.984 kB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005159/0.4156, allocations: 404 kB / 1.339 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4156, allocations: 0 / 1.339 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.4158, allocations: 43.91 kB / 1.339 GB, free: 5.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4158, allocations: 0 / 1.339 GB, free: 5.164 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.4159, allocations: 8 kB / 1.339 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4159, allocations: 0 / 1.339 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4159, allocations: 0 / 1.339 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007495/0.4166, allocations: 0.4927 MB / 1.339 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.4167, allocations: 31.8 kB / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/0.4167, allocations: 8 kB / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000526/0.4173, allocations: 11.98 kB / 1.339 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.4173, allocations: 15.95 kB / 1.339 GB, free: 4.582 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.4173, allocations: 4 kB / 1.339 GB, free: 4.578 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002074/0.4175, allocations: 193.2 kB / 1.34 GB, free: 4.387 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4175, allocations: 4 kB / 1.34 GB, free: 4.383 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005906/0.4181, allocations: 203.9 kB / 1.34 GB, free: 4.184 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.001136/0.4193, allocations: 1.03 MB / 1.341 GB, free: 3.129 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008614/0.4201, allocations: 434.6 kB / 1.341 GB, free: 2.707 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4201, allocations: 4 kB / 1.341 GB, free: 2.703 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.4203, allocations: 113.6 kB / 1.341 GB, free: 2.594 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.4209, allocations: 56.61 kB / 1.341 GB, free: 2.539 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006233/0.4271, allocations: 4.328 MB / 1.346 GB, free: 14.13 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.4276, allocations: 0.7712 MB / 1.346 GB, free: 13.33 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002515/0.4278, allocations: 90.2 kB / 1.346 GB, free: 13.25 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.428, allocations: 87.39 kB / 1.347 GB, free: 13.16 MB / 1.045 GB Notification: Performance of SimCode: time 8.02e-07/0.428, allocations: 0 / 1.347 GB, free: 13.16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/0.4658, allocations: 9.197 MB / 1.356 GB, free: 4.164 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.69, allocations: 8.766 kB / 1.356 GB, free: 4.16 MB / 1.045 GB " [Timeout remaining time 287] (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.63530786096817]