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.001251/0.001251, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001452/0.001452, allocations: 215.1 kB / 23.03 MB, free: 4.422 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.133/3.133, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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="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.00197/0.00197, allocations: 65.89 kB / 1.17 GB, free: 19.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3359, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003602/0.3395, allocations: 1.864 MB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.3407, allocations: 0.6431 MB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.3408, allocations: 7.938 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.3411, allocations: 59.69 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.3414, allocations: 71.52 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.3416, allocations: 79.88 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007376/0.3423, allocations: 0.6979 MB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3425, allocations: 37.28 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.3428, allocations: 239.6 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000422/0.3432, allocations: 279.4 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.597e-05/0.3433, allocations: 44 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.3434, allocations: 56 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.3436, allocations: 183.6 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.3439, allocations: 191.4 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005273/0.3444, allocations: 0.4985 MB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3444, allocations: 0 / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3444, allocations: 0 / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3444, allocations: 0 / 1.35 GB, free: 11.03 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.002015/0.3464, allocations: 0.7074 MB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3465, allocations: 12.03 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.303e-05/0.3465, allocations: 4.375 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.3465, allocations: 50.67 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0023/0.3488, allocations: 236.5 kB / 1.351 GB, free: 9.984 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.3493, allocations: 257.6 kB / 1.351 GB, free: 9.699 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.3493, allocations: 16.23 kB / 1.351 GB, free: 9.684 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.157e-05/0.3494, allocations: 28 kB / 1.351 GB, free: 9.656 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.3497, allocations: 180.5 kB / 1.351 GB, free: 9.477 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3498, allocations: 0 / 1.351 GB, free: 9.477 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.3498, allocations: 8 kB / 1.351 GB, free: 9.469 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3498, allocations: 0 / 1.351 GB, free: 9.469 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.35, allocations: 144.6 kB / 1.352 GB, free: 9.328 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003968/0.354, allocations: 1.035 MB / 1.353 GB, free: 8.25 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.3554, allocations: 457.5 kB / 1.353 GB, free: 7.797 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.3556, allocations: 112.8 kB / 1.353 GB, free: 7.684 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.3556, allocations: 0 / 1.353 GB, free: 7.684 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.3557, allocations: 38.5 kB / 1.353 GB, free: 7.637 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 1.282e-06/0.3557, allocations: 0 / 1.353 GB, free: 7.637 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.000712/0.3564, allocations: 351.2 kB / 1.354 GB, free: 7.289 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3564, allocations: 59.41 kB / 1.354 GB, free: 7.219 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.3567, allocations: 289.7 kB / 1.354 GB, free: 6.926 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.414e-05/0.3568, allocations: 37.7 kB / 1.354 GB, free: 6.883 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.3569, allocations: 137 kB / 1.354 GB, free: 6.746 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.357, allocations: 79.33 kB / 1.354 GB, free: 6.668 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.3572, allocations: 114.2 kB / 1.354 GB, free: 6.551 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.3574, allocations: 342.8 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004683/0.3578, allocations: 272.8 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005318/0.3584, allocations: 375.3 kB / 1.355 GB, free: 5.555 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006986/0.3591, allocations: 453.6 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3591, allocations: 0 / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001173/0.3602, allocations: 0.6886 MB / 1.356 GB, free: 4.414 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3602, allocations: 4 kB / 1.356 GB, free: 4.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3603, allocations: 3.938 kB / 1.356 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3603, allocations: 4 kB / 1.356 GB, free: 4.402 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007879/0.3611, allocations: 131.8 kB / 1.356 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3611, allocations: 0 / 1.356 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.3622, allocations: 75.52 kB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.3622, allocations: 23.98 kB / 1.357 GB, free: 4.176 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.0001793/0.3624, allocations: 161.7 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.3625, allocations: 23.8 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.757e-05/0.3625, allocations: 30.11 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3625, allocations: 0 / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3625, allocations: 0 / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3625, allocations: 4 kB / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/0.3629, allocations: 276.4 kB / 1.357 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3629, allocations: 0 / 1.357 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.3632, allocations: 43.91 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3632, allocations: 4 kB / 1.357 GB, free: 3.594 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.3632, allocations: 11.98 kB / 1.357 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3632, allocations: 0 / 1.357 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3632, allocations: 0 / 1.357 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.3639, allocations: 492.6 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.3639, allocations: 31.8 kB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.364, allocations: 11.98 kB / 1.358 GB, free: 3.043 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/0.3645, allocations: 15.92 kB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.3645, allocations: 7.984 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3645, allocations: 8 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001939/0.3647, allocations: 197.2 kB / 1.358 GB, free: 2.816 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3647, allocations: 0 / 1.358 GB, free: 2.816 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00056/0.3653, allocations: 203.9 kB / 1.358 GB, free: 2.617 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.0009699/0.3663, allocations: 1.022 MB / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007924/0.3671, allocations: 430.6 kB / 1.359 GB, free: 1.152 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3671, allocations: 0 / 1.359 GB, free: 1.152 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.3672, allocations: 117.8 kB / 1.36 GB, free: 1.039 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.3677, allocations: 74.45 kB / 1.36 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006012/0.3737, allocations: 4.326 MB / 1.364 GB, free: 12.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.3739, allocations: 169 kB / 1.364 GB, free: 12.37 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002531/0.3742, allocations: 86.2 kB / 1.364 GB, free: 12.28 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.3744, allocations: 87.39 kB / 1.364 GB, free: 12.2 MB / 1.061 GB Notification: Performance of SimCode: time 7.11e-07/0.3744, allocations: 0 / 1.364 GB, free: 12.2 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.409, allocations: 9.768 MB / 1.374 GB, free: 2.668 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.84, allocations: 13.92 kB / 1.374 GB, free: 2.656 MB / 1.061 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: 18.37894354807213]