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.001255/0.001255, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00146/0.00146, allocations: 217.3 kB / 22.25 MB, free: 5.078 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.992 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.091/3.091, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.00192/0.00192, allocations: 67.53 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3293, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003375/0.3327, allocations: 1.967 MB / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.3342, allocations: 0.6903 MB / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.3344, allocations: 4 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.3347, allocations: 59.67 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.335, allocations: 71.52 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.3353, allocations: 79.89 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007803/0.336, allocations: 0.7096 MB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3362, allocations: 25.52 kB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004703/0.3366, allocations: 235.6 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005001/0.3371, allocations: 279.3 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.818e-05/0.3372, allocations: 44 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.3374, allocations: 52 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.3376, allocations: 179.6 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003051/0.3379, allocations: 219.2 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005741/0.3385, allocations: 0.4985 MB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3385, allocations: 0 / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3385, allocations: 0 / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.3385, allocations: 0 / 1.358 GB, free: 3.367 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.002173/0.3407, allocations: 0.7038 MB / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3407, allocations: 12.03 kB / 1.358 GB, free: 2.621 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.207e-05/0.3408, allocations: 46.69 kB / 1.359 GB, free: 2.566 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/0.3429, allocations: 232.5 kB / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.3435, allocations: 261.9 kB / 1.359 GB, free: 2.051 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.3435, allocations: 24.17 kB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-05/0.3436, allocations: 28 kB / 1.359 GB, free: 2 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.3439, allocations: 180.6 kB / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3439, allocations: 0 / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.3439, allocations: 4 kB / 1.359 GB, free: 1.816 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.3439, allocations: 4 kB / 1.359 GB, free: 1.812 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.3441, allocations: 148.6 kB / 1.359 GB, free: 1.668 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004082/0.3482, allocations: 1.276 MB / 1.361 GB, free: 344 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.3496, allocations: 450.2 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.3497, allocations: 108.8 kB / 1.361 GB, free: 15.78 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.3498, allocations: 4 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.3498, allocations: 30.56 kB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.372e-06/0.3498, allocations: 0 / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0006605/0.3505, allocations: 367.6 kB / 1.362 GB, free: 15.37 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.3505, allocations: 51.41 kB / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.3508, allocations: 297.7 kB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.3508, allocations: 33.7 kB / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3509, allocations: 133 kB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.397e-05/0.351, allocations: 79.34 kB / 1.362 GB, free: 14.76 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.3512, allocations: 122.1 kB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3513, allocations: 346.8 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.3518, allocations: 264.8 kB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004768/0.3523, allocations: 319.9 kB / 1.363 GB, free: 13.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/0.3529, allocations: 441.6 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3529, allocations: 0 / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001137/0.3541, allocations: 0.6886 MB / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3541, allocations: 4 kB / 1.364 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3541, allocations: 4.031 kB / 1.364 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3541, allocations: 4 kB / 1.364 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007174/0.3548, allocations: 135.8 kB / 1.364 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3548, allocations: 0 / 1.364 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.3559, allocations: 83.44 kB / 1.364 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.3559, allocations: 16 kB / 1.364 GB, free: 12.34 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.00016/0.3561, allocations: 162.3 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.3561, allocations: 23.8 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.919e-05/0.3562, allocations: 38.11 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3562, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3562, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3562, allocations: 4 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.3567, allocations: 404.1 kB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3567, allocations: 0 / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.3569, allocations: 51.78 kB / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3569, allocations: 4 kB / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.3569, allocations: 4 kB / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3569, allocations: 0 / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3569, allocations: 0 / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000652/0.3576, allocations: 492.8 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.3576, allocations: 31.8 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.3577, allocations: 11.98 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/0.3581, allocations: 11.98 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.3582, allocations: 23.89 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.3582, allocations: 4 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001751/0.3584, allocations: 189.2 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3584, allocations: 0 / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005082/0.3589, allocations: 207.9 kB / 1.366 GB, free: 10.64 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.0009012/0.3598, allocations: 1.026 MB / 1.367 GB, free: 9.586 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007192/0.3605, allocations: 430.6 kB / 1.367 GB, free: 9.168 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3605, allocations: 0 / 1.367 GB, free: 9.168 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.3607, allocations: 111.9 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.3611, allocations: 62.31 kB / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005477/0.3666, allocations: 4.325 MB / 1.372 GB, free: 4.594 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.367, allocations: 0.7712 MB / 1.373 GB, free: 3.797 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002165/0.3672, allocations: 90.14 kB / 1.373 GB, free: 3.711 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.3674, allocations: 91.33 kB / 1.373 GB, free: 3.621 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3674, allocations: 0 / 1.373 GB, free: 3.621 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03768/0.4051, allocations: 9.169 MB / 1.382 GB, free: 10.62 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.57, allocations: 8.219 kB / 1.382 GB, free: 10.62 MB / 1.076 GB " [Timeout remaining time 288] (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: 17.96023640409112]