Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.0008408/0.0008408, 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.0008117/0.0008117, 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.8663/0.8663, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.72/1.72, allocations: 389 MB / 0.633 GB, free: 12.7 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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.142e-05, allocations: 4.953 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.001834/0.001855, allocations: 1.563 MB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009243/0.00278, allocations: 0.8761 MB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.002839, allocations: 0 / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.003031, allocations: 51.69 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.003376, allocations: 155.1 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 2.259e-05/0.003399, allocations: 7.938 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.003676, allocations: 390.1 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.003718, allocations: 8.938 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.003929, allocations: 199.5 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.004094, allocations: 127.6 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.004115, allocations: 15.94 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.154e-05/0.004137, allocations: 16 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.004189, allocations: 47.78 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/0.004257, allocations: 83.72 kB / 1.003 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.004453, allocations: 279 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.004456, allocations: 4 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004457, allocations: 0 / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.004461, allocations: 0 / 1.003 GB, free: 9.695 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006631/0.005124, allocations: 0.561 MB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.005161, allocations: 8.75 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.7e-05/0.005188, allocations: 34.75 kB / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.005228, allocations: 40.7 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.005556, allocations: 324 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.005565, allocations: 8.375 kB / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.005574, allocations: 384 / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.005686, allocations: 101.6 kB / 1.004 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.005692, allocations: 192 / 1.004 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.005701, allocations: 4.125 kB / 1.004 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.005705, allocations: 0 / 1.004 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.861e-05/0.005773, allocations: 75.86 kB / 1.004 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.006013, allocations: 303.2 kB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.078e-05/0.006094, allocations: 106.4 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.21e-05/0.006146, allocations: 63.39 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.00616, allocations: 0 / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.006179, allocations: 42.5 kB / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 6.92e-07/0.00618, allocations: 0 / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002333/0.006413, allocations: 193.5 kB / 1.005 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.006456, allocations: 132.6 kB / 1.005 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.006828, allocations: 0.5093 MB / 1.006 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.006838, allocations: 33.7 kB / 1.006 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.006911, allocations: 160.1 kB / 1.006 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.006934, allocations: 19.83 kB / 1.006 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.006961, allocations: 13.72 kB / 1.006 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.769e-05/0.007039, allocations: 346.8 kB / 1.006 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.571e-05/0.007074, allocations: 31.97 kB / 1.006 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.333e-05/0.007118, allocations: 59.39 kB / 1.006 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.914e-05/0.007207, allocations: 107.3 kB / 1.006 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.00721, allocations: 4 kB / 1.006 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001388/0.007349, allocations: 145.3 kB / 1.007 GB, free: 6.027 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.007362, allocations: 4 kB / 1.007 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.007368, allocations: 4 kB / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.007379, allocations: 3.938 kB / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-05/0.007454, allocations: 11.98 kB / 1.007 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.007457, allocations: 4.125 kB / 1.007 GB, free: 6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.098e-05/0.007528, allocations: 15.98 kB / 1.007 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.007534, allocations: 0 / 1.007 GB, free: 5.984 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 9.825e-05/0.007632, allocations: 181.7 kB / 1.007 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.007658, allocations: 35.77 kB / 1.007 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.007899, allocations: 183.6 kB / 1.007 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.007903, allocations: 7.922 kB / 1.007 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.007908, allocations: 4 kB / 1.007 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.007911, allocations: 4.125 kB / 1.007 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.008065, allocations: 240.6 kB / 1.007 GB, free: 5.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.008065, allocations: 0 / 1.007 GB, free: 5.281 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.008108, allocations: 12 kB / 1.007 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.008111, allocations: 8.078 kB / 1.007 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.008118, allocations: 0 / 1.007 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.008121, allocations: 11.88 kB / 1.007 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.008123, allocations: 7.922 kB / 1.007 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.008267, allocations: 191.4 kB / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.008349, allocations: 67.69 kB / 1.008 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.008371, allocations: 7.984 kB / 1.008 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.601e-05/0.008437, allocations: 19.92 kB / 1.008 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.008453, allocations: 4 kB / 1.008 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.008458, allocations: 4 kB / 1.008 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002716/0.00873, allocations: 399 kB / 1.008 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.00873, allocations: 0 / 1.008 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001588/0.008888, allocations: 43.94 kB / 1.008 GB, free: 4.5 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (8): * Single equations (assignments): 8 * 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.0002919/0.00918, allocations: 0.7241 MB / 1.009 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.009304, allocations: 87.86 kB / 1.009 GB, free: 3.648 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.009305, allocations: 0 / 1.009 GB, free: 3.648 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-05/0.009344, allocations: 43.91 kB / 1.009 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.009587, allocations: 66.05 kB / 1.009 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.01184, allocations: 3.176 MB / 1.012 GB, free: 248 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.01194, allocations: 215.3 kB / 1.012 GB, free: 8 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.633e-05/0.01203, allocations: 58.25 kB / 1.012 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.489e-05/0.01212, allocations: 80.47 kB / 1.012 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of SimCode: time 5.61e-07/0.01212, allocations: 0 / 1.012 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.0307, allocations: 7.676 MB / 1.02 GB, free: 8.438 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/6.982, allocations: 14.23 kB / 1.02 GB, free: 8.426 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.981408381834626]