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.00149/0.00149, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001627/0.001627, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.45/1.45, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.921/2.921, allocations: 0.5003 GB / 0.8026 GB, free: 6.906 MB / 0.6387 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.002/0.002, allocations: 59.91 kB / 1.165 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9314/0.9334, allocations: 179 MB / 1.34 GB, free: 16.31 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.002419/0.9358, allocations: 1.941 MB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008821/0.9367, allocations: 0.6969 MB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.33e-05/0.9368, allocations: 6.312 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.937, allocations: 54.12 kB / 1.343 GB, free: 14.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.9372, allocations: 75.58 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.9374, allocations: 68.92 kB / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005284/0.9379, allocations: 0.693 MB / 1.344 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.866e-05/0.938, allocations: 27.67 kB / 1.344 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.9383, allocations: 242.1 kB / 1.344 GB, free: 13.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003627/0.9386, allocations: 274.8 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.02e-05/0.9387, allocations: 46.94 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.9388, allocations: 53.12 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.939, allocations: 185.1 kB / 1.344 GB, free: 13.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.9392, allocations: 205.8 kB / 1.345 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004693/0.9396, allocations: 0.5121 MB / 1.345 GB, free: 13.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.9397, allocations: 0 / 1.345 GB, free: 13.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9397, allocations: 0 / 1.345 GB, free: 13.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.9397, allocations: 0 / 1.345 GB, free: 13.52 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.001766/0.9414, allocations: 0.7744 MB / 1.346 GB, free: 13.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.9415, allocations: 9.625 kB / 1.346 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.912e-05/0.9415, allocations: 3.688 kB / 1.346 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.9415, allocations: 45.59 kB / 1.346 GB, free: 12.97 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/0.9436, allocations: 231.8 kB / 1.346 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.944, allocations: 319.5 kB / 1.346 GB, free: 12.69 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.944, allocations: 18.77 kB / 1.346 GB, free: 12.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.13e-05/0.9441, allocations: 40.56 kB / 1.346 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.9444, allocations: 171.3 kB / 1.347 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.9444, allocations: 0 / 1.347 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.9444, allocations: 5.766 kB / 1.347 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.9444, allocations: 2.781 kB / 1.347 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.9446, allocations: 152.2 kB / 1.347 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003907/0.9485, allocations: 1.306 MB / 1.348 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.9498, allocations: 453.8 kB / 1.348 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.9499, allocations: 109.5 kB / 1.349 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.95, allocations: 1.219 kB / 1.349 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.217e-05/0.95, allocations: 39.81 kB / 1.349 GB, free: 11.8 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.282e-06/0.95, allocations: 3.969 kB / 1.349 GB, free: 11.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0006065/0.9506, allocations: 350.4 kB / 1.349 GB, free: 11.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.9506, allocations: 54.66 kB / 1.349 GB, free: 11.6 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.9508, allocations: 291.9 kB / 1.349 GB, free: 11.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.9509, allocations: 40.95 kB / 1.349 GB, free: 11.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.589e-05/0.9509, allocations: 143.7 kB / 1.349 GB, free: 11.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.139e-05/0.951, allocations: 74.92 kB / 1.35 GB, free: 11.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.9512, allocations: 120 kB / 1.35 GB, free: 11.15 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.297e-05/0.9513, allocations: 342.9 kB / 1.35 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/0.9517, allocations: 270.4 kB / 1.35 GB, free: 10.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.9521, allocations: 321.4 kB / 1.351 GB, free: 10.62 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006186/0.9528, allocations: 435.6 kB / 1.351 GB, free: 10.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9528, allocations: 0 / 1.351 GB, free: 10.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001071/0.9538, allocations: 0.698 MB / 1.352 GB, free: 10.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.9539, allocations: 9.984 kB / 1.352 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.9539, allocations: 0 / 1.352 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.9539, allocations: 2.688 kB / 1.352 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.9546, allocations: 121.7 kB / 1.352 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.9546, allocations: 2.734 kB / 1.352 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.9557, allocations: 71.81 kB / 1.352 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.9557, allocations: 19.09 kB / 1.352 GB, free: 10.13 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.0001251/0.9558, allocations: 161.2 kB / 1.352 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.9559, allocations: 25.98 kB / 1.352 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.919e-05/0.956, allocations: 37.66 kB / 1.352 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.956, allocations: 2.734 kB / 1.352 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.956, allocations: 1.062 kB / 1.352 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.956, allocations: 5.203 kB / 1.352 GB, free: 9.938 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.9564, allocations: 429.8 kB / 1.352 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.9564, allocations: 0.6562 kB / 1.352 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.9566, allocations: 46.8 kB / 1.353 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.9566, allocations: 1.781 kB / 1.353 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.9566, allocations: 8.594 kB / 1.353 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.9566, allocations: 1.906 kB / 1.353 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9566, allocations: 4.656 kB / 1.353 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/0.9572, allocations: 488.6 kB / 1.353 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.9572, allocations: 112.2 kB / 1.353 GB, free: 9.289 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.9573, allocations: 9.203 kB / 1.353 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004898/0.9578, allocations: 9.344 kB / 1.353 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.9578, allocations: 18.23 kB / 1.353 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.9578, allocations: 8.734 kB / 1.353 GB, free: 9.273 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001394/0.958, allocations: 190.6 kB / 1.353 GB, free: 9.164 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.958, allocations: 0 / 1.353 GB, free: 9.164 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005314/0.9585, allocations: 203 kB / 1.354 GB, free: 9.152 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.000687/0.9592, allocations: 1.033 MB / 1.355 GB, free: 8.359 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006889/0.9599, allocations: 430.8 kB / 1.355 GB, free: 8.238 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9599, allocations: 0 / 1.355 GB, free: 8.238 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.96, allocations: 111.1 kB / 1.355 GB, free: 8.207 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.9605, allocations: 60.05 kB / 1.355 GB, free: 8.184 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/0.9653, allocations: 4.333 MB / 1.359 GB, free: 5.707 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.9654, allocations: 0.7753 MB / 1.36 GB, free: 4.996 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002235/0.9657, allocations: 87.36 kB / 1.36 GB, free: 4.988 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.9658, allocations: 89.36 kB / 1.36 GB, free: 4.93 MB / 1.061 GB Notification: Performance of SimCode: time 6.21e-07/0.9658, allocations: 0 / 1.36 GB, free: 4.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5023/1.468, allocations: 8.972 MB / 1.369 GB, free: 4.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.621/10.09, allocations: 15.09 kB / 1.369 GB, free: 4.172 MB / 1.061 GB " [Timeout remaining time 290] (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.599484895996284]