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.0007833/0.0007833, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008723/0.0008723, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8671/0.8671, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.739/1.739, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.485e-05, allocations: 4.953 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.00291/0.002935, allocations: 1.869 MB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.003961, allocations: 0.6508 MB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.944e-05/0.00405, allocations: 7.938 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.004314, allocations: 59.58 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.004572, allocations: 71.52 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.00481, allocations: 79.8 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0006497/0.00546, allocations: 0.7056 MB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.005595, allocations: 21.28 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000516/0.006111, allocations: 323.5 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003626/0.006474, allocations: 255.5 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.713e-05/0.006541, allocations: 48 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.799e-05/0.006629, allocations: 51.94 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.006776, allocations: 191.5 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.006901, allocations: 171.7 kB / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.007329, allocations: 0.5533 MB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.007332, allocations: 4 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.693e-06/0.007334, allocations: 0 / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.007341, allocations: 0 / 1.005 GB, free: 8.496 MB / 0.9636 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.001204/0.008545, allocations: 0.6922 MB / 1.005 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.008587, allocations: 8.75 kB / 1.005 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.008628, allocations: 54.67 kB / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.009637, allocations: 232.5 kB / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.01003, allocations: 249.3 kB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.01005, allocations: 20.61 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.0101, allocations: 32.38 kB / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.01035, allocations: 183.3 kB / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.01036, allocations: 0 / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.01038, allocations: 4 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.01038, allocations: 4 kB / 1.006 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.01055, allocations: 148.6 kB / 1.006 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/0.01255, allocations: 1.035 MB / 1.007 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007538/0.0133, allocations: 460.4 kB / 1.008 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.01341, allocations: 105.1 kB / 1.008 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.01343, allocations: 4 kB / 1.008 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.01345, allocations: 46.5 kB / 1.008 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=19): time 1.323e-06/0.01345, allocations: 0 / 1.008 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of matching and sorting (n=19): time 0.0004461/0.0139, allocations: 357.1 kB / 1.008 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.01393, allocations: 55.41 kB / 1.008 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.0141, allocations: 285.8 kB / 1.008 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.01414, allocations: 37.7 kB / 1.008 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.805e-05/0.01421, allocations: 137 kB / 1.009 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.01428, allocations: 83.31 kB / 1.009 GB, free: 4.145 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.01439, allocations: 118.2 kB / 1.009 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.01449, allocations: 334.8 kB / 1.009 GB, free: 3.688 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.01478, allocations: 272.8 kB / 1.009 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.01511, allocations: 371.3 kB / 1.01 GB, free: 3.039 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.01555, allocations: 445.6 kB / 1.01 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.01555, allocations: 4 kB / 1.01 GB, free: 2.602 MB / 0.9636 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007596/0.01631, allocations: 0.6808 MB / 1.011 GB, free: 1.91 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.01633, allocations: 8 kB / 1.011 GB, free: 1.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01633, allocations: 0 / 1.011 GB, free: 1.902 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.01635, allocations: 7.922 kB / 1.011 GB, free: 1.895 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.01669, allocations: 127.8 kB / 1.011 GB, free: 1.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.0167, allocations: 4 kB / 1.011 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/0.01719, allocations: 71.56 kB / 1.011 GB, free: 1.695 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.01722, allocations: 19.98 kB / 1.011 GB, free: 1.676 MB / 0.9636 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.0001187/0.01734, allocations: 161.8 kB / 1.011 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.01737, allocations: 27.81 kB / 1.011 GB, free: 1.48 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.01741, allocations: 22.12 kB / 1.011 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.01741, allocations: 7.938 kB / 1.011 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.01741, allocations: 0 / 1.011 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01742, allocations: 3.984 kB / 1.011 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.01764, allocations: 272.5 kB / 1.011 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01764, allocations: 0 / 1.011 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.01777, allocations: 43.91 kB / 1.011 GB, free: 1.098 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01777, allocations: 0 / 1.011 GB, free: 1.098 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.01778, allocations: 12 kB / 1.012 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.01779, allocations: 7.922 kB / 1.012 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01779, allocations: 4 kB / 1.012 GB, free: 1.074 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.0182, allocations: 489.3 kB / 1.012 GB, free: 0.582 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.01824, allocations: 31.78 kB / 1.012 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.01827, allocations: 11.94 kB / 1.012 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.01848, allocations: 15.98 kB / 1.012 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.01852, allocations: 15.91 kB / 1.012 GB, free: 0.5078 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.01852, allocations: 4 kB / 1.012 GB, free: 0.5039 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001072/0.01863, allocations: 197.2 kB / 1.012 GB, free: 320 kB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01863, allocations: 0 / 1.012 GB, free: 320 kB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003454/0.01898, allocations: 207.9 kB / 1.012 GB, free: 112 kB / 0.9636 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.0005851/0.01956, allocations: 1.019 MB / 1.013 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004857/0.02005, allocations: 426.7 kB / 1.014 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.02005, allocations: 0 / 1.014 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.02015, allocations: 119.9 kB / 1.014 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.02047, allocations: 52.41 kB / 1.014 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/0.02405, allocations: 4.198 MB / 1.018 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.02416, allocations: 157.2 kB / 1.018 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.02432, allocations: 94.2 kB / 1.018 GB, free: 9.93 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.02446, allocations: 84.45 kB / 1.018 GB, free: 9.848 MB / 0.9792 GB Notification: Performance of SimCode: time 7.72e-07/0.02446, allocations: 0 / 1.018 GB, free: 9.848 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.04666, allocations: 10.34 MB / 1.029 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.667/6.714, allocations: 9.984 kB / 1.029 GB, free: 15.72 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.727172595448792]