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.001556/0.001556, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002051/0.002051, allocations: 214.9 kB / 23.04 MB, free: 5.074 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 8 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.339/3.339, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_latest_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.002007/0.002007, allocations: 60.81 kB / 1.17 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.36, allocations: 179 MB / 1.345 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.004196/0.3642, allocations: 1.956 MB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3659, allocations: 0.6859 MB / 1.348 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.58e-05/0.366, allocations: 7.938 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.3663, allocations: 59.67 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.3666, allocations: 75.52 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.3668, allocations: 79.88 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007602/0.3676, allocations: 0.698 MB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3677, allocations: 37.28 kB / 1.349 GB, free: 12.9 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004039/0.3681, allocations: 235.6 kB / 1.349 GB, free: 12.67 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.3686, allocations: 275.4 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.775e-05/0.3687, allocations: 44 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.3688, allocations: 56 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.369, allocations: 187.5 kB / 1.35 GB, free: 12.12 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.3693, allocations: 211.2 kB / 1.35 GB, free: 11.91 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006915/0.37, allocations: 0.4985 MB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.37, allocations: 0 / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.164e-06/0.37, allocations: 3.938 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.37, allocations: 4 kB / 1.35 GB, free: 11.4 MB / 1.045 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.002093/0.3721, allocations: 0.7035 MB / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.3722, allocations: 12.03 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.65e-05/0.3722, allocations: 4.375 kB / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.3722, allocations: 54.73 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/0.3744, allocations: 224.5 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/0.375, allocations: 265.5 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.375, allocations: 16.23 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.999e-05/0.3751, allocations: 28 kB / 1.352 GB, free: 10.04 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.3755, allocations: 175.4 kB / 1.352 GB, free: 9.859 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3755, allocations: 0 / 1.352 GB, free: 9.859 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.3755, allocations: 8 kB / 1.352 GB, free: 9.852 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3755, allocations: 0 / 1.352 GB, free: 9.852 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.3758, allocations: 152.6 kB / 1.352 GB, free: 9.703 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004393/0.3802, allocations: 1.268 MB / 1.353 GB, free: 8.379 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.3816, allocations: 458.2 kB / 1.354 GB, free: 7.922 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.3818, allocations: 108.8 kB / 1.354 GB, free: 7.812 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.3819, allocations: 8 kB / 1.354 GB, free: 7.805 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.3819, allocations: 34.5 kB / 1.354 GB, free: 7.762 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 3.096e-06/0.3819, allocations: 0 / 1.354 GB, free: 7.762 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.0008354/0.3827, allocations: 348.8 kB / 1.354 GB, free: 7.418 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.3828, allocations: 55.41 kB / 1.354 GB, free: 7.352 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.3831, allocations: 293.7 kB / 1.354 GB, free: 7.055 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.029e-05/0.3831, allocations: 41.64 kB / 1.354 GB, free: 7.008 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.3833, allocations: 137 kB / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.3834, allocations: 79.33 kB / 1.355 GB, free: 6.793 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.3836, allocations: 118.2 kB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.3838, allocations: 342.8 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/0.3842, allocations: 268.8 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/0.3847, allocations: 319.9 kB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000722/0.3855, allocations: 441.7 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3855, allocations: 4 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001273/0.3867, allocations: 0.6886 MB / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.3868, allocations: 9.5 kB / 1.357 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.3868, allocations: 3.938 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.3868, allocations: 4 kB / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007545/0.3875, allocations: 127.8 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3876, allocations: 4 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.3887, allocations: 75.52 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.3887, allocations: 19.98 kB / 1.357 GB, free: 4.375 MB / 1.045 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.0001997/0.3889, allocations: 165.7 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/0.389, allocations: 27.73 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.928e-05/0.3891, allocations: 34.11 kB / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3891, allocations: 0 / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3891, allocations: 0 / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3891, allocations: 0 / 1.357 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.3896, allocations: 400 kB / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3896, allocations: 0 / 1.358 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.3898, allocations: 47.97 kB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3898, allocations: 4 kB / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.3898, allocations: 3.984 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3898, allocations: 4 kB / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3898, allocations: 0 / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007117/0.3906, allocations: 487 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.3906, allocations: 35.8 kB / 1.358 GB, free: 3.125 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.3907, allocations: 12 kB / 1.358 GB, free: 3.113 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/0.3912, allocations: 15.97 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.3912, allocations: 11.98 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.3912, allocations: 4 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001913/0.3914, allocations: 189.2 kB / 1.358 GB, free: 2.895 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3914, allocations: 0 / 1.358 GB, free: 2.895 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005986/0.392, allocations: 207.9 kB / 1.358 GB, free: 2.691 MB / 1.045 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.001041/0.3931, allocations: 1.026 MB / 1.359 GB, free: 1.641 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008272/0.3939, allocations: 432.6 kB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3939, allocations: 0 / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.3941, allocations: 115.8 kB / 1.36 GB, free: 1.109 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.3946, allocations: 64.77 kB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006438/0.401, allocations: 4.341 MB / 1.364 GB, free: 12.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.4015, allocations: 0.7714 MB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003147/0.4018, allocations: 90.2 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.402, allocations: 91.39 kB / 1.365 GB, free: 11.64 MB / 1.061 GB Notification: Performance of SimCode: time 9.22e-07/0.402, allocations: 0 / 1.365 GB, free: 11.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04308/0.4451, allocations: 9.186 MB / 1.374 GB, free: 2.652 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.52, allocations: 6.562 kB / 1.374 GB, free: 2.648 MB / 1.061 GB " [Timeout remaining time 287] (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: 19.62121622497216]